Lecture 4
Lecture 4
2
What is a Hypothesis?
3
4
What is Hypothesis Testing?
5
6
7
8
9
10
11
12
Hypothesis Testing Steps
13
Important Things to Remember about H0 and H1
14
15
16
17
18
19
20
21
22
23
24
25
26
Left-tail or Right-tail Test?
• The direction of the test involving
claims that use the words “has
improved”, “is better than”, and the like Inequality
Keywords Part of:
will depend upon the variable being Symbol
refers to a test score, then the words Has “improved”, “is better
than”. “is more effective”
See right H1
27
One-tail vs. Two-tail Test
28
Hypothesis Setups for Testing a Mean ()
29
Hypothesis Setups for Testing a
Proportion ()
30
Testing for a Population Mean with a
Known Population Standard Deviation- Example
31
Testing for a Population Mean with a
Known Population Standard Deviation- Example
32
Testing for a Population Mean with a
Known Population Standard Deviation- Example
34
Testing for a Population Mean with a Known
Population Standard Deviation- Example
35
Testing for a Population Mean with a Known
Population Standard Deviation- Example
36
p-Value in Hypothesis Testing
37
p-Value in Hypothesis Testing - Example
38
What does it mean when p-value < ?
39
Testing for the Population Mean: Population
Standard Deviation Unknown
40
Testing for the Population Mean: Population
Standard Deviation Unknown - Example
41
Testing for a Population Mean with a
Known Population Standard Deviation- Example
42
t-Distribution Table (portion)
43
Testing for a Population Mean with a
Known Population Standard Deviation- Example
45
Testing for a Population Mean with a
Known Population Standard Deviation- Example continued
46
Testing for a Population Mean with a
Known Population Standard Deviation- Example continued
X 256 250
t 3.162
s n 6 10
47
Tests Concerning Proportion
48
Assumptions in Testing a Population Proportion
using the z-Distribution
49
Test Statistic for Testing a Single
Population Proportion
Hypothesized
population proportion
Sample proportion
p
z
(1 )
n
Sample size
50
Test Statistic for Testing a Single
Population Proportion - Example
51
Test Statistic for Testing a Single
Population Proportion - Example
52
Testing for a Population Proportion - Example
55
Comparing two populations – Some
Examples
56
Comparing Two Population Means
X1 X 2 X1 X 2
z z
12 22 s12 s22
n1 n2 n1 n2
57
EXAMPLE 1
58
EXAMPLE 1 continued
59
Example 1 continued
60
Example 1 continued
Xs Xu
z
s2 u2
ns nu
5.5 5.3
The computed value of 3.13 is larger than the
2 2
0.40 0.30 critical value of 2.33. Our decision is to reject the
null hypothesis. The difference of .20 minutes
50 100 between the mean checkout time using the
standard method is too large to have occurred by
0.2
3.13 chance. We conclude the U-Scan method is
0.064 faster.
61
Comparing Population Means with Unknown
Population Standard Deviations (the Pooled t-test)
62
Comparing Population Means with Unequal
Population Standard Deviations
63
Comparing Population Means with Unequal
Population Standard Deviations - Example
8 8 3 1 9 7 5 5 12
12 11 10 6 8 9 9 10 11 9 8 10
Use the .10 significance level and test if there is a difference in the mean
amount of liquid absorbed by the two types of paper towels.
64
Comparing Population Means with Unequal
Population Standard Deviations - Example
65
Comparing Population Means with Unequal
Population Standard Deviations - Example
66
Comparing Population Means with Unequal
Population Standard Deviations - Example
The computed value of t is less than the lower critical value, so our
decision is to reject the null hypothesis. We conclude that the
mean absorption rate for the two towels is not the same.
67
Comparing Means of Two or More Populations
68
Analysis of Variance – F statistic
SST k 1
F
SSE n k
69
Comparing Means of Two or More
Populations – Illustrative Example
70
Comparing Means of Two or More
Populations – Illustrative Example
71
Comparing Means of Two or More
Populations – Example
72
Comparing Means of Two or More
Populations – Example
73
Comparing Means of Two or More
Populations – Example
74
Comparing Means of Two or More
Populations – Example
75
Comparing Means of Two or More
Populations – Example
76
Computing SS Total and SSE
77
Computing SST
The computed value of F is 8.99, which is greater than the critical value of 5.09,
so the null hypothesis is rejected.
Conclusion: The population means are not all equal. The mean scores are not
the same for the four airlines; at this point we can only conclude there is a
difference in the treatment means. We cannot determine which treatment groups
differ or how many treatment groups differ.
78
Excel
79