Hypothesis Testing
Summary
Hypothesis testing uses sample evidence to decide between a null hypothesis and an alternative hypothesis. A test statistic measures how far the sample result is from the null value; if the statistic falls in a predetermined rejection region, the null is rejected. The structure of the alternative determines whether the test is one-tailed or two-tailed.[1]
Prerequisites
Definition / Notation
| Symbol | Meaning |
|---|---|
|
|
Null hypothesis |
|
|
Alternative hypothesis |
|
|
Test statistic |
|
|
Rejection region |
|
|
Significance level,
|
A test of
Parameters / Assumptions
- A fully specified parametric model under
. - Independent observations, unless the test is designed for dependence.
- The sampling distribution of the test statistic under
is known or approximated. - The significance level
is fixed before seeing the data.
Essential Result
For
- Two-tailed test (
): reject if . - One-tailed upper test (
): reject if . - One-tailed lower test (
): reject if .
There is a duality between two-sided tests and confidence intervals: a two-sided
Worked Example
Test
Since
Common Mistakes
- Confusing statistical significance with practical importance.
- Choosing a one-tailed alternative after seeing the data direction.
- Believing that failing to reject
proves is true. - Applying a test whose distribution assumptions are violated.
Connections
References
OpenStax, Introductory Statistics, "Hypothesis Testing", https://openstax.org/details/books/introductory-statistics ↩︎
MIT OCW, Introduction to Probability and Statistics, "Hypothesis Testing", https://ocw.mit.edu/courses/mathematics/ ↩︎