CGL CompassSSC CGL Preparation PlannerSign in5 days free
Tier 2 notes

Testing of Hypothesis: Z, t, Chi-square & F: SSC CGL Tier 2 notes summary

A statistical hypothesis is a statement about a population parameter or distribution that can be tested with sample data.

Hypothesis testing is growing fast in Paper II. It gave 2 readable questions on 4 March 2023, about 4 on 27 October 2023 and at least 6 of the 28 readable questions on 19 January 2025: the level of significance as P(Type I error), power as 1 - P(Type II error), one-tailed and two-tailed tests, the critical region, choosing Z, t, χ² or F for a situation, and computing a Z or t statistic. The syllabus names small and large sample tests based on Z, t, chi-square and F.

In brief

Remember
  1. A statistical hypothesis is a statement about a population parameter or distribution that can be tested with sample data.
  2. The null hypothesis H0 states no difference or no effect, and the alternative H1 is what we accept if H0 is rejected.
  3. The alternative is complementary to the null, and it decides whether the test is one-tailed or two-tailed.
  4. H1: μ ≠ μ0 gives a two-tailed test with the critical region split evenly between both tails.
  5. H1: μ > μ0 gives a right-tailed test and H1: μ < μ0 a left-tailed test; both are one-tailed.
  6. A Type I error rejects a true H0, and its probability α is the level of significance, or the size of the test.
  7. A Type II error accepts a false H0, and its probability is β.
  8. The power of a test is 1 - β, the probability of rejecting H0 when it is false.
  9. The critical (rejection) region is the set of sample values that leads to rejecting H0, and its complement is the acceptance region.
  10. The p-value is the smallest level at which H0 would be rejected; reject H0 if the p-value is below α.
  11. Large-sample tests (n > 30) use Z, with critical values 1.96 (two-tailed) and 1.645 (one-tailed) at 5%.
  12. Small-sample tests of means with unknown σ use Student's t with the right degrees of freedom.
  13. Two independent normal samples with equal unknown variances are compared with a t test on n1 + n2 - 2 df.
  14. The chi-square test is used for goodness of fit, independence of attributes and a single variance.
  15. The F test compares two variances and is the basis of ANOVA.
  16. The decision is only 'reject H0' or 'fail to reject H0'; a test never proves H0 true.

Numbers to remember

NumberWhat it is
1.96 / 2.58two-tailed Z critical values at 5% and 1%
1.645 / 2.33one-tailed Z critical values at 5% and 1%
αlevel of significance = P(Type I error) = size of the test
1 - βpower of the test
n - 1df for a one-sample t test
n1 + n2 - 2df for a two-sample t test with pooled variance
(r - 1)(c - 1)df for a chi-square test of independence
k - 1 - mdf for goodness of fit with k classes and m estimated parameters

Key formulas and rules

α = P(Type I) = P(reject H0 | H0 true)
Level of significance.
β = P(Type II); power = 1 - β
Z = (x̄ - μ0)/(σ/√n)
Z = (p̂ - P0)/√(P0Q0/n)
Z = (p̂1 - p̂2)/√[p̂q̂(1/n1 + 1/n2)]
t = (x̄ - μ0)/(s/√n), df n - 1
Two-sample t: df n1 + n2 - 2
χ² = Σ(O - E)²/E

Common traps

Watch out
  • Calling a test of μ < μ0 two-tailed is wrong; it is left-tailed.
  • Calling the critical region the region of acceptance is wrong.
  • Saying the level of significance is 1 - α or P(Type II) is wrong; it is P(Type I).

Solved examples

Q. If two large samples are drawn independently from two populations, which test statistic is appropriate for testing the significance of difference of two proportions? Options: Paired t-test, Z-test, Chi-square test, Two independent sample t-test. (CGL 2022 Tier 2 Statistics, 4 Mar 2023)

Answer: Z-test

Step 1: The samples are large, so sample proportions are approximately normal. Step 2: The difference is standardised with its standard error. Step 3: So the Z test is used.

Q. If x ≥ 1 is the critical region for testing H0: λ = 2 against H1: λ = 1 from a single observation of an exponential population with rate λ, the size of the Type I error is: (CGL 2022 Tier 2 Statistics, 4 Mar 2023)

Answer: e^(-2)

Step 1: Size = P(reject H0 | H0 true) = P(X ≥ 1 | λ = 2). Step 2: For an exponential, P(X ≥ x) = e^(-λx). Step 3: = e^(-2).

Q. The power of a test is: Options: P(Type I error), 1 - P(Type II error), P(Type II error), 1 - P(Type I error). (CGL 2023 Paper II, 27 Oct 2023)

Answer: 1 - P(Type II error)

Step 1: Power is the chance of rejecting H0 when it is false. Step 2: Failing to reject a false H0 is a Type II error with probability β. Step 3: So power = 1 - β.

What the full notes cover

  • Hypotheses and the logic of testing
  • Errors, significance and power
  • Steps of a test
  • Large-sample (Z) tests
  • Small-sample t tests
  • Chi-square tests
  • F test
  • Choosing the right test