Hypothesis testing: from research questions to statistical conclusions
Concepts, decision steps, and key formulas · A study guide and review outline for Lessons 01–11
What does hypothesis testing do?
Researchers first propose a research claim to test, based on theory, previous studies, or practical experience. They then use sample data to ask: Is there enough evidence to reject the null hypothesis?
- ① Does the research question concern a difference, an increase, or a decrease?
- ② State H₀ / H₁; specify the direction in advance
- ③ Choose a test: Z / t / χ² / F, etc.
- ④ Calculate the statistic and p-value to assess the strength of evidence
- ⑤ Draw a statistical conclusion by comparing P with α
Understanding a distribution plot
A simple decision rule
P ≤ α → Reject H₀
The result meets the prespecified significance level
P > α → Fail to reject H₀
The evidence is insufficient to reject the null hypothesis
α is a prespecified upper bound on the risk of a Type I error (when the test conditions are met); the p-value is the probability of obtaining the current or a more extreme statistical result under the reference model specified by H₀.
Seven concepts to remember
| Concept | Brief meaning |
|---|---|
| Null hypothesis H₀ | A statement provisionally assumed true as the reference for a statistical test; it usually includes equality. |
| Alternative hypothesis H₁ | A claim proposed in advance based on theory, experience, or the research question, for which the researcher seeks supporting sample evidence. |
| Significance level α | A prespecified rejection criterion, commonly 0.10, 0.05, or 0.01. |
| Test statistic | A standardized quantity comparing the sample with the reference specified by H₀, such as Z, t, χ², or F. |
| Rejection region | The range of statistic values that triggers rejection of H₀ for a given α and direction of H₁. |
| p-value | The probability of obtaining the current or a more extreme test result when the reference model specified by H₀ holds. |
| Two types of error | Type I: rejecting H₀ when H₀ is true; Type II: failing to reject H₀ when H₁ is true. |
One reference value, three research questions
| Research question | Alternative hypothesis | Direction |
|---|---|---|
| Has the mean score changed? | H₁: μ ≠ 80 | Two-sided |
| Has the mean score increased? | H₁: μ > 80 | Right-tailed |
| Has the mean score decreased? | H₁: μ < 80 | Left-tailed |
Errors and power
Type I error
Incorrectly rejecting H₀ when H₀ is true.
Its probability is usually denoted by α.
Type II error
Failing to reject H₀ when the difference described by H₁ actually exists.
Its probability is denoted by β.
Power
The probability of correctly rejecting H₀ at a specified alternative parameter value.
Power = 1 − β
α, β, and power are affected by factors including sample size, true effect size, variability, and the test rule.
How do you choose among common tests?
| Parameter of interest | Conditions or question | Common method | Related lesson |
|---|---|---|---|
| One population mean | Population standard deviation σ known | z-test | 06 |
| One population mean | Population standard deviation σ unknown; relevant conditions met | t-test; Z approximation available for large samples | 07 |
| One population proportion | Binary data; conditions for the normal approximation met | Proportion z-test | 08 |
| One population variance | Independent random observations from a normally distributed population | Chi-square test | 09 |
| Parameters of two populations | Compare means, proportions, or variances | Two-sample t / Z / F, etc. | 10 |
Key formula reference
① Population mean · Z
Population standard deviation σ known
② Population mean · t
Population standard deviation unknown; the classical small-sample t-test usually requires a normally distributed population
③ Population proportion · Z
The standard error uses the null proportion p₀
④ Population variance · χ²
Independent observations from a normal population; chi-square distributions are usually asymmetric
⑤ Two independent population means · Welch's t-test
Degrees of freedom approximated by the Welch–Satterthwaite formula
⑥ Two population proportions · Z
Under H₀: p₁ = p₂, p̂ is the pooled sample proportion
⑦ Two population variances · F
The classical test of a ratio of two population variances requires two independent samples of independent observations from normal populations
Why can different test directions give different conclusions from the same data?
For example, given Z = 1.80 and significance level α = 0.05:
| Direction | p-value (approx.) | Decision |
|---|---|---|
| Left-tailed | 0.9641 | Fail to reject H₀ |
| Right-tailed | 0.0359 | Reject H₀ |
| Two-sided | 0.0719 | Fail to reject H₀ |
Five common points of confusion
① A higher sample mean ≠ a statistically significantly higher population mean Direction and strength of evidence are separate matters.
② p-value ≠ probability that the null hypothesis is true It is a tail probability given H₀ and the reference model.
③ Failing to reject H₀ ≠ accepting and proving H₀ The sample evidence may simply be insufficient.
④ Statistical significance ≠ practical importance Also consider effect size and the research context.
⑤ One-sided significance with no two-sided significance ≠ a logical contradiction The key is to avoid choosing the test direction after the fact.
Lesson map: 01–11
Learn the basic concepts
01 From confidence intervals to hypothesis testing
02 Null and alternative hypotheses and test direction
03 Rejection and nonrejection regions
04 Type I and Type II errors
05 What is a p-value?
Learn common testing methods
06 z-test for a population mean
07 t-test for a population mean
08 Hypothesis test for a population proportion
09 Hypothesis test for a population variance
10 Tests comparing two population parameters
Understand statistical results
11 Why do different test directions give different conclusions?
Categorical data analysis and analysis of variance have separate learning modules.