PROBBNML Function


PROBBNML Function

Returns the probability from a binomial distribution

Category: Probability

See: 'CDF Function' on page 418, 'PDF Function' on page 695

Syntax

PROBBNML ( p , n , m )

Arguments

p

  • is a numeric probability of success parameter.

  • RANGE: p 1

n

  • is an integer number of independent Bernoulli trials parameter.

  • RANGE: n > 0

m

  • is an integer number of successes random variable.

  • RANGE: m n

Details

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.

Examples

SAS Statements

Results

x=probbnml(0.5,10,4);

0.376953125




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net