Documente Academic
Documente Profesional
Documente Cultură
[1] 6
[2] 5
[3] 9, 10; [4] 9, 10
2
Outline
1
10/29/2019
3
LARGE-SAMPLE TESTS FOR A
POPULATION MEAN
4
Example
Ex. 6.2 [1] A scale is to be calibrated by weighing a 1000 g test weight 60 times. The 60
scale readings have mean 1000.6 g and standard deviation 2 g. Find the P-value for
testing H0 : μ = 1000 versus H1 : μ ≠ 1000.
Solution:
Let μ denote the population mean reading.
H0: μ = 1000
(2.58) = = = 0.258
2
10/29/2019
5
Example
a two-sided or
two-tailed test
3
10/29/2019
7
Decision
Rules
4
10/29/2019
9
Exercise
10
SMALL‐SAMPLE TESTS FOR A
POPULATION MEAN
10
5
10/29/2019
11
Student’s t distribution
11
12
SMALL‐SAMPLE TESTS FOR A
POPULATION MEAN
When the sample size is small, s may not be close to σ, which invalidates
this large-sample method. However, when the population is approximately
normal, the Student’s t distribution [1_5.3/345] can be used.
Denoting the population mean by μ, the null and alternate hypotheses are
12
6
10/29/2019
13
13
14
Reject H0
(recalibrate)
14
7
10/29/2019
15
LARGE‐SAMPLE TESTS FOR DIFFERENCE
BETWEEN TWO MEANS
Problem: Suppose that a production manager for a manufacturer of industrial
machinery is concerned that ball bearings produced in environments with low
ambient temperatures may have smaller diameters than those produced
under higher temperatures.
To investigate this concern, she samples 120 ball bearings that were
manufactured early in the morning, before the shop was fully heated, and
finds their mean diameter to be 5.068 mm and their standard deviation to be
0.011 mm. She independently samples 65 ball bearings manufactured during
the afternoon and finds their mean diameter to be 5.072 mm and their
standard deviation to be 0.007 mm.
Can she conclude that ball bearings manufactured in the morning have
smaller diameters, on average, than ball bearings manufactured in the
afternoon?
15
16
LARGE‐SAMPLE TESTS FOR DIFFERENCE
BETWEEN TWO MEANS
16
8
10/29/2019
17
LARGE‐SAMPLE TESTS FOR DIFFERENCE
BETWEEN TWO MEANS
= 5.068; = 5.072
sX = 0.011; sY = 0.007
Under H0: μX − μY = 0; The null distribution of − is
The observed value of − is 5.068 − 5.072 = −0.004. The z-score is
17
18
Conclusion: The bearings manufactured in the morning have a smaller mean diameter.
18
9
10/29/2019
19
CHI‐SQUARE TEST FOR INDEPENDENCE
The idea behind the hypothesis test is that if H0 is true, then the observed and
expected values are likely to be close to each other. Therefore, we will construct a
test statistic that measures the closeness of the observed to the expected values.
The statistic is called the chi-square statistic.
To define it, let k be the number of outcomes, and let Oi and Ei be the observed
and expected numbers of trials, respectively, that result in outcome i. The chi-
square statistic is
(6.6)
The larger the value of χ2, the stronger the evidence against H0.
19
20
CHI‐SQUARE TEST FOR INDEPENDENCE
20
10
10/29/2019
21
Examples
Is the die fair?
21
22
Examples
22
11
10/29/2019
23
Examples
23
24
Reading
[2] 6, 7
[3] 18; [4] 11
24
12