MTH-361A | Spring 2026 | University of Portland
Hypothesis testing is a statistical method used to make inferences about a population based on a sample. It helps determine if an observed effect is statistically significant.
Key Concepts:
Decision Rule:
Why is Hypothesis Testing Important?
A pharmaceutical company tests whether a new drug improves recovery rates compared to a placebo.
Null Hypothesis \(H_0\):
Alternative Hypothesis \(H_A\):
Significance Level \(\alpha\):
Test Results:
Conclusion:
There are two possible outcomes of the hypothesis test:
Reject \(H_0\): If the p-value is less than the significance level, then we reject the null hypothesis. Then, we have enough evidence to support \(H_A\).
Fail to Reject \(H_0\): If the p-value is greater than or equal to the significance level, then we fail to reject the null hypothesis. This does not mean the the null hypothesis is true.
Making statistical decisions means that you have to deal with uncertainties.
Image Source: Statistical Performance Measures by Neeraj Kumar Vaid
This meme might be over used. If you find some memes similar to this but in “non-pregnancy” context, let me know.
What does this all mean? When the p-value is small, i.e., less than a previously set threshold (\(\alpha\)), we say the results are statistically significant. The value of \(\alpha\) represents how rare an event needs to be in order for the null hypothesis to be rejected. The \(\alpha\) also represents the probability of committing a type I error.
| Reality/Decision | Reject \(H_0\) | Fail to reject \(H_0\) |
|---|---|---|
| \(H_0\) is true | Type I error with probability \(\alpha\) (significance level) |
Correct decision with probability \(1-\alpha\) (confidence level) |
| \(H_0\) is false | Correct decision with probability \(1-\beta\) (power of test) |
Type II error with probability \(\beta\) |
Conclusion errors: Type I error (false positive) or Type II error (false negative)
Images Source: Type I and Type II errors by Pritha Bhandari
In a US court, the defendant is either innocent (\(H_0\)) or guilty (\(H_A\)).
What does a Type I Error represent in this context?
What does a Type II Error represent?
A Type I error occurs when the null hypothesis is incorrectly rejected, leading to a wrongful conviction.
A Type II error occurs when the null hypothesis was failed to reject, leading to a wrongful acquittal.