Lecture 6: Sampling Distributions: Hengki Purwoto (Econ UGM) Statistics 2: Lecture 6 March 18, 2021 1
Lecture 6: Sampling Distributions: Hengki Purwoto (Econ UGM) Statistics 2: Lecture 6 March 18, 2021 1
1. Introduction
3. Chi-Square Distribution
4. Student t−distribution
5. F −distribution
Sample
Definition
A sample is a set of observable random variables X1, . . . , Xn. The
number n is called the sample size.
Random Sample
Definition
A random sample of size n from a population is a set of n independent
and identically distributed (iid) observable random variables X1, . . . , Xn.
Statistic
Definition
A function T of observable random variables X1, . . . , Xn that
does not depend on any unknown parameters is called a statistic.
Definition
The probability distribution of a sample statistic is called the
sampling distribution.
is age of individuals
• Values of X:
18, 20, 22, 24 (years)
P(x)
.25
0
18 20 22 24 x
A B C D
Uniform Distribution
Chebyshev’s inequality
Sample Mean
1 n
X = Xi
n i=1
σ
σX =
n
• Note that the standard error of the mean decreases as the
sample size increases
.2 .2
.1 .1
0
18 20 22 24 X
0
18 19 20 21 22 23 24
_
X
A B C D
P(x)
μ=
X i
N
.25
18 + 20 + 22 + 24
= = 21
4
0
18 20 22 24 x
A B C D
σ=
(X − μ)
i
2
= 2.236
Uniform Distribution N
E(X) =
X i
=
18 + 19 + 21+ + 24
= 21 = μ
N 16
σX =
( X − μ)
i
2
N
(18 - 21)2 + (19 - 21)2 + + (24 - 21)2
= = 1.58
16
σ2 N − n or σ N−n
Var(X) = σX =
n N −1 n N −1
μX = μ and σ
σX =
n
σ N−n
μX = μ and σX =
n N −1
X −μ X −μ
Z= =
σX σ
n
Normal Population
E[X] = μ Distribution
μ x
(i.e. x is unbiased )
Normal Sampling
Distribution
Normal Population
σ Distribution
σx =
n
μ x
(i.e. x is unbiased )
Normal Sampling
Distribution
Smaller sample
size
μ x
Hengki Purwoto (Econ UGM) Statistics 2 : Lecture 6 March 18, 2021 28
2. Sampling distributions with normal population
Introduction
Sample Variance
• Let x1, x2, . . . , xn be a random sample from a population.
The sample variance is
1 n
s2 = (xi − x)2
n − 1 i=1
E[s 2 ] = σ 2
2σ 4
Var(s2 ) =
n −1
(n - 1)s2
χn2−1 =
σ2
0 4 8 12 16 20 24 28 2 0 4 8 12 16 20 24 28 2 0 4 8 12 16 20 24 28 2
Chi-square Example
probability
α = .05
2
213 = 22.36
Hengki Purwoto (Econ UGM) Statistics 2 : Lecture 6 March 18, 2021 40
3. Sampling distributions: Chi Square
Chi-square Example
(continued)
2 13
= 22.36 (α = .05 and 14 – 1 = 13 d.f.)
(n − 1)s2 2
So: P(s2 K) = P χ13 = 0.05
16
(n − 1)K
or = 22.36 (where n = 14)
16
(22.36)(16)
so K= = 27.52
(14 − 1)
Student’s t Distribution
Student’s t Distribution
Standard
Normal
(t with df = ∞)
0 t
Hengki Purwoto (Econ UGM) Statistics 2 : Lecture 6 March 18, 2021 46
4. Sampling distributions: Student t
Student’s t Table
t distribution values
With comparison to the Z value
Confidence t t t Z
Level (10 d.f.) (20 d.f.) (30 d.f.) ____
Note: t Z as n increases
Test Statistic
s2x
F= 2
F test statistic sy
NYSE NASDAQ
Number 21 25
Mean 3.27 2.53
Std dev 1.30 1.16
Degrees of Freedom:
◼ Numerator Fn x −1, n y −1, α / 2
(NYSE has the larger
standard deviation):
◼ nx – 1 = 21 – 1 = 20 d.f.
= F20 , 24 , 0.10/2 = 2.03
◼ Denominator:
◼ ny – 1 = 25 – 1 = 24 d.f.
Hengki Purwoto (Econ UGM) Statistics 2 : Lecture 6 March 18, 2021 57
5. Sampling distributions: F
F Test: Example Solution
(continued)