Lecture 4 Mean Variance of Discrete Random Variables.
Lecture 4 Mean Variance of Discrete Random Variables.
&
PROBABILITY
Prepared by:
VIRGINIA CAJANO, LPT
Mathematics & Statistics Teacher
µ = 𝑬 𝑿 = 𝑿𝒊 ∙ 𝑷 𝑿𝒊 = 𝑿 𝟏 ∙ 𝑷 𝑿 𝟏 + 𝑿 𝟐 ∙ 𝑷 𝑿𝟐 + . . . + 𝑿 𝟏 ∙ 𝑷 𝑿𝒏
𝒊=𝟏
= σ 𝑿𝒊 𝑷𝒊
Mean and Variance of a Discrete Random Variable
Note, that the empirical probabilities lean towards
theoretical probabilities and, in consequence, the mean is
also a long-run average, or the expected average outcome
over many observations.
That is, as the number of trials of a statistical
experiment increases, the empirical average also gets closer
and closer to the value of the theoretical average. Mean is
the value that we expect the long-run average to approach
and it is not the value of the random variable X that we
expect to observe.
Mean is the value that we expect the long-run average
to approach and it is not the value of the random variable X
that we expect to observe.
Mean and Variance of a Discrete Random Variable
The variance of a discrete random variable X
measures the spread, or variability, of the
distribution.
𝟐 𝟐
𝝈 = 𝑽𝒂𝒓 𝑿 = (𝑿𝒊 − 𝝁) 𝑷𝒊
The variance gives a measure of how far
the values of X are from the mean. Note,
that in nontrivial cases (i.e. when there is
more than one possible distinct value of X),
the variance will be a positive value. The
bigger the value of the variance, the farther
the values of X get from the mean.
The standard deviation is defined as the square
root of the variance of X. That is,
Examples:
GROCERY ITEMS
The probabilities that a customer will buy 1,2,3,4,
𝟑 𝟏 𝟏 𝟐 𝟑
and 5 items in a grocery store are , , , 𝑎𝑛𝑑
𝟏𝟎 𝟏𝟎 𝟏𝟎 𝟏𝟎 𝟏𝟎
respectively. What is the average number of items that a
customer will buy?
𝒏
Solution: µ = 𝑬 𝑿 = 𝑿𝒊 ∙ 𝑷 𝑿𝒊 = 𝑿𝟏 ∙ 𝑷 𝑿𝟏 + 𝑿𝟐 ∙ 𝑷 𝑿𝟐 + . . . + 𝑿𝟏 ∙ 𝑷 𝑿𝒏
𝒊=𝟏
µ = 𝑬 𝑿 = 𝑿𝒊 ∙ 𝑷 𝑿𝒊 = 𝑿𝟏 ∙ 𝑷 𝑿𝟏 + 𝑿𝟐 ∙ 𝑷 𝑿𝟐 + . . . + 𝑿𝟏 ∙ 𝑷 𝑿𝒏
𝒊=𝟏
Now solving for variance;
𝝈𝟐 = 𝑽𝒂𝒓 𝑿 = (𝑿𝒊 − 𝝁)𝟐 𝑷𝒊