asa152
asa152,
a MATLAB code which
computes the cumulative probabilities associated
with the hypergeometric probability distribution,
by Richard Lund.
This is a version of Applied Statistics Algorithm 152.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Languages:
asa152 is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version
Related Data and Programs:
asa152_test
prob,
a MATLAB code which
evaluates and inverts a number of probabilistic distributions.
test_values,
a MATLAB code which
contains sample values for a number of distributions.
Author:
Original FORTRAN77 version by Richard Lund;
Matlab version by John Burkardt.
Reference:
-
PR Freeman,
Algorithm AS 59:
Hypergeometric Probabilities,
Applied Statistics,
Volume 22, Number 1, 1973, pages 130-133.
-
Richard Lund,
Algorithm AS 152:
Cumulative hypergeometric probabilities,
Applied Statistics,
Volume 29, Number 2, 1980, pages 221-223.
-
BL Shea,
Remark AS R77:
A Remark on Algorithm AS 152: Cumulative hypergeometric probabilities,
Applied Statistics,
Volume 38, Number 1, 1989, pages 199-204.
Source Code:
-
alnorm.m
computes the cumulative density of the standard normal distribution.
-
chyper.m
computes point or cumulative hypergeometric probabilities.
Last revised on 29 June 2022.