Chapter 9 Hypothesis Testing with One Sample
OPENSTAX STATISTICS
1
Access for free at https://openstax.org/books/introductory-statistics-2e/pages/1-introduction
Objectives
2
Section 9.1
NULL AND ALTERNATIVE HYPOTHESES
3
Null and Alternative Hypotheses
4
After Determining Which Hypothesis the Data Supports…
5
Standard Null and Alternative Hypotheses
6
Example of Hypothesis Statements
7
More Examples of Hypothesis Statements
8
Section 9.2
OUTCOMES AND TYPE I AND TYPE 2 ERRORS
9
Four Possible Outcomes
10
Example
11
12
13
Rock Climbing Example Cont.
Suppose the null hypothesis, H0, is: Navah's rock-climbing equipment is safe.
α = probability that Navah thinks her rock-climbing equipment may not be safe when, in fact, it really is safe.
β = probability that Navah thinks her rock-climbing equipment may be safe when, in fact, it is not safe.
�
14
Example
15
Example - Answers
16
Example
17
A company called Genetic Labs claims to be able to increase the likelihood that a pregnancy will result in a male being born. Statisticians want to test the claim. Suppose that the null hypothesis, H0, is: Genetic Labs has no effect on sex outcome. Describe the Type I and Type II errors. Which has the greater consequence?
Example - Answers
18
Section 9.3
PROBABILITY DISTRIBUTION NEEDED FOR HYPOTHESIS TESTING
19
Appropriate Probability Distributions
20
Assumptions
21
Type of hypothesis test | Assumptions |
Mean, population standard deviation known | Simple random sample Normally distributed population or large sample size |
Mean, population standard deviation unknown | Simple random sample Approximately normally distributed population Sample standard deviation used to approximate population standard deviation |
Proportion | |
Section 9.4
RARE EVENTS, THE SAMPLE, DECISION, AND CONCLUSION
22
Rare Events
23
Example of a Rare Event
The probability of winning the lottery is very low. Suppose Arianna played the lottery just once and won a lot of money. Because Ari assumed the probability of winning the lottery is low, Arianna hopes that her assumption is incorrect and hopes that it is indeed easy to win the lottery.
Ari winning the lottery is a rare event.
24
There are several ways that you can conduct a hypothesis test.
YOU CAN USE CRITICAL VALUES OR P-VALUES. WE WILL DISCUSS BOTH METHODS.
Testing the Null Hypothesis
26
P-Value Approach
Values the Hypothesis Test with the P-value Approach
P-Value Decision and Conclusion
29
Visualizing the Hypothesis Test with Critical Values
Test Statistics
Visualizing the Hypothesis Test with Critical Values
Making a Decision Using Critical Values
This gives us the decision rule for testing a hypothesis for a two-tailed test:
Usually the book uses P-value
WE WILL DISCUSS A FEW EXAMPLES OF P-VALUE VERSUS CRITICAL VALUE, YOU CAN USE EITHER METHOD. YOU JUST NEED TO GET THE RIGHT FINAL CONCLUSION!
34
Example
35
Example, Cont.
36
Example, Cont.
37
Example, Cont.
38
Section 9.5
ADDITIONAL INFORMATION AND FULL HYPOTHESIS TEST EXAMPLES
39
General Notes
40
The Basic Setup
Example
42
Example
H0: p = 50 Ha: p ≠ 50
43
Example – With P-values
Jeffrey, as an eight-year old, established a mean time of 16.43 seconds for swimming the 25-yard freestyle, with a standard deviation of 0.8 seconds. His dad, Frank, thought that Jeffrey could swim the 25-yard freestyle faster using goggles. Frank bought Jeffrey a new pair of expensive goggles and timed Jeffrey for 15 25-yard freestyle swims. For the 15 swims, Jeffrey's mean time was 16 seconds. Frank thought that the goggles helped Jeffrey to swim faster than the 16.43 seconds. Conduct a hypothesis test using a preset α = 0.05. Assume that the swim times for the 25-yard freestyle are normal.
See the Excel workbook.
44
Example - Answers
45
Example - Answers
46
Example - Answers
47
Example – With Critical Values
48
Example - Answers
49
Example - Answers
50
Example – Note on Language
Note: the phrase “established” is what means we can assume that we are dealing with the normal distribution instead of Student’s T. Note in the next example how the language differs.
51
Note on Excel Formulas
52
Note on Excel Formulas
53
Example
Example - Answers
Example – Answers
56
Example – Answers
Example – Answers
Example
59
Example - Answers
60
Example - Answers
61
Example
Example - Answers
Example - Answers
Example
65
Example - Answers
66
Example - Answers
67
Hypothesis Test for Proportions
Test Statistic with Proportions
Forms of the Hypothesis Tests
Example
Joon believes that 50% of first-time brides in the United States are younger than their grooms. She performs a hypothesis test to determine if the percentage is the same or different from 50%. Joon samples 100 first-time brides and 53 reply that they are younger than their grooms. For the hypothesis test, she uses a 1% level of significance. Compare the p-value versus critical value approach.
71
Example - Answers
72
Example - Answers
73
Example with Critical Value Approach
74
Example with Critical Value Approach
75
Example
76
Example - Answers
77