Mean and Variance of Some Common Random Variables
the mean and the variance of a few important random variables
Bernoulli
The mean, second moment, and variance of X are given by the following calculations:
$$E[X] = 1 \cdot p + 0 \cdot (1 - p) = p,$$
$$E[X2] = 1^2 \cdot P + 0 \cdot (1 - p) = p,$$
$$var(X) = E[X^2] - (E[X])^2 = p - p^2 = p(1 - p).$$
Discrete Uniform Random Variable
= discrete uniformly distributed random variable
takes one out of a range of contiguous integer values, with equal probability.
Its PMF is
where a and b are two integers with a < b.
The mean is
To calculate the variance of X, we first consider the simpler case where a = 1 and b = n.
$$\begin{align*}
var(X) &= E[(X - E[X])^2]\\
&= \frac{1}{6}(n+1)(2n+1) - (\frac{n+1}{2})^2\\
&= \frac{1}{12}(n+1)(4n+2-3n-3)\\
&= \frac{n^2 - 1}{12}
\end{align*}$$
A random variable which is uniformly distributed over the interval [a, b] has the same variance as one which is uniformly distributed over [1, b - a + 1], since the PMF of the second is just a shifted version of the PMF of the first.
The above formula with n = b - a + 1,
The Mean of the Poisson
Poisson PMF
can be calculated is follows:
The last equality is obtained by noting that
is the normalization property for the Poisson PMF.
Note: the variance of a Poisson random variable is also \(\lambda\)
Decision Making Using Expected Values
Expected values often provide a convenient vehicle for optimizing the choice between several candidate decisions that result in random rewards.
If we view the expected reward of a decision as its "average payoff over a large number of trials," it is reasonable to choose a decision with maximum expected reward.
References
Bertsekas, D. P., Tsitsiklis, J. N. (2008). Introduction to Probability Second Edition. Athena Scientific.
'Math > Probabilistic' 카테고리의 다른 글
2.6 Conditioning (1) (0) | 2024.03.13 |
---|---|
2.5 Joint PMFs of Multiple Random Variables (0) | 2023.09.19 |
2.4 Expectation, Mean, and Variance (0) | 2023.09.18 |
2.3 Functions of Random Variables (0) | 2023.09.18 |
2.2. Probability Mass Functions (PMF) (0) | 2023.09.12 |