What makes a valid probability distribution
A table of values and probabilities is a valid discrete probability distribution when both of these are true:
- Every probability is between 0 and 1.
- The probabilities add up to exactly 1.
The calculator flags a table that breaks either rule. Values of X can be any numbers, including negatives and decimals.
Probability distribution table example
The number of heads X in three fair coin flips:
| x | P(X = x) | x · P(x) |
|---|---|---|
| 0 | 1/8 = 0.125 | 0 |
| 1 | 3/8 = 0.375 | 0.375 |
| 2 | 3/8 = 0.375 | 0.75 |
| 3 | 1/8 = 0.125 | 0.375 |
Mean μ = 0 + 0.375 + 0.75 + 0.375 = 1.5 heads. Variance σ² = Σ (x − 1.5)² · P(x) = 0.75, so the standard deviation is √0.75 ≈ 0.866. This particular distribution is binomial, and the binomial probability calculator gives the same numbers without typing the table.
Formulas
- Mean (expected value): μ = Σ x · P(x)
- Variance: σ² = Σ (x − μ)² · P(x), or Σ x² · P(x) − μ²
- Standard deviation: σ = √σ²
- Cumulative probability: P(X ≤ x) = sum of P for every value up to x
Common discrete distributions
Many probability models have a name and a formula, so you don't have to list every value. Counting successes in a fixed number of tries is binomial; counting events in a fixed time or space is Poisson; the total of several dice is on the dice probability calculator. When the outcomes carry money values, the expected value calculator does the same math with gains and losses.