Hypergeometric Probability Density Function (HPDF) - enhanced version

Returns hyper. probability that X = x in sample n. It can now return a cumulative hpdf vector.
201 Downloads
Updated 2 Jan 2012

View License

myhygepdf2 - this second rendition of HPDF can now return a cumulative hpdf vector.

EX4: [a,b]=myhygepdf2(1,40,5,36,'atleast')
a = 1
b = 0.0001 0.0039 0.0690 0.4271 1.0000

This may enhance the usefulness of the function as you can avoid repeated calls to the function when cumulative probabilities are important to the user.
The zipfile includes an updated 'binomind' function. This has also been uploaded separately.

Cite As

Bruce Raine (2024). Hypergeometric Probability Density Function (HPDF) - enhanced version (https://www.mathworks.com/matlabcentral/fileexchange/34424-hypergeometric-probability-density-function-hpdf-enhanced-version), 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