Lecture 4-5 (1)
Lecture 4-5 (1)
Fundamental
Sampling
Distributions and
Data
Descriptions
μ
X i P(x)
N
.25
18 20 22 24
21
4
0
σ
(X μ)
i
2
2.236
18
A B
20
C
22
D
24 x
N
Uniform Distribution
Developing a
Sampling Distribution
Now consider all possible samples of size n = 2
1st 2nd Observation 16 Sample
Obs 18 20 22 24 Means
18 18,18 18,20 18,22 18,24
1st 2nd Observation
20 20,18 20,20 20,22 20,24 Obs 18 20 22 24
22 22,18 22,20 22,22 22,24 18 18 19 20 21
24 24,18 24,20 24,22 24,24 20 19 20 21 22
16 possible 22 20 21 22 23
samples (sampling
with replacement)
24 21 22 23 24
Developing a
Sampling Distribution
Sampling Distribution of All Sample
Means
16 Sample Means Sample Means
Distribution
1st 2nd Observation _
Obs 18 20 22 24 P(X)
.3
18 18 19 20 21
.2
20 19 20 21 22
.1
22 20 21 22 23
0 _
24 21 22 23 24 18 19 20 21 22 23 24 X
(no longer uniform)
Section 8.4
Sampling
Distribution of
Means and the
Central Limit
Theorem
1 n
X Xi
n i1
Standard Error of the Mean
σ
σX
n
• Note that the standard error of the mean decreases as the
sample size increases
Developing a
Sampling Distribution (continued)
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
Comparing the Population
with its Sampling Distribution
Population Sample Means
N=4 Distribution
μ 21 σ 2.236 n=2
_ μX 21 σ X 1.58
P(X) P(X)
.3 .3
.2 .2
.1 .1
0
18 20 22 24 X
0
18 19 20 21 22 23 24
_
X
A B C D
If the Population is Normal
(X μ) (X μ)
Z
σX σ
n
Sampling Distribution Properties
Normal Population
E[X] μ Distribution
μ x
(i.e. x is unbiased ) Normal Sampling
Distribution
μx
x
Copyright © 2020 Pearson Education Ltd. All Rights Reserved.
Sampling Distribution Properties
(continued)
σ Normal Population
σx Distribution
n
μ x
(i.e. x is unbiased ) Normal Sampling
Distribution
As n increases, Larger
sample size
σ x decreases
Smaller
sample size
μ x
Copyright © 2020 Pearson Education Ltd. All Rights Reserved.
Copyright © 2017 Pearson Education, Ltd. All rights reserved. 8 - 28
Figure 8.2 Area for Example 8.4
the sampling
As the n↑
distribution
sample
becomes
size gets
almost
large
normal
enough…
regardless of
shape of
population
x
Copyright © 2020 Pearson Education Ltd. All Rights Reserved.
If the Population is not Normal
(continued)
Population Distribution
Sampling distribution
properties:
Central Tendency
μ x μ μ x
Variation Sampling Distribution
σ (becomes
increases)normal as n
σx Larger
n Smaller
sample size
sample
size
8 - 40
Exercise 8.24
If a certain machine makes electrical resistors having a mean
resistance of 40 ohms and a standard deviation of 2 ohms, what is
the probability that a random sample of 36 of these resistors will
have a combined resistance of more than 1458 ohms?
8 - 41
Exercise 8.26
The amount of time that a vehicle spends in a petrol bunk is a random
variable with the mean μ = 4.5 minutes and a standard deviation σ = 1.8
minutes. If a random sample of 24 vehicles is observed, find the
probability that its mean time at the petrol bunk is
(a) at most 3.6 minutes
(b) more than 5.5 minutes
(c) at least 3.2 minutes but less than 4 minutes.
8 - 42
Sampling Distribution of the
Difference of the Two Means
• 0 ≤ p̂ ≤ 1
• p̂ has a binomial distribution, but can be approximated by a
normal distribution when nP(1 – P) > 5
Sampling Distribution of p ^
• Normal approximation:
Sampling
P(Pˆ ) Distribution
.3
.2
.1
0
0 .2 .4 .6 8 1 P̂
Properties: X P(1 P)
E(pˆ ) P
2
σ Var
pˆ
and n n
(where P = population proportion)
Z-Value for Proportions
ˆ .45)
P(.40 p
Convert to
standard
normal:
Example
(continued)
Sampling Standardized
Distribution Normal Distribution
Standardize
Assumptions:
Both sample sizes are large,
nP(1 – P) > 5
Two Population Proportions
(continued)
(pˆ x pˆ y ) (p x p y )
Z
pˆ x (1 pˆ x ) pˆ y (1 pˆ y )
nx ny
is approximately normally
distributed
Test Statistic for
Two Population Proportions
Population
proportions
z
pˆ x pˆ y
pˆ 0 (1 pˆ 0 ) pˆ 0 (1 pˆ 0 )
nx ny
n xpˆ x n ypˆ y
Where pˆ 0
nx ny
Example:
Two Population Proportions
What is the probability that there is a significant difference
between the proportion of men and the proportion of women
who will vote Yes on Proposition A?
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
d.f. = 1 d.f. = 5 d.f. = 15
2
(n 1)s Is chi-square distributed with (n – 1) = 13 degrees
χ2 of freedom
σ2
probability
α = .05
2
213 = 22.36
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Chi-square Example
(continued)
213 = 22.36 (α = .05 and 14 – 1 = 13 d.f.)
(n 1)s2 2
So: 2
P(s 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)
Let S12 denote the sample variance for a random sample of size 10
from Population I and let S22 denote the sample variance for a
random sample of size 8 from Population II. The variance of
Population I is assumed to be three times the variance of Population
II. Find two numbers a and b such that P(a ≤ S12/S22 ≤ b) = 0.90
assuming S12 to be independent of S22.