The Hypothesis Testing Framework
Investigating questions and claims about population parameters.
�Objectives and Tools for Inferential Statistics
�Examples of Questions/Claims to Investigate
�Intuition for Testing Claims
Let’s begin with the accusation that a one-ton delivery of home heating pellets from XYZ Home Heating actually contains less than one ton (2000lbs) of pellets
�The Null and Alternative Hypotheses
Intermediate Decisions, Assumptions, and Calculations in Hypothesis Tests
Determining the Result of �the Test
�Examples
�Examples: Intramural Sport Participation
Scenario: Prior to the COVID-19 pandemic, a college reported that 35% of its students participate in intramural sports. They wonder if post-COVID participation in intramural sports is lower than it was pre-COVID. They conducted a test using statistical software, the results appear below.
success: yes �n = 100, p-hat = 0.31 �z = -0.8649 �p-value = 0.1936
Write out the hypotheses for the test and determine the result at the 5% level of significance, with justification.
�Example: Electric Scooter Range
Scenario: An electric scooter manufacturer claims their scooters can travel further than their leading competitor’s scooters after a full charge. The competitor’s scooters average a 25-mile range after charging to full capacity. The manufacturer conducts a test at the 10% level of significance, the results of which appear below.
n = 12, y-bar = 28.0865, s = 5.4596 �t = 1.9583, df = 11 �p-value = 0.038
Write out the hypotheses for the test and determine the result, with justification.
�Example: Streaming Platform Usage
�Example: Streaming Service Subscriptions
�Errors in Statistical Inference
In using statistical inference, there is no guarantee that the conclusions we arrive at are correct
The Null Hypothesis Significance Testing (NHST) methods we are utilizing result in one of four scenarios:
| Reality | |
Outcome of Test | | |
| ✔️ | Type I Error (False Positive) |
| Type II Error (False Negative) | ✔️ |
�Example: Manufacturing
Scenario: A company makes custom bolts that are used in a specialized manufacturing process. The bolts produced in the process are not perfectly identical – there is some slight variation in the length of a completed bolt. Bolts that are more than 1.5mm too long or too short cannot be used in the manufacturing process and must be discarded. Engineers have determined that as long as the average length of a produced bolt is 3.25”, then nearly all bolts are compliant. After receiving complaints, the company wonders whether the average length of a manufactured bolt is no longer 3.25”.
Write the hypotheses involved in a test of average bolt length. Discuss what a Type I error is in this context, as well as what a Type II error is. What are the consequences of each, and which one is more severe?
�Summary
�Next Time…