Statistics Toolbox
  Go to function:
    Search    Help Desk 
nbinpdf    Examples   See Also

Negative binomial probability density function.

Syntax

Description

nbinpdf(X,R,P) returns the negative binomial probability density function with parameters R and P at the values in X.

Note that the density function is zero unless X is an integer.

The size of Y is the common size of the input arguments. A scalar input functions as a constant matrix of the same size as the other inputs.

The negative binomial pdf is:


The negative binomial models consecutive trials each having a constant probability, P, of success. The parameter, R, is the number of successes required before stopping.

Example

See Also



[ Previous | Help Desk | Next ]