Hypothesis Testing Framework
Set up hypothesis tests with null and alternative hypotheses, significance level, and p-values.
Try the Interactive Version!
Learn step-by-step with practice exercises built right in.
Hypothesis Testing Framework
The Logic of Hypothesis Testing
- Assume the null hypothesis () is true
- Collect data and compute a test statistic
- Determine how likely (or unlikely) the data is under
- Make a decision: reject or fail to reject
Hypotheses
Null Hypothesis (): The "no effect" or "no difference" claim. Always includes .
Alternative Hypothesis (): What we're trying to find evidence for.
Types of alternative hypotheses:
- Two-sided: or
- One-sided (right): or
- One-sided (left): or
Significance Level ()
The significance level is the threshold for deciding when to reject .
Common values: (most common), ,
Test Statistic
The test statistic measures how far the sample result is from what predicts:
P-Value
The p-value is the probability of obtaining a test statistic as extreme as (or more extreme than) the observed value, assuming is true.
- Small p-value → evidence against
- Large p-value → no convincing evidence against
Decision Rule
- If : Reject . There is convincing evidence for .
- If : Fail to reject . There is not convincing evidence for .
Never say "accept " — we only fail to reject it.
Statistical Significance
A result is statistically significant at level if the p-value .
Statistical significance ≠ practical significance. A very large sample can detect tiny, meaningless differences.
Four-Step Process (AP)
- State: Define parameter, state hypotheses, choose
- Plan: Name the test, check conditions
- Do: Calculate test statistic and p-value
- Conclude: Compare p-value to , state conclusion in context
AP Tip: Always state your conclusion in context: "Since the p-value of 0.03 is less than , we reject . There is convincing evidence that [context about ]."
📚 Practice Problems
No example problems available yet.