RM Study Hub
← Back to Study Hub
Module 03 · Stats & Tests
← Hub
Intuition Pearson r Chi-Square χ² ANOVA Traps Past Papers Calculator Quiz Checklist
Module 03 · Bivariate Analysis & Hypothesis Verification

Statistical Analysis & Hypothesis Testing

High-yield mathematical problem solving. Complete verified numerical solutions for Karl Pearson's correlation coefficient on Father & Son heights ($r = 2/\sqrt{11} \approx +0.6030$), Chi-Square test of uniformity on aircraft accidents ($\chi^2 = 2.1429 < 11.070$), and ANOVA diet vs exercise decoupling.

Jan 2025 (Q5 20M) Nov 2025 (Q7 20M) Pearson r = +0.6030 Chi-Square χ² = 2.1429 One-Way ANOVA

01. Intuition & Concept Contrast

Statistical inference separates genuine experimental signals from random sampling fluctuations.

Analysis Scale

Correlation vs Chi-Square Test

Pearson Correlation ($r$): Evaluates the strength and direction of a linear relationship between two continuous numerical variables ($X, Y \in \mathbb{R}$). $r \in [-1, +1]$.

Chi-Square Goodness-of-Fit ($\chi^2$): Tests whether observed frequency counts across discrete categorical bins conform to a theoretical distribution (e.g. uniform distribution).

Causality Caution

Association vs Causation

Correlation ($r = 0.99$): Measures co-movement. Does NOT prove that $X$ causes $Y$ (could be driven by a lurking confounding variable $Z$).

ANOVA Experimentation ($F = 57.15$): When treatments are assigned randomly under experimental control, significant differences prove direct causality.

02. Karl Pearson's Correlation Coefficient ($r$)

Jan 2025 (Q5.i) Guaranteed 10-Mark Numerical. Father ($X$) and Son ($Y$) heights.

The Product-Moment Correlation Formula
$$r = \frac{\sum_{i=1}^n (X_i - \bar{X})(Y_i - \bar{Y})}{\sqrt{\sum_{i=1}^n (X_i - \bar{X})^2 \sum_{i=1}^n (Y_i - \bar{Y})^2}}$$ Where $\bar{X} = \frac{1}{n}\sum X_i$ and $\bar{Y} = \frac{1}{n}\sum Y_i$.

Step-by-Step Verified Arithmetic ($n = 8$ pairs):

1. Means: $\sum X = 544 \implies \bar{X} = 68.0 \text{ inches}$. $\sum Y = 552 \implies \bar{Y} = 69.0 \text{ inches}$.

2. Sum of squared deviations:

$$\sum (X_i - \bar{X})^2 = (-3)^2 + (-2)^2 + (-1)^2 + (-1)^2 + 0^2 + 1^2 + 2^2 + 4^2 = 9+4+1+1+0+1+4+16 = \mathbf{36}$$ $$\sum (Y_i - \bar{Y})^2 = (-2)^2 + (-1)^2 + (-4)^2 + (-1)^2 + 3^2 + 3^2 + 0^2 + 2^2 = 4+1+16+1+9+9+0+4 = \mathbf{44}$$

3. Sum of cross products:

$$\sum (X_i - \bar{X})(Y_i - \bar{Y}) = 6 + 2 + 4 + 1 + 0 + 3 + 0 + 8 = \mathbf{24}$$

4. Exact algebraic resolution:

$$r = \frac{24}{\sqrt{36 \times 44}} = \frac{24}{6 \sqrt{44}} = \frac{4}{2\sqrt{11}} = \mathbf{\frac{2}{\sqrt{11}} \approx +0.6030}$$

Interpretation: A moderate-to-strong positive linear correlation ($r = +0.6030$). Taller fathers tend to have taller sons.

03. Chi-Square Goodness-of-Fit Test ($\chi^2$)

Jan 2025 (Q5.ii) Guaranteed 10-Mark Problem. Uniform distribution of aircraft accidents.

The Chi-Square Test Statistic
$$\chi^2 = \sum_{i=1}^k \frac{(O_i - E_i)^2}{E_i}, \qquad df = k - 1$$ $O_i$: Observed frequency. $E_i$: Expected frequency under $H_0$.

Step-by-Step Verified Resolution ($k = 6$ days):

1. Total Accidents: $N = 14 + 18 + 12 + 11 + 15 + 14 = \mathbf{84}$.

2. Expected frequency under null hypothesis $H_0$ (uniform distribution):

$$E_i = \frac{N}{k} = \frac{84}{6} = \mathbf{14.0 \text{ accidents per day}}$$

3. Deviations squared $(O_i - E_i)^2$:

  • Mon: $(14 - 14)^2 = 0$
  • Tue: $(18 - 14)^2 = 16$
  • Wed: $(12 - 14)^2 = 4$
  • Thu: $(11 - 14)^2 = 9$
  • Fri: $(15 - 14)^2 = 1$
  • Sat: $(14 - 14)^2 = 0$
  • Sum of squared deviations $= 0 + 16 + 4 + 9 + 1 + 0 = \mathbf{30}$

4. Test statistic calculation:

$$\chi^2_{\text{calc}} = \frac{30}{14} = \frac{15}{7} \approx \mathbf{2.1429}$$

5. Critical value comparison: $df = 6 - 1 = 5$. At $\alpha = 0.05$, critical table value $\chi^2_{0.05, 5} = \mathbf{11.070}$.

$$\mathbf{\chi^2_{\text{calc}} = 2.1429 < \chi^2_{\text{table}} = 11.070 \implies \text{Fail to Reject } H_0}$$

Conclusion: Empirical data confirms accidents are uniformly distributed over the week ($p \approx 0.829$).

04. Decoupling Treatment ANOVA vs. Correlation

Nov 2025 (Q7.i) 10-Mark Interpretation Question. Weight loss study with diets and exercise.

Categorical Factor

Diet Comparison (ANOVA)

Result: $F = 57.15, \quad p = 7.36 \times 10^{-7} \lll 0.001$.

Interpretation: Extremely significant difference among the 3 diets. Because $p < 0.001$, the probability that differences are due to random sampling noise is less than 1 in a million. Diet choice has a decisive causal impact on weight loss.

Continuous Covariate

Exercise Correlation

Result: Pearson $r = 0.9877, \quad p = 7.2 \times 10^{-12}$.

Interpretation: Near-perfect positive linear relationship ($r \approx 0.99$). Daily exercise hours directly scale weight loss. Explains $r^2 \approx 97.5\%$ of variance.

05. Notation Decoding Matrix

Symbol Formal Name Plain-English Meaning Exam Benchmark
$r$ Pearson's Correlation Strength and direction of linear association $r = \frac{2}{\sqrt{11}} \approx +0.6030$
$O_i$ Observed Frequency Empirical count recorded in sample data Tue accidents: $O = 18$
$E_i$ Expected Frequency Theoretical count predicted under null hypothesis Uniform expected: $E = 84 / 6 = \mathbf{14.0}$
$\chi^2_{\text{calc}}$ Calculated Chi-Square Total standardized squared divergence from expectation $\chi^2 = 15/7 \approx \mathbf{2.1429}$
$df$ Degrees of Freedom Number of values free to vary in statistic Chi-square: $k - 1 = 5$

06. Repeatable Step-by-Step Solving Protocol

Step 1: Compute Means $\bar{X}$ and $\bar{Y}$

Ensure means are exact. In the exam problem, $\bar{X} = 68.0$ and $\bar{Y} = 69.0$ are exact integers.

Step 2: Construct Direct Deviation Columns

Create columns $(X - \bar{X})$, $(Y - \bar{Y})$, squared deviations, and cross products. Verify sums of deviations equal zero.

Step 3: Simplify Fraction to Surd Form $$r = \frac{24}{\sqrt{36 \times 44}} = \frac{4}{2\sqrt{11}} = \frac{2}{\sqrt{11}} \approx \mathbf{+0.6030}$$
Step 4: For Chi-Square, State Hypotheses Explicitly

Write $H_0$: Accidents are uniformly distributed; $H_1$: Accidents are not uniformly distributed.

Step 5: Compute $\chi^2$ and Compare with Critical Table Value

Show $\chi^2_{\text{calc}} = 2.14 < \chi^2_{0.05, 5} = 11.070 \implies$ **Fail to reject $H_0$**.

07. 6 Deadly Exam Traps & Common Student Mistakes

Trap 01: Degrees of Freedom in Chi-Square

Using $df = k$ Instead of $k - 1$

Degrees of freedom for a goodness-of-fit test is **$k - 1$**. For 6 days, $df = 6 - 1 = \mathbf{5}$. Using $df = 6$ uses the wrong critical value.

Trap 02: Denominator in Chi-Square

Dividing by $O_i$ Instead of $E_i$

The denominator must be the expected frequency $E_i$ ($\frac{(O-E)^2}{E}$). Dividing by $O_i$ invalidates the statistic.

Trap 03: Inverting Hypothesis Decision Rule

Rejecting $H_0$ When $\chi^2_{\text{calc}} < \chi^2_{\text{table}}$

We reject $H_0$ only when calculated value **EXCEEDS** table value ($\chi^2_{\text{calc}} > \chi^2_{\text{table}}$). Since $2.14 < 11.07$, we **fail to reject $H_0$**.

Trap 04: Correlation Denominator Radical

Forgetting Square Root in $r$ Denominator

The denominator is $\sqrt{\sum dx^2 \sum dy^2}$. Writing $\sum dx^2 \sum dy^2$ yields an absurd number like $0.015$.

Trap 05: Sunday Omission in Accident Data

Assuming 7 Days When Table Gives 6

Read the table carefully! The exam table lists **6 days (Mon to Sat)**, with total 84 accidents. Dividing by 7 gives $E=12$, which is incorrect. Divide by 6 to get $E = 14.0$.

Trap 06: Stating Correlation Proves Causation

Claiming Exercise Directly Causes Diet Weight Loss

Correlation indicates linear association, not mechanistic causality. Only controlled experimental designs prove causality.

08. Complete University Question Bank (All Past PYQs Solved)

Jan 2025 · Question 5.i Karl Pearson's Correlation for Father & Son Heights (10 Marks)
Question Statement:
Calculate correlation coefficient for heights of fathers (X) and sons (Y):
X: [65, 66, 67, 67, 68, 69, 70, 72] | Y: [67, 68, 65, 68, 72, 72, 69, 71] (10 Marks)

Solution:

$i$$X$$Y$$X - \bar{X}$$Y - \bar{Y}$$(X - \bar{X})^2$$(Y - \bar{Y})^2$$(X - \bar{X})(Y - \bar{Y})$
16567-3-294+6
26668-2-141+2
36765-1-4116+4
46768-1-111+1
568720+3090
66972+1+319+3
77069+20400
87271+4+2164+8
Sum54455200364424

$\bar{X} = 544 / 8 = 68.0$, $\bar{Y} = 552 / 8 = 69.0$

$$r = \frac{24}{\sqrt{36 \times 44}} = \frac{24}{6 \times \sqrt{44}} = \frac{4}{2\sqrt{11}} = \frac{2}{\sqrt{11}} \approx \mathbf{+0.6030}$$

Conclusion: Moderate-to-strong positive linear correlation ($r \approx +0.6030$).

Jan 2025 · Question 5.ii Chi-Square Test for Uniform Distribution of Aircraft Accidents (10 Marks)
Question Statement:
Test whether aircraft accidents are uniformly distributed across days of week:
Mon(14), Tue(18), Wed(12), Thu(11), Fri(15), Sat(14). (10 Marks)

Solution:

1. Total: $N = 84$, Days $k = 6 \implies E_i = 84 / 6 = \mathbf{14.0}$.

2. Calculation Table:

Day$O_i$$E_i$$O_i - E_i$$(O_i - E_i)^2$$(O_i - E_i)^2 / E_i$
Mon1414.0000.0000
Tue1814.0+4161.1429
Wed1214.0-240.2857
Thu1114.0-390.6429
Fri1514.0+110.0714
Sat1414.0000.0000
Total8484.00302.1429
$$\chi^2_{\text{calc}} = \frac{30}{14} = \frac{15}{7} \approx \mathbf{2.1429}$$

Degrees of freedom: $df = 6 - 1 = 5$. Critical value: $\chi^2_{0.05, 5} = \mathbf{11.070}$.

Since $\chi^2_{\text{calc}} = 2.1429 < 11.070$, we **fail to reject $H_0$**. Accidents are uniformly distributed over the week.

Nov 2025 · Question 7.i Diet ANOVA ($F = 57.15$) & Exercise Correlation ($r = 0.9877$) Interpretation (10 Marks)
Question Statement:
Nutrition study on 3 diets on weight loss: ANOVA $F = 57.15, p = 7.36 \times 10^{-7}$; Exercise correlation $r = 0.9877, p = 7.2 \times 10^{-12}$. Interpret findings. (10 Marks)

Solution:

  • Diet ANOVA: $p < 0.001$ proves that weight loss differences between the three diets are statistically significant, not caused by chance.
  • Exercise Correlation: $r = 0.9877$ shows an almost perfect linear relationship between exercise hours and weight loss ($R^2 = 97.5\%$).
  • Synthesis: Diet establishes the baseline metabolic environment, while daily exercise acts as a powerful continuous linear multiplier.

09. Interactive Offline Pearson Correlation & Chi-Square Calculator

Test your calculations. Enter paired $(X, Y)$ values or frequency counts to verify statistical test results live.

Click button to compute Chi-Square statistic.

10. Active Recall Self-Test Quiz

Answer the questions below to evaluate progress (0/4 answered).
1. What is Karl Pearson's correlation coefficient for the father and son heights in the January 2025 exam?
Correct: (c) $\sum dxdy = 24$, $\sum dx^2 = 36$, $\sum dy^2 = 44 \implies r = \frac{24}{\sqrt{36 \times 44}} = \frac{2}{\sqrt{11}} \approx \mathbf{+0.6030}$.
2. In the aircraft accident uniform distribution problem, what is the calculated Chi-Square statistic $\chi^2_{\text{calc}}$?
Correct: (b) Total accidents $= 84$, $E = 14.0$, $\sum (O-E)^2 = 30 \implies \chi^2 = \frac{30}{14} \approx \mathbf{2.1429}$.
3. What is the statistical decision for the aircraft accidents test at $\alpha = 0.05$ with $df = 5$ ($\chi^2_{\text{table}} = 11.070$)?
Correct: (a) Because $\chi^2_{\text{calc}} = 2.1429 < 11.070$, the observed variation is well within expected chance variation. We fail to reject $H_0$.
4. In the nutrition study with 3 diets, an ANOVA result of $F = 57.15, p < 0.001$ indicates:
Correct: (c) A very large $F$-ratio ($57.15$) and tiny $p$-value confirm that diet treatments cause significant differences in weight loss.

11. Exam Hall Answer Sheet Presentation Checklist

1. Draw the Full 8-Row Deviation Table for Correlation

Show $X, Y, (X - \bar{X}), (Y - \bar{Y}), dx^2, dy^2, dxdy$ with exact column totals.

2. Box the Exact Fraction and Surd Representation

Write $r = \frac{24}{\sqrt{36 \times 44}} = \frac{2}{\sqrt{11}} \approx \mathbf{+0.6030}$.

3. State Null and Alternative Hypotheses in Words

Write $H_0$: Accidents are uniformly distributed; $H_1$: Accidents are not uniformly distributed.

4. Show Degrees of Freedom and Critical Comparison

Write $df = 6 - 1 = 5$, $\chi^2_{\text{calc}} = 2.14 < \chi^2_{0.05, 5} = 11.070 \implies$ Fail to reject $H_0$.