Hypergeometric probability density (HPDF) function

Can return the individual and cumulative HPDF. Does not need the Statistics Toolbox.
204 Downloads
Updated 30 Dec 2011

View License

The Hypergeometric distribution provides a model for acceptance sampling, capture-recapture estimation of animal numbers and sampling for company account auditing. The HPDF function can therefore help you solve probability problems in these areas and many others.

hpdf = myhygepdf(x,N,m,n,Xtype)
hypergeometric probability that X = x in sample n.
Can also return the cumulative hpdf for P(X<=x) and P(X>=x).

In MATLAB please type 'help myhygepdf' for more information.

Cite As

Bruce Raine (2024). Hypergeometric probability density (HPDF) function (https://www.mathworks.com/matlabcentral/fileexchange/34396-hypergeometric-probability-density-hpdf-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0