Categorical Distributions

The Expected Value

The Problem

You are given a discrete distribution with sample space S = {0, 1, 2, 3}. The probability mass function for the distribution of X is:

The probability mass function of X
xi0123
P[X = xi]0.060.380.230.33

For those who like pictures, here is a graphic of the probability mass function of the random variable:

0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0 1 2 3

With this information, calculate the distribution mean, μ or E[X].

Your Answer

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.

Assistance

Show Formula

Show Solution

Show the R Code

Show the Excel Code

© Ole J. Forsberg, Ph.D. 2024. All rights reserved.   .