Professional Documents
Culture Documents
Chap 6
Chap 6
Chapter 6
Sampling and
Sampling Distributions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-1
Chapter Goals
After completing this chapter, you should be able to:
Describe a simple random sample and why sampling is
important
Explain the difference between descriptive and inferential
statistics
Define the concept of a sampling distribution
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-2
6.1
Tools of Business Statistics
Descriptive statistics
Collecting, presenting, and describing data
Inferential statistics
Drawing conclusions and/or making decisions
concerning a population based only on
sample data
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-3
Populations and Samples
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-4
Population vs. Sample
Population Sample
a b cd b c
ef gh i jk l m n gi n
o p q rs t u v w o r u
x y z y
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-5
Why Sample?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-6
Simple Random Samples
Every object in the population has an equal chance of
being selected
Objects are selected independently
Samples can be obtained from a table of random
numbers or computer random number generators
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-7
Inferential Statistics
Sample Population
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-8
Inferential Statistics
Drawing conclusions and/or making decisions
concerning a population based on sample results.
Estimation
e.g., Estimate the population mean
weight using the sample mean
weight
Hypothesis Testing
e.g., Use sample evidence to test
the claim that the population mean
weight is 120 pounds
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-9
6.2
Sampling Distributions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-10
Chapter Outline
Sampling
Distributions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-11
Sampling Distributions of
Sample Means
Sampling
Distributions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-12
Developing a
Sampling Distribution
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-13
Developing a
Sampling Distribution
(continued)
μ
X i P(x)
N
.25
18 20 22 24
21
4
0
σ
(X μ) i
2
2.236
18 20 22 24 x
N A B C D
Uniform Distribution
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-14
Developing a
Sampling Distribution
(continued)
Now consider all possible samples of size n = 2
1st 2nd Observation
Obs 16 Sample
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 samples 22 20 21 22 23
(sampling with
replacement)
24 21 22 23 24
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-15
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-17
Comparing the Population with its
Sampling Distribution
Population Sample Means Distribution
N=4 n=2
μ 21 σ 2.236 μX 21 σ X 1.58
_
P(X) P(X)
.3 .3
.2 .2
.1 .1
0 0 18 19 20 21 22 23 24
_
18 20 22 24 X X
A B C D
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-18
Expected Value of Sample Mean
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-19
Standard Error of the Mean
σ
σX
n
Note that the standard error of the mean decreases as
the sample size increases
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-20
If sample values are
not independent
(continued)
σ2 N n σ Nn
Var( X) or σ X
n N 1 n N 1
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-21
If the Population is Normal
If a population is normal with mean μ and standard deviation
σ, the sampling distribution of is also normally
distributed with
X
and
σ
μX μ σX
n
If the sample size n is not large relative to the population size N, then
and
σ Nn
μX μ σX
n N 1
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-22
Z-value for Sampling Distribution
of the Mean
Z-value for the sampling distribution of X :
( X μ)
Z
σX
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-23
Sampling Distribution Properties
Normal Population
μx μ Distribution
μ x
(i.e. x is unbiased ) Normal Sampling
Distribution
(has the same mean)
μx
x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-24
Sampling Distribution Properties
(continued)
Smaller
sample size
μ x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-25
If the Population is not Normal
We can apply the Central Limit Theorem:
Even if the population is not normal,
…sample means from the population will be
approximately normal as long as the sample size is
large enough.
σ
μx μ and σx
n
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-26
Central Limit Theorem
the sampling
As the n↑
distribution
sample
becomes
size gets
almost normal
large
regardless of
enough…
shape of
population
x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-27
If the Population is not Normal
(continued)
Population Distribution
Sampling distribution
properties:
Central Tendency
μx μ
μ x
Variation Sampling Distribution
σ (becomes normal as n increases)
σx Larger
n Smaller
sample size
sample
size
μx x
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-28
How Large is Large Enough?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-29
Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-30
Example
(continued)
Solution:
Even if the population is not normally
distributed, the central limit theorem can be
used (n > 25)
… so the sampling distribution of x is
approximately normal
… with mean μx = 8
σ 3
…and standard deviation σ x n 36 0.5
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-31
Example
(continued)
Solution (continued):
7.8 - 8 μX -μ 8.2 - 8
P(7.8 μ X 8.2) P
3 σ 3
36 n 36
P(-0.5 Z 0.5) 0.3830
Population Sampling Standard Normal
Distribution Distribution Distribution .1915
??? +.1915
? ??
? ? Sample Standardize
? ? ?
?
7.8 8.2 -0.5 0.5
μ8 X μX 8 x μz 0 Z
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-32
Acceptance Intervals
Goal: determine a range within which sample means are
likely to occur, given a population mean and variance
By the Central Limit Theorem, we know that the distribution of X
is approximately normal if n is large enough, with mean μ and
standard deviation σ X
Let zα/2 be the z-value that leaves area α/2 in the upper tail of the
normal distribution (i.e., the interval - zα/2 to zα/2 encloses
probability 1 – α)
Then
μ z/2σ X
is the interval that includes X with probability 1 – α
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-33
6.3
Sampling Distributions of
Sample Proportions
Sampling
Distributions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-34
Sampling Distributions of
Sample Proportions
P = the proportion of the population having
some characteristic
Sample proportion (p̂) provides an estimate
of P:
X number of items in the sample having the characteristic of interest
pˆ
n sample size
0 ≤ p̂ ≤ 1
p̂ has a binomial distribution, but can be approximated
by a normal distribution when nP(1 – P) > 5
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-35
^
Sampling Distribution of p
Normal approximation:
Sampling Distribution
P(Pˆ )
.3
.2
.1
0
0 .2 .4 .6 8 1 P̂
Properties:
X P(1 P)
E(pˆ ) P σ Var
and2
pˆ
n n
(where P = population proportion)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-36
Z-Value for Proportions
pˆ P pˆ P
Z
σ pˆ P(1 P)
n
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-37
Example
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-38
Example
(continued)
if P = .4 and n = 200, what is
p̂ ≤ .45) ?
P(.40 ≤
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-39
Example
(continued)
if P = .4 and n = 200, what is
p̂ ≤ .45) ?
P(.40 ≤
Standardized
Sampling Distribution Normal Distribution
.4251
Standardize
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-40
6.4
Sampling Distributions of
Sample Variance
Sampling
Distributions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-41
Sample Variance
Let x1, x2, . . . , xn be a random sample from a
population. The sample variance is
n
1
s2
n 1 i1
(x i x) 2
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-43
The Chi-square Distribution
The chi-square distribution is a family of distributions,
depending on degrees of freedom:
d.f. = n – 1
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
(n 1)s 2
Is chi-square distributed with (n – 1) = 13
χ2
σ2 degrees of freedom
probability
α = .05
2
213 = 22.36
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-47
Chi-square Example
(continued)
213 = 22.36 (α = .05 and 14 – 1 = 13 d.f.)
(n 1)s2 2
So:
P(s K) P
2
χ13 0.05
16
(n 1)K
or 22.36 (where n = 14)
16
(22.36)(16)
so K 27.52
(14 1)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-48
Chapter Summary
Introduced sampling distributions
Described the sampling distribution of sample means
For normal populations
Using the Central Limit Theorem
Described the sampling distribution of sample
proportions
Introduced the chi-square distribution
Examined sampling distributions for sample variances
Calculated probabilities using sampling distributions
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 6-49