Pratidin
2026 · Statistics Optional Paper I · 20 marksMainsQuestion 7b

The following data come from a two-factor random effect model :
Factor A \ Factor B | B₁ | B₂ | B₃
A₁ | 6, 8 | 10, 12 | 14, 16
A₂ | 12, 14 | 16, 18 | 20, 22
(i) Given that the experimentor suspects interaction, write the linear model stating all the assumptions for the above data.
(ii) Clearly stating the hypothesis, carry out the tests for the main effects and interactions giving the complete ANOVA table for the above data.

20 marks · directive: Write

Answer

The core of a good answer

Model y_ijk = μ + aᵢ + bⱼ + (ab)ᵢⱼ + e_ijk with independent normal random effects; the ANOVA gives SS_A = 108, SS_B = 128, SS_AB = 0, SS_E = 12 (total 248), so F_AB = 0 (no interaction), and since MS_AB = 0 the A and B tests are made against the pooled error MS 1.5: F_A = 72 > F₀.₀₅(1, 8) = 5.32 and F_B = 42.67 > F₀.₀₅(2, 8) = 4.46, so both variance components σ_a² and σ_b² are significant.

An outline written by upsc.help, not an official UPSC answer; every fact checked by a separate review. How we work

What the question asks

Part (i): the random-effects model with interaction, its distributional assumptions and the expected mean squares. Part (ii): hypotheses on variance components, the computation of the two-way ANOVA with 2 replicates per cell, and the correct denominators (in a random model the main effects are tested against MS_AB). Here MS_AB = 0 exactly, which must be handled explicitly. Marks 5 + 15.

Answer outline

Introduction

a = 2 levels of A, b = 3 levels of B, n = 2 replicates per cell, N = 12. Grand total G = 168, correction factor CF = 168²/12 = 2352.

Part (i): Model and assumptions

Hypotheses

Step 1: Totals

Step 2: Sums of squares

Step 3: ANOVA table

Step 4: Interaction test

Step 5: Main effects

Conclusion

Interaction is not significant (its sum of squares is exactly zero), while both factors contribute significant variance components. All sums of squares and F ratios were computed in Python; critical values are from the F table in the paper.

Examples and data to cite

Facts

Facts to remember

Sources used for the explanation

Write a timed answer in the app