The lower tail probability for the noncentral beta distribution with parameters
and
and noncentrality parameter
,
, is defined by
where
which is the central beta probability function or incomplete beta function.
Recurrence relationships given in
Abramowitz and Stegun (1972) are used to compute the values of
for each step of the summation
(1).
The algorithm is discussed in
Lenth (1987).
Convergence is theoretically guaranteed whenever
where
has a Poisson distribution with mean
. Excessive round-off errors are possible when the number of iterations used is high and
tol is close to
machine precision. See
Lenth (1987) for further comments on the error bound.
Background information to multithreading can be found in the
Multithreading documentation.
This example reads values for several beta distributions and calculates and prints the lower tail probabilities until the end of data is reached.