Hypergeometric Distribution Calculator

Geometric distribution calculator

–

Mean
–
Variance
–
Std. dev.
–
Median
–

Trial by trial

PMF and CDF graph

In selected regionP(X = x)P(X ≤ x)

Bars use the left scale; the cumulative line rises to 1. Click a bar to set k.

How geometric distribution calculator works?

The geometric distribution calculator takes the success probability p and a trial number k, then returns the probability that the first success lands on trial k, the cumulative tails, and the mean, variance, standard deviation and median.

  1. Enter pSuccess probability per trial, from 0 to 1, for example 1/6 for rolling a six.
  2. Enter kThe trial number, for example trial 3.
  3. Pick the conventionX counts trials (1, 2, 3, …) or failures before the first success (0, 1, 2, …).
  4. Pick the tailX = k, X ≤ k, X < k, X ≥ k or X > k.
  5. Read the resultsProbability, odds, statistics, trial-by-trial strip and PMF/CDF graph.
How the geometric distribution calculator works

Geometric distribution formula

The geometric distribution formula is P(X = k) = (1 − p)k − 1 · p, where X is the trial of the first success.

P(X = k)=(1 − p)^(k − 1)×p
P(X ≤ k) = 1 − (1 − p)^k
P(X ≥ k) = (1 − p)^(k − 1)
  • (1 − p)^(k − 1)Probability of k − 1 failures in a row
  • pProbability of success on trial k

Geometric distribution calculator FAQ

How do you calculate a geometric distribution probability?

Multiply the failure probability (1 − p) by itself k − 1 times, then multiply by p. The chance that the first six on a die arrives on roll 3 is (5/6)² × (1/6) = 0.115741, about 1 in 8.6.

How do you do geometric distribution on a TI-84?

Press 2nd → VARS (DISTR) and pick geometpdf( for P(X = k) or geometcdf( for P(X ≤ k). geometpdf(1/6, 3) returns .1157407407, and geometcdf(1/6, 6) returns .6651020233. For P(X ≥ k), enter 1 − geometcdf(p, k − 1).

What is the mean of a geometric distribution?

The mean is 1/p trials, or (1 − p)/p failures before the first success. With p = 1/6, a die needs 6 rolls on average to show the first six, and the variance is (1 − p)/p² = 30.

What is the difference between geometric and hypergeometric distribution?

The geometric distribution counts trials until the first success with a fixed p, and the hypergeometric distribution counts successes in a fixed number of draws without replacement. Geometric trials are independent Bernoulli trials; hypergeometric draws change the population after every draw.