Chapter 4. Sampling Distributions
Chapter 4. Sampling Distributions
Chapter 4. Sampling Distributions
SAMPLING DISTRIBUTIONS
In this chapter, you learn:
Population
Sample
Statistical Inference
Sampling distribution
Population and Sample
a population is the entire set of observations under
study, whereas a sample is a subset of a population.
In a population, the number of observations is labeled N
a sample, the number of observations is the sample
size, denoted by n
13
The sampling distribution
n i 1 ?
1 n n
S
2
n 1 i 1
( X i X ) S MS
2 2
n 1
1 n 1 N
S ( X i m) 2
*2
m x
n i 1 N i 1
i
1 k 1 k
ms ni ( xi x ) 2 ni xi2 x 2
n i 1 n i 1
1 k
n
s2 i i
n 1 i 1
n ( x x ) 2
s ms
2
n 1
1 n
s ( xi m) 2
*2
n i 1
1 n m
f xi
s s 2
n i 1 n
E.g. The price of a stock sold on the stock market in
100 trading sessions:
Price 13-15 15-17 17-19 19-21 21-23
(1000 đ)
ni 5 18 42 27 8
Estimate sample characteristics?
Giá xi ni ni xi n i x i2
13-15 14 5 70 980 x
nx i i
1830
18,3
15-17 16 18 288 4608
n 100
17-19 18 42 756 1360 x2
ii
n x 2
33868
338, 68
8 n 100
19-21 20 27 540 1080
0 ms x 2 ( x )2 3, 79
21-23 22 8 176 3872 n
s ms 1,9566
100 1830 3386 n 1
8
Properties of the Sample Mean and
Sample Variance
• Let X1, X2,…,Xn be a r.s. of size n from a
N(,2) distribution. Then,
a ) X and S 2 are independent rvs.
b) X ~ N , / n
2
c)
n 1 S 2
~ 2
2 n 1
18
SAMPLING FROM THE NORMAL
DISTRIBUTION
• Let X1, X2,…,Xn be a r.s. of size n from a
N(,2) distribution. Then,
X
Z ~ N 0,1
/ n
•Most of the time is unknown, so we use:
X
T
S/ n
19
SAMPLING FROM THE NORMAL
DISTRIBUTION
20
SAMPLING FROM THE NORMAL
DISTRIBUTION
• Let X1, X2,…,Xn be a r.s. of size n from a
N(X,X2) distribution and let Y1,Y2,…,Ym be a
r.s. of size m from an independent
N(Y,Y2).
X X
as n
Random Variable Sample Mean
(Population) Distribution Distribution 23
EXAMPLE 1
• The amount of soda pop in each bottle is
normally distributed with a mean of 32.2
ounces and a standard deviation of 0.3
ounces.
– Find the probability that a bottle bought by a
customer will contain more than 32 ounces.
– Solution
• The random variable X is the 0.7486
^ =
p
X
The estimate of p = n
27
Sampling Distribution of
a Proportion
^ can
• Since X is binomial, probabilities about p
be calculated from the binomial distribution.
^ we prefer to use
• Yet, for inference about p
normal approximation to the binomial
whenever it approximation is appropriate.
28
Approximate Sampling Distribution
of a Sample Proportion
pˆ p
z
p (1 p )
n
• Z is approximately standard normally distributed.
29
EXAMPLE
– A state representative received 52% of the
votes in the last election.
– One year later the representative wanted
to study his popularity.
– If his popularity has not changed, what is
the probability that more than half of a
sample of 300 voters would vote for him?
30
EXAMPLE (contd.)
Solution
• The number of respondents who prefer the representative is
binomial with n = 300 and p = .52. Thus, np = 300(.52) = 156
and
n(1-p) = 300(1-.52) = 144 (both greater than 5)
pˆ p .50 .52
P ( pˆ .50) P .7549
p(1 p) n (.52)(1 .52) 300
31