nag_binomial_dist (g01bjc) returns the lower tail, upper tail and point probabilities associated with a binomial distribution.
Let
denote a random variable having a binomial distribution with parameters
and
(
and
). Then
The mean of the distribution is
and the variance is
.
nag_binomial_dist (g01bjc) computes for given
,
and
the probabilities:
The method is similar to the method for the Poisson distribution described in
Knüsel (1986).
nag_binomial_dist (g01bjc) is not threaded in any implementation.