Professional Documents
Culture Documents
Lecture 10
Lecture 10
HMM HHM
The mean µ of X is
µX = (0*1/8) + (1*3/8) + (2*3/8) + (3*1/8)
= 12/8 = 3/2 = 1.5
Law of large numbers
• The distribution of a random variable
describes the variation in the
population. Each time we take a
sample, we are drawing from the
distribution of the random variable
• As we take more and more draws (and
the sample size increases), the mean of
the sample gets closer and closer to the
population mean µ.
The variance σ2 of X is
σ2 = 1/8*(0 − 1.5)2 + 3/8*(1 − 1.5)2 + 3/8*(2 − 1.5)2 + 1/8*(3 − 1.5)2
= 2*(1/8*9/4) + 2*(3/8*1/4) = 24/32 = 3/4 = 0.75
The standard deviation is √0.75 = 0.866
Rules for variances
Rule 1: If X is a random variable and a and b are constants, then
σ2a+bX = b2σ2X
X = heads
X = 0: TT = 1/4 x
X = 1: HT, TH = 2/4
X = 2: HH = 1/4
x