asa310, an Octave code which computes the cumulative distribution function (CDF) of the noncentral Beta distribution, by Chattamvelli and Shanmugam.
This is a version of Applied Statistics Algorithm 310.
Note: I could not get this algorithm to perform properly until I had made a number of modifications.
Note that the printed text of the algorithm, and the online version distributed by APSTAT, omit a crucial initialization of the variable S to zero.
Moreover, there are two typographical errors introduced into the online version distributed by APSTAT; in both cases a multiplication symbol became a minus sign.
Finally, note that the authors of AS 310 invoke AS 226, but specifically recommend that the changes submitted by Frick NOT be included. The version of AS 226 distributed by APSTAT includes the Frick changes; the version of AS310 distributed by APSTAT includes this copy of AS 226, and hence the changes suggested by Frick.
The computer code and data files described and made available on this web page are distributed under the MIT license
asa310 is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.
asa063, an Octave code which evaluates the incomplete Beta function.
asa109, an Octave code which inverts the incomplete Beta function.
asa226, an Octave code which computes the CDF of the noncentral Beta distribution.
beta_nc, an Octave code which evaluates the CDF of the noncentral Beta distribution.
prob, an Octave code which evaluates and inverts a number of probabilistic distributions.
test_values, an Octave code which contains sample values for a number of distributions.
toms179, an Octave code which evaluates the incomplete Beta function.
Original FORTRAN77 version by R Chattamvelli, R Shanmugam; This version by John Burkardt.