Mean of a discrete random variable

134 Views Asked by At

How can we calculate the mean of a discrete random variable like for the continuous case where we integrate $xf(x)$?

1

There are 1 best solutions below

0
On BEST ANSWER

You have to weigh each possible outcome with the probability of that outcome and then sum, i.e. $$\sum_{i=1}^Np_ix_i$$ is the expected value of a random variable $X$ that has $N$ possible outcomes in the form of the set $\{x_i\}$. $p_i$ is the probability that $x_i$ happens. As you can see, it is very similar to the continuous case.