Mean of a Discrete Random Variable
Enter a discrete probability distribution and compute the mean (expected value) using the method: multiply each value by its probability, then sum the products.
Distribution input
| Value of x | Probability P(x) | Row |
|---|
1) Validity check + mean (expected value)
| x | P(x) | x · P(x) | Notes |
|---|---|---|---|
| The mean is the sum of the x · P(x) column: μ = Σ[x · P(x)]. | |||
2) Visualizations
Bar graph of P(x) with the mean marked
Each bar height equals P(x). The vertical line shows μ (expected value).
Contribution bars for x · P(x)
The sum of these contributions equals μ.