PROBBNML Function

Returns the probability from a binomial distribution.

Categories:Probability
CAS
See:CDF Function , PDF Function

Syntax

PROBBNML(p, n, m)

Required Arguments

p

is a numeric constant, variable, or expression that specifies a probability of success.

Range0 ≤ p ≤ 1

n

is a numeric constant, variable, or expression that specifies an integer number of independent Bernoulli trials.

Rangen > 0

m

is a numeric constant, variable, or expression that specifies an integer number of successes.

Range0 ≤ m ≤ n

Details

The PROBBNML function returns the probability that an observation from a binomial distribution, with probability of success p and number of trials n, produces m or fewer successes. To compute the probability of exactly m successes, compute the difference of two probabilities from the binomial distribution for m and m−1 successes.

Example

The following SAS statement produces this result:
SAS Statement
Result
x=probbnml(0.5, 10, 4);
0.376953125
Last updated: March 16, 2017