Functions and CALL Routines |
Returns the probability from a binomial distribution.
-
p
-
is a numeric probability of success parameter.
RANGE: |
0 p
1 |
-
n
-
is an integer number of independent Bernoulli
trials parameter.
-
m
-
is an integer number of successes random
variable.
RANGE: |
0 m n |
The PROBBNML function returns the probability
that an observation from a binomial distribution, with probability of success p, number of trials n, and number of successes m, is less than or equal to
m. To compute the probability
that an observation is equal to a given value m, compute the
difference of two probabilities from the binomial distribution for m and m-1 successes.
SAS Statements |
Results |
x=probbnml(0.5,10,4);
|
0.376953125
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.