NegBinomial or Negative Binomial distribution

by admin

The NegBinomial distribution is discrete distribution, defined in the domain of positive integers. It is similar to the binomial distribution except that the n parameter refers to non-total and incomplete events. In other words, a random variable with NegBinomial distribution of parameters n and p represents the number of successes whose probability is p, which are achieved in a sequence of n failed trials. The parameters by means of which this distribution is defined have the same form as those that represent the Binomial distribution, although, as we said, the parameter n represents a different quality.

Input parameters:

  • n. Number of failures until the trial stops, for which it is wanted to find the number of successful trials. This parameter must be an integer greater than zero, although the software will accept positive reals (those will be truncated).
  • p. Probability that the trial will be successful. Take real values between 0 and 1.

More help