Skip to main content

Geometric Distribution

A learning component for calculating probabilities of a geometric distribution.

Options

  • countTrials | boolean: set to true if instead of counting the number of failures until the first success, a random variable from a geometric distribution should be defined as the number of trials until the first 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

Geometric Distribution

Let be the number of failures until the first success.

For success probability ofwe get
Evaluated at we get

Probability Plot

0.100.200.300.400.50PMF2468
0.20.40.60.81.0CDF0246810

0.011

-110
0.100.200.300.400.50PMF246810
0.20.40.60.81.0CDF246810

0.011

-110
0.100.200.300.400.50PMF246810
0.20.40.60.81.0CDF246810

0.011

-110

-110
0.100.200.300.400.50PMF246810
0.20.40.60.81.0CDF246810