Skip to main content

Negative Binomial Distribution

A learning component for calculating probabilities of a negative binomial distribution.

Options

  • countTrials | boolean: set to true if instead of counting the number of failures until the r-th success, a random variable from a negative binomial distribution should be defined as the number of trials until the r-th success. Default: false.
  • step | (number|string): step size of the scroll input. Default: 0.01.
  • style | object: CSS inline styles. Default: {}.

Examples

Live Editor
Result

Negative Binomial Distribution

For number of successes until experiment is stopped and a success probability ofwe get
Evaluated at we get

The random variable X denotes the number of failures until the r-th success is reached.

Probability Plot

0.020.040.060.08PMF510152025
0.20.40.60.81.0CDF051015202530

029

Probability Plot

0.020.040.060.08PMF510152025
0.20.40.60.81.0CDF51015202530

029

Probability Plot

0.020.040.060.08PMF510152025
0.20.40.60.81.0CDF510152025

029

029

Probability Plot

0.020.040.060.08PMF510152025
0.20.40.60.81.0CDF510152025