Professional Documents
Culture Documents
i=1
i=1
2
1 X
Xi X
S =
21
2
i=1
(X1 X2 )2
.
=
2
X1 , X2 are N(, 2 ) distributed.
Subsequently X1 X2 is normally distributed (as linear
combination of normally distributed variables), with expected value
E (X1 ) E (X2 ) = 0 and variance V (X1 ) + V (X2 ) = 2 2 (X1 and
X2 are independent, so cov (X1 , X2 ) = 0)
X
1 X2
is standard
2
I Z 2 is 2 (1) distributed
I
Z=
From Z 2 =
(21)S 2
2
normally distributed
.
follows that
(21)S 2
2
is 2 (1) distributed.
I
I
I
2
1 Pn
2
2
i=1 (Xi ) (n)
2
(X )2
2
n
(X )2
2
n
2 (1)
Then
(n1)S 2
2
I
I
(n1)S 2
2
(X )2
2
n
(X )2
and
(X )2
2
n
2
n
1
2
Pn
i=1 (Xi
2 (1)
This gives
(n1)S 2
2
2 (n 1)
)2 2 (n)
E (S 2 ) = 2 .
Proof:
I
2
(n 1)S 2
2
E(
(n 1) = 2
)
=
2
n1
n1
The variance of S 2
2 4
Var (S ) =
n1
Interpretation: The larger the value of n, the more the
distribution of S 2 concentrates around 2 (the variance of S 2
approaches 0).
Proof:
2
2 4
=
2(n 1) =
n1
n1
2
The t-distribution
I
I
I
Z = (X )/(/ n) N(0, 1)
Which distribution can we use when is not known and is
estimated by S? In other words, what is the distribution of
the following random variable ?
X
S/ n
Observe that
X
(X )/(/ n)
=
S/
S/ n
Z=
Hence,
S/ n
(X )/(/ n)
S/
qZ
V
n1
The t-distribution
The t-distribution
V = (n 1)S 2 / 2 is 2 (n 1) distributed;
Thus,
X
Z
=p
S/ n
V /
The t -distribution
What is he pdf and cdf of a t distribution?
p
I Let T = Z / V /.
I
p
P(T t) = P(Z / V / t)
Z +
p
=
P(Z / V / t|V = a)fV (a)da
0
Z +
p
=
P(Z t a/|V = v )fV (a)da
0
Because Z and
V are independent,
p
R +
P(T t) = 0 P(Z t a/)fV (a)da
The t-distribution
I
By differentiating
R + p over tpit follows (using the chain rule) that:
fT (t) = 0
a/(t a/)fV (a)da
fT (t) =
0
a 1 t 2 a/2
e
1
a/21 e a/2 da
/2
2 (/2)
Z
2
=C
a(+1)/21 e (1+t / )a/2 da
with C =
1
1
2(+1)/2 (/2)
=C (
For > 1, E (T ) = 0
2 .
(+1)/2
t2
1+
The F -distribution
I
Compare 12 and 22 .
We can use
n
1
2
1 X
=
X1i X1 ,
n1 1
i=1
n
2
2
1 X
=
X2i X2
n2 1
i=1
The F distribution
I
The distribution of
V1 /1
V2 /2
The F distribution
This gives:
V1 =
V2 =
(n1 1)S12
2 1
(n2 1)S22
2 2
V1 /(n1 1)
S 2 1 / 2 1
=
F = 2
2
S 2 / 2
V2 /(n2 1)
is F (n1 1, n2 1) .
If X F (1 , 2 ), then Y = X1 F (2 , 1 ).
Thus P(Y y ) = P( X1 y ) = P(X y1 ) = 1 P(X y1 ).
Exercise 8.15
(e)
(p)
n(X )
SZ P
(k1) ni=1 (Xi X )2
P
(n1) 2 ki=1 (Zi Z )2
(h)
I
Xi N(, 2 ), so
(k1)S 2
Z
Zi N(0, 1),i = 1, ..., k so
2 (k 1) (see Lecture
12
11 or Theorem 8.3.6 (c) in the textbook)
Because Xi and Z are mutually independent, X and SZ2 are
also mutually independent.
According to the definitions of the t distribution, it follows
that
(X )/(/ n)
q
t(k 1).
2
(k 1)SZ /(k 1)
(p)
(n1)SX2
(n 1)
2
(k1)SZ2
I
(k 1)
12
I Because Xi , i = 1, ..., n
I
Exercise 2
2. Let V be a 2 (k) distributed random variable. Give an
approximation for the probability P(V /k u) for k large.
I
Exercise 3
Exercise 4
The Rayleigh distribution with parameter 1 has the probability
density function given by
(
2
xe x /2 for x > 0
f (x) =
0
otherwise
(a) Show that if X is Rayleigh distributed with parameter 1, the
moment generating function of Y = X 2 is given by
MY (t) = (1 2t)1 for t < 21 .
(b) Use the moment generating function to derive E (Y ) and
Var (Y ).
P
(c) Define S = ni=1 Xi2 . Show that for large n, the distribution of
the variable
S
U = n( 1)
2n
can be approximated by a standard normal distribution.
Solution. (a)
tX 2
MY (t) = E [e ] =
e tx xe x
0
Z
1
e tw e w /2 dw
=
2 0
= (1 2t)1
2 /2
dx
for t < 12 .
(b) Calculate E (Y ) = MY0 (0) = 2 and E (Y 2 ) = MY00 (0) = 8. The
variance of Y is thus equal to 4.
(c) From the Central limit theorem (variant with the sample mean),
the standard normal distribution is the limit distribution of
It follows that, for large n,
n(
S
1)
2n
S
2
n
2
n