You are here: Project Scarlet » Probability and Distributions » Categorical Discrete Distribution » Expected Value
Categorical Distributions
You are given a discrete distribution with sample space S = {0, 1, 2, 3, 4}. The probability mass function for the distribution of X is:
xi | 0 | 1 | 2 | 3 | 4 |
P[X = xi] | 0.29 | 0.17 | 0.24 | 0.19 | 0.11 |
For those who like pictures, here is a graphic of the probability mass function of the random variable:
With this information, calculate the distribution mean, μ or E[X].
In the box below, please enter the mean of the distribution given above, then click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.
Show Formula
Show Solution
Show the R Code
Show the Excel Code
© Ole J. Forsberg, Ph.D. 2025. All rights reserved. | . | |