Lecture Notes 6 v118 PDF
Lecture Notes 6 v118 PDF
2
Assumption The population follows N( , ).
Interval estimation
The 100(1 )% confidence interval for the population mean is
s s
x t / 2, n 1 ,x t / 2, n 1
n n
where the value t , n-1 can be obtained from the t distribution table. Comparing
with the case with known , here we use s instead of and t 2,n 1 instead of z 2.
This study source was downloaded by 100000787038097 from CourseHero.com on 01-09-2022 20:55:43 GMT -06:00
ch6 1
https://www.coursehero.com/file/113801646/Lecture-Notes-6-v118pdf/
Example 1 A paint manufacturer wants to determine the average drying time of
_
construct a 95% confidence interval for the true population mean assuming
normality.
Hypothesis test
When the null hypothesis is 0, the test statistic is chosen to be
𝑋−𝜇
𝑆/√𝑛
Right- 0 𝑋−𝜇0
0 t ,n 1
tailed or 0 𝑆/√𝑛
Two- 𝑋−𝜇0
0 0 | | t 2,n 1
tailed 𝑆/√𝑛
For a two-tailed test, the followings are equivalent (for each particular sample):
This study source was downloaded by 100000787038097 from CourseHero.com on 01-09-2022 20:55:43 GMT -06:00
ch6 2
https://www.coursehero.com/file/113801646/Lecture-Notes-6-v118pdf/
Example 2 A psychologist claims that the mean age at which children start
walking is 12.5 months. Carol wanted to check if this claim is true. She took a
random sample of 18 children and found that the mean age at which these children
started walking was 12.9 months and the standard deviation was 0.80 months.
Using the 1% significance level, can you conclude that the mean age at which all
children start walking is different from 12.5 months?
Ǖstest Nf
[Solution] 。
𝑋 − 𝜇0 12.9 − 12.5
= = 2.121
𝑆/√𝑛 0.8/√18
Since |2.121| 2.898 t0.005,17, we do not reject H0. Thus we cannot conclude that
the mean age at which all children start walking is different from 12.5 months.
Example 3 According to the last census in a city, the mean family annual income
was 316 thousand dollars. A random sample of 900 families taken this year
produced a mean family annual income of 313 thousand dollars and a standard
deviation of 70 thousand dollars. At the 2.5% significance level, can we conclude
that the mean family annual income has declined since the last census?
[Solution]
H0: = 316, H1: 316, 0.025.
𝑋−𝜇0 313−316
= 1.286
𝑆/√𝑛 70/√900
By Excel, t0.025,899 1.963. Since 1.286 1.963 t0.025,899, we do not reject H0.
Thus we cannot conclude that the mean family annual income has declined since
the last census.
This study source was downloaded by 100000787038097 from CourseHero.com on 01-09-2022 20:55:43 GMT -06:00
ch6 3
https://www.coursehero.com/file/113801646/Lecture-Notes-6-v118pdf/
Example 4 A federal agency responsible for enforcing laws governing weights
and measures routinely inspects packages to determine whether the weight of the
contents is at least as great as that advertised on the package. A random sample of
18 containers whose packaging states that the contents weigh 800 grams was
drawn. The contents were weighed and the results listed below:
Can we conclude that on average the containers are mislabelled? Use 0.1.
[Solution]
H0: = 800, H1: 800, 0.1.
x 791.3889, s 8.4724.
𝑋−𝜇0 791.3889−800
𝑆 = 8.4724 4.31 1.333 - t0.1, 17
√𝑛 √18
Reject H0. We can conclude that on average the containers are mislabelled.
This study source was downloaded by 100000787038097 from CourseHero.com on 01-09-2022 20:55:43 GMT -06:00
ch6 4
https://www.coursehero.com/file/113801646/Lecture-Notes-6-v118pdf/
Section 6.2 Inference about a Population Proportion Based on Large
Samples
Example 1 A total number of 789,654 families live in a city and 563,282 of them
own homes. Then the population proportion of homeowners is
Suppose a sample of 240 families is taken from this city and 158 of them are
homeowners. Then the sample proportion is
Interval Estimation
Assume that we have a large sample. By the central limit theorem, the 100(1
)% confidence interval for the population proportion is approximately
p (1 p ) p (1 p) .
pˆ z /2 , pˆ z /2
n n
pˆ (1 pˆ ) pˆ (1 pˆ ) .
pˆ z /2 , pˆ z /2
n n
This study source was downloaded by 100000787038097 from CourseHero.com on 01-09-2022 20:55:43 GMT -06:00
ch6 5
https://www.coursehero.com/file/113801646/Lecture-Notes-6-v118pdf/
Example 2 In a random sample, 136 of 400 persons given a flu vaccine
experienced some discomfort. Construct a 95% confidence interval for the true
population proportion of persons who will experience some discomfort from the
vaccine.
0.34(1−0.34)
0.34 1.960√ 0.2936,
400
0.34(1−0.34)
0.34 1.960 √ 0.3864.
400
Hypothesis test
Assume that we have a large sample. The value of the test statistic for H0: p p0
𝑝̂−𝑝0
is . Let be the level of significance. (There are z and z 2 in
√𝑝0 (1−𝑝0 )/𝑛
Right- p p0 𝑝̂−𝑝0
z
p p0
tailed or p p0 √𝑝0 (1−𝑝0 )/𝑛
Two- |𝑝̂−𝑝0 |
z
p p0 p p0 2
tailed √𝑝0 (1−𝑝0 )/𝑛
This study source was downloaded by 100000787038097 from CourseHero.com on 01-09-2022 20:55:43 GMT -06:00
ch6 6
https://www.coursehero.com/file/113801646/Lecture-Notes-6-v118pdf/
Example 3 When working properly, a machine that is used to make chips for
calculators does not produce more than 4% defective chips. Whenever the machine
produces more than 4% defective chips, it needs an adjustment. A random sample
of 200 chips taken recently from the production line contained 14 defective chips.
Test at the 5% significance level whether or not the machine needs an adjustment.
[Solution]
H0: p = 0.04, H1: p 0.04, 0.05.
n p0 200 (0.04) 8 5,
n (1 p0) n n p0 200 8 5.
𝑝̂ 14 200 0.07,
pˆ p0 0.07 0.04
2.1651.
p0 (1 p0 ) / n 0.04(1 0.04) / 200
Since 2.1651 1.645 z0.05, we reject H0 and accept H1. We can conclude that the
machine needs an adjustment.
This study source was downloaded by 100000787038097 from CourseHero.com on 01-09-2022 20:55:43 GMT -06:00
ch6 7
https://www.coursehero.com/file/113801646/Lecture-Notes-6-v118pdf/
Powered by TCPDF (www.tcpdf.org)