An interval says what values are plausible. A test answers a yes-or-no question: do the data contradict a claim? The logic is that of a trial, with the same two ways to go wrong, and the same temptation to read the verdict as more than it is. This lesson builds the machinery, the two errors, size and power, critical values and p-values, with a picture for each, and ends with a test built from scratch on a single observation.
A hypothesis test starts with a claim to be challenged, the null hypothesis H₀: the mean income is ₹30,000, the scheme had no effect, the coin is fair. The alternative H₁ is what you would believe if the null failed. Like a court that presumes innocence, the test keeps the null unless the evidence against it is strong. Five steps, in order (UGC NET 2026):
A hypothesis is simple if it fixes every parameter (μ = μ₀ and σ² = σ₀²), and composite if it leaves some free (μ = μ₀ with σ² unknown), a distinction a matching question tests (UGC NET 2025). The choice between null and alternative is not symmetric. The null is the claim that is kept unless the data say otherwise, and the burden of proof sits on the alternative.
A test ends in reject or do not reject, and the truth is either H₀ or H₁. That gives four cases and two of them are mistakes.
| H₀ is true | H₀ is false | |
|---|---|---|
| Reject H₀ | Type I error, a false alarm. Probability α, the size of the test. | Correct. Probability 1 − β, the power. |
| Do not reject H₀ | Correct. Probability 1 − α. | Type II error, a miss. Probability β. |
Type I error is rejecting a true null (Hyderabad 2011, 2018). Type II error is accepting, or more carefully failing to reject, a false one (Hyderabad 2017, JNU 2021). The level of significance is the maximum probability of Type I error you are willing to risk (CUET 2018, Hyderabad 2020), and it is the number the significance level of an estimation question refers to (Hyderabad 2019). Power is the probability of rejecting H₀ when H₁ is true, which is one minus the probability of a Type II error (JNU 2016, JAM 2022, UGC NET 2023, JAM 2025). The area of non-rejection is one minus the probability of rejecting a true null (JAM 2025).
The two errors pull against each other. Move the critical value outwards and false alarms fall, but real effects are missed more often. The lab draws the two distributions of the test statistic, one when H₀ is true and one when it is not, and lets you move everything that matters: the size of the true effect, the sample size and α.
With a shift of 2.5 standard errors the test catches the effect 80% of the time: it clears the usual 80% power benchmark.
Four things to try, each of which is an exam fact:
The alternative decides where the rejection region sits. H₀: π = 0.16 against H₁: π > 0.16 is a one-tailed test with the rejection area in the right tail (JNU 2012). H₀: β₂ = 0 against H₁: β₂ ≠ 0 is a two-tailed test (JNU 2021): large values of either sign count against the null, so α is split between two tails. The critical value is the cut-off beyond which the statistic is too extreme for H₀.
| Size α | One-sided critical z | Two-sided critical z |
|---|---|---|
| 10% | 1.282 | 1.645 |
| 5% | 1.645 | 1.960 |
| 1% | 2.326 | 2.576 |
A statistic between 1.96 and 2.58 in a two-sided test is significant at 5% but not at 1%, which is how a question that asks the decision about H₀ is settled: reject it at the 5% level (JNU 2021). A common slip is to read a rejection at 5% as a rejection at 1%. The stricter the level, the harder it is to reject.
Instead of fixing α in advance and asking whether the statistic crosses a line, report how surprising the data are. The p-value is the probability, if H₀ were true, of a test statistic at least as extreme as the one observed. A small p-value means the data would be rare under the null. The decision rule is the same either way: reject when the p-value is no larger than α (Hyderabad 2021), which is exactly when the statistic is beyond the critical value. The p-value depends on the data (DSE 2021): a different sample would give a different one.
For H₁: B > B₀ with the variance given, the p-value is 1 − Φ(zc), the area to the right of the computed statistic (UGC NET 2023). Slide z in the lab and read the area. Then switch to two-sided.
The p-value, 0.0228, is below α = 0.05, and z has crossed the critical value: the same verdict, said two ways. A p-value is the chance of data this extreme if H₀ were true, not the chance that H₀ is true.
Reject H₀: μ = μ₀ at the 5% level (two-sided) exactly when μ₀ lies outside the 95% confidence interval. The test gives a yes or no for one value, and the interval gives the answer for every value at once.
Power is not something you compute after the event to excuse a null result. It is a planning tool: choose the effect size worth detecting, set α and the power you want, usually 80%, and solve for n. For a z test with standardised effect d = (μ₁ − μ₀) ÷ σ:
To detect half a standard deviation (d = 0.5) with a two-sided 5% test and 80% power: (1.96 + 0.8416)² ÷ 0.25 = 31.4, so 32 observations. Halve the effect to d = 0.25 and the requirement quadruples to 126, which is the same square law as the standard error and the same reason small studies find only big effects. Compare with the lab’s last readout, “n for 80% power”.
The test rejects H₀ when the sample mean exceeds a critical value c. We choose c so that, if H₀ is true, this happens with probability α. Under H₀ the sample mean is normal with mean μ₀ and standard error σ ÷ √n, so
With μ₀ = 50, σ = 10, n = 25 and α = 5%: the standard error is 2 and zα = 1.645, so c = 50 + 1.645 × 2 = 53.29.
Power is the probability of rejecting when the true mean is μ₁. Now the sample mean is normal around μ₁, with the same standard error. Standardise using μ₁:
Substitute c from step 1 and the awkward-looking fraction simplifies:
So power = P(Z > zα − δ) = Φ(δ − zα), using the symmetry of the normal curve. Here δ = 4 ÷ 2 = 2, so power = Φ(2 − 1.645) = Φ(0.355) = 0.639.
Power depends on the data only through δ, the true shift measured in standard errors, and on α only through zα. A bigger effect μ₁ − μ₀, a bigger n (through √n) and a smaller σ all raise δ and so raise power. A smaller α raises zα and lowers power: the cost of being more careful about false alarms is more misses. Move the sliders in the picture and watch the blue area to the right of c.
Ask for power 1 − β. Power = Φ(δ − zα) = 1 − β means δ − zα = zβ, where zβ is the point with area β beyond it. So δ = zα + zβ, and since δ = (μ₁ − μ₀)√n ÷ σ,
For 80% power at α = 5%, zα + zβ = 2.486 (1.645 and 0.842 before rounding the last digit), so n = (2.486 × 10 ÷ 4)² = 38.6, which rounds up to 39 households. Always round up: 38 would fall just short.
Where does a rejection region come from? Not always from a formula in a table. With one observation and two fully specified densities you can build the best test directly, and examiners like to see it done. The Neyman-Pearson lemma says the most powerful test of a simple null against a simple alternative rejects where the likelihood ratio f₁(x) ÷ f₀(x) is large. In the opening question that ratio is (2 − 2x) ÷ 2x, which falls as x rises, so evidence for H₁ is a small x, and the rule “reject H₀ if x < k” is the right form.
A cruder example of a size calculation: X is uniform on [0, b], and we test H₀: b = 2 against b ≠ 2 with the critical region x ≤ 0.1 or x ≥ 1.9 from a single draw. Under H₀ the density is 1/2, so the probability of the region is 0.1 × ½ + 0.1 × ½ = 0.1, the Type I error (IIT JAM 2021). Size is just a probability computed under H₀.
Each test has its own false-alarm rate, and they add up. If two independent t tests are each run at 5%, and the joint null is rejected when either one rejects, the Type I error is 1 − 0.95² = 0.0975, more than 5% (DSE 2015). With twenty tests, the chance of at least one false rejection is 64%. This is why a significant result found after trying many comparisons deserves suspicion.
Next, Lesson 8 puts these ideas to work on the tests you will actually be asked to run.
Definitions and one-step calculations. Most CUET and Hyderabad questions sit here.
Joint tables, standard errors and statement questions, up to JNU and IIT JAM level.
This topic’s hardest questions, from the DSE entrance, are worked through in Lesson 13: Errors, power and the test of a single observation.
These are questions from the TestStop bank. A free account answers 10 a day, each with its worked solution; All-Access opens every set with no daily limit.