Learn R Programming

hypersampleplan (version 0.1.1)

Attribute Sampling Plan with Exact Hypergeometric Probabilities using Chebyshev Polynomials

Description

Implements an algorithm for efficient and exact calculation of hypergeometric and binomial probabilities using Chebyshev polynomials, while other algorithm use an approximation when N is large. A useful applications is also considered in this package for the construction of attribute sampling plans which is an important field of statistical quality control. The quantile, and the confidence limit for the attribute sampling plan are also implemented in this package. The hypergeometric distribution can be represented in terms of Chebyshev polynomials. This representation is particularly useful in the calculation of exact values of hypergeometric variables.

Copy Link

Version

Install

install.packages('hypersampleplan')

Monthly Downloads

23

Version

0.1.1

License

GPL-2

Maintainer

XU Hang

Last Published

June 2nd, 2017

Functions in hypersampleplan (0.1.1)

hypersampleplan.CL

Compute upper and lower confidence limits for the number of defective in an attribute sampling plan
hypersampleplan

Attribute sampling plans with Hypergeometric Probabilities using Chebyshev Polynomials
hypergeoquantile

Calculation Hypergeometric Quantiles Table using Chebyshev Polynomials
hypergeotable

Calculation exact Hypergeometric Probabilities Table using Chebyshev Polynomials
hypersampleplan.fixedn

Attribute sampling plans when the sample size n is known and fixed
binomialquantile

Calculation Binomial Quantiles Table using Chebyshev Polynomials
binomialtable

Calculation exact Binomial Probabilities Table using Chebyshev Polynomials