Statistics 2024 Paper I 50 marks Compulsory Derive

Paper I — Q5

(a) How will you justify the usage of the principle of least squares in estimating the parameters of a linear regression model?…

(a)

How will you justify the usage of the principle of least squares in estimating the parameters of a linear regression model? With usual notations, for the regression model y = Xβ + ε, show that the least square estimator of β is β̂ = (X'X)⁻¹X'y 10 marks

(b)
(i)

If X̃ is distributed as N₃(μ̃, Σ), find the distribution of [X₁ - X₂; X₂ - X₃]. 5 marks

(ii)

If X₁, X₂ and X₃ are three variables, obtain the expression for the partial correlation coefficient between X₁ and X₂ eliminating the effect of X₃, ρ₁₂·₃, in terms of simple correlation coefficients. 5 marks

(c)

X₁ and X₂ are independent data sets of order (n₁ × p) and (n₂ × p) respectively from Nₚ(μ̃, Σ). Show that (n₁n₂D²)/n is distributed as T²(p, n-2), where n = n₁ + n₂, and T² and D² represent the Hotelling's T² and Mahalanobis D² respectively. 10 marks

(d)

For the population U = {a, b, c, d, e}, consider the following sampling design: P({a, b, d}) = 1/6, P({a, b, e}) = 1/6, P({a, d, e}) = 1/6, P({b, c, d}) = 1/6, P({b, c, e}) = 1/6, P({c, d, e}) = 1/6. Calculate the first-order and second-order inclusion probabilities. Hence show that it is a matter of a stratified design. Identify the strata with their units. 10 marks

(e)

Let the incidence matrix of a design be N = [[1, 1, 1, 0], [1, 1, 0, 1], [1, 0, 1, 1], [0, 1, 1, 1]]. Show that— (i) the design is connected balanced; (ii) its efficiency factor is E = 8/9. (6+4=10 marks)

हिंदी में प्रश्न पढ़ें
(a)

आप एक रैखिक समाश्रयन निदर्श के प्राचलों को आकलित करने में न्यूनतम वर्गों के सिद्धान्त के उपयोग को कैसे उचित ठहरायेंगे? सामान्य संकेतनों के साथ दर्शाइए कि समाश्रयन निदर्श y = Xβ + ε के लिए β का न्यूनतम वर्ग आकलक β̂ = (X'X)⁻¹X'y है। (10 अंक)

(b)
(i)

यदि X̃, N₃(μ̃, Σ) के रूप में बंटित है, तो [X₁ - X₂; X₂ - X₃] का बंटन प्राप्त कीजिए। (5 अंक)

(ii)

यदि X₁, X₂ और X₃ तीन चर हैं, तो X₃ के प्रभाव को समाप्त करते हुए X₁ और X₂ के बीच आंशिक सहसंबंध गुणांक, ρ₁₂·₃, के लिए व्यंजक, सरल सहसंबंध गुणांकों के रूप में, प्राप्त कीजिए। (5 अंक)

(c)

X₁ और X₂, Nₚ(μ̃, Σ) से क्रमशः (n₁ × p) और (n₂ × p) कोटि के स्वतंत्र आंकड़ों के समुच्चय हैं। दर्शाइए कि (n₁n₂D²)/n का बंटन T²(p, n-2) के रूप में हुआ है, जहाँ n = n₁ + n₂ है और T² तथा D² क्रमशः हॉटेलिंग T² तथा महालनोबिस D² को निरूपित करते हैं। (10 अंक)

(d)

समष्टि U = {a, b, c, d, e} के लिए निम्नलिखित प्रतिचयन अभिकल्पना पर विचार कीजिए: P({a, b, d}) = 1/6, P({a, b, e}) = 1/6, P({a, d, e}) = 1/6, P({b, c, d}) = 1/6, P({b, c, e}) = 1/6, P({c, d, e}) = 1/6। प्रथम कोटि तथा द्वितीय कोटि की अंतर्वेश प्रायिकताओं की गणना कीजिए। अतः दर्शाइए कि यह एक स्तरित अभिकल्पना का मामला है। स्तरों को उनकी इकाइयों के साथ चिह्नित कीजिए। (10 अंक)

(e)

मान लीजिए कि एक अभिकल्पना का आपतन आव्यूह N = [[1, 1, 1, 0], [1, 1, 0, 1], [1, 0, 1, 1], [0, 1, 1, 1]] है। दर्शाइए कि— (i) अभिकल्पना संबद्ध संतुलित है; (ii) इसकी दक्षता कारक E = 8/9 है। (6+4=10 अंक)

Q5 of the 2024 UPSC Mains Statistics Paper I, as printed
The question as printed in the 2024 Statistics paper

Model answer

Drafted with AI by UPSC Answer Check against this question's marking rubric, to the expected length. UPSC does not publish answers for Mains — this is one way to score well, not an official key. How we build rubrics and answers.

(a) Justifying Least Squares; Deriving β̂ = (X′X)⁻¹X′y

The principle of least squares is justified because it chooses the parameter vector that makes the fitted regression plane closest to the observed data in the Euclidean sense. The residual sum of squares is

RSS(β) = ∑ᵢ (yᵢ - xᵢ'β)² = (y - Xβ)'(y - Xβ).

Minimizing this does not require normality. Under the Gauss-Markov assumptions E(ε)=0, Var(ε)=σ²I, and X full column rank, the least-squares estimator is the best linear unbiased estimator. If ε is normal, it is also the maximum-likelihood estimator. Geometrically, Xβ̂ is the orthogonal projection of y on the column space of X.

Expand RSS:

RSS(β) = y'y - 2β'X'y + β'X'Xβ.

Differentiate with respect to β:

∂RSS/∂β = -2X'y + 2X'Xβ.

The second derivative 2X'X is positive definite when X has full column rank, so the stationary point is a minimum. Set the derivative to zero:

X'Xβ = X'y.

These are the normal equations. If X'X is nonsingular,

β̂ = (X'X)⁻¹X'y.

Condition of validity: X is of full column rank p, so X'X is invertible.

(b)(i) Distribution of (X₁ − X₂, X₂ − X₃)′

Let

Y = [X₁ - X₂; X₂ - X₃] = A X, where A = [[1, -1, 0], [0, 1, -1]].

If X ~ N₃(μ, Σ), then by the affine transformation property of the multivariate normal distribution,

Y ~ N₂(Aμ, AΣA').

Here μ = (μ₁, μ₂, μ₃)'. Thus

E(Y) = (μ₁ - μ₂, μ₂ - μ₃)'.

Let Σ = (σᵢⱼ). Then

Var(X₁ - X₂) = σ₁₁ + σ₂₂ - 2σ₁₂,

Var(X₂ - X₃) = σ₂₂ + σ₃₃ - 2σ₂₃,

Cov(X₁ - X₂, X₂ - X₃) = σ₁₂ - σ₁₃ - σ₂₂ + σ₂₃.

Hence

Y ~ N₂( (μ₁ - μ₂, μ₂ - μ₃)', [[σ₁₁ + σ₂₂ - 2σ₁₂, σ₁₂ - σ₁₃ - σ₂₂ + σ₂₃], [σ₁₂ - σ₁₃ - σ₂₂ + σ₂₃, σ₂₂ + σ₃₃ - 2σ₂₃]] ).

(b)(ii) Partial Correlation ρ₁₂·₃ in Terms of Simple Correlations

The partial correlation between X₁ and X₂ eliminating X₃ is the correlation between the residuals of X₁ and X₂ after regression on X₃. For the trivariate normal distribution,

Cov(X₁, X₂ | X₃) = σ₁₂ - σ₁₃σ₂₃/σ₃₃,

Var(X₁ | X₃) = σ₁₁ - σ₁₃²/σ₃₃ = σ₁₁(1 - ρ₁₃²),

Var(X₂ | X₃) = σ₂₂ - σ₂₃²/σ₃₃ = σ₂₂(1 - ρ₂₃²).

Therefore

ρ₁₂·₃ = [σ₁₂ - σ₁₃σ₂₃/σ₃₃] / √[(σ₁₁ - σ₁₃²/σ₃₃)(σ₂₂ - σ₂₃²/σ₃₃)].

Divide numerator and denominator by √(σ₁₁σ₂₂). Since ρ₁₂ = σ₁₂/√(σ₁₁σ₂₂), ρ₁₃ = σ₁₃/√(σ₁₁σ₃₃), and ρ₂₃ = σ₂₃/√(σ₂₂σ₃₃),

ρ₁₂·₃ = (ρ₁₂ - ρ₁₃ρ₂₃) / √((1 - ρ₁₃²)(1 - ρ₂₃²)).

This requires |ρ₁₃| < 1 and |ρ₂₃| < 1.

(c) Showing (n₁n₂/n)D² ~ T²(p, n − 2)

Let x̄₁ and x̄₂ be the sample mean vectors of the two independent samples, and let S₁ and S₂ be their sample covariance matrices. Define the pooled covariance matrix

S = [(n₁ - 1)S₁ + (n₂ - 1)S₂]/(n - 2), n = n₁ + n₂.

The Mahalanobis distance is

D² = (x̄₁ - x̄₂)' S⁻¹ (x̄₁ - x̄₂).

We must show that

T² = (n₁n₂/n)D² ~ T²(p, n - 2).

Since the samples are independent and come from Nₚ(μ, Σ),

x̄₁ ~ Nₚ(μ, Σ/n₁), x̄₂ ~ Nₚ(μ, Σ/n₂).

Hence

d = x̄₁ - x̄₂ ~ Nₚ(0, Σ(1/n₁ + 1/n₂)) = Nₚ(0, Σ n/(n₁n₂)).

Let

A = (n₁ - 1)S₁ + (n₂ - 1)S₂.

By the additivity property of Wishart matrices,

A ~ Wₚ(Σ, n - 2),

and A is independent of d. Also S = A/(n - 2).

Now define

y = √(n₁n₂/n) d.

Then y ~ Nₚ(0, Σ). Also

T² = (n₁n₂/n)d'S⁻¹d

= (n₁n₂/n)(n - 2)d'A⁻¹d

= (n - 2)y'A⁻¹y.

By the standard Hotelling T² theorem, if y ~ Nₚ(0, Σ) independently of A ~ Wₚ(Σ, ν), then ν y'A⁻¹y ~ T²(p, ν). Taking ν = n - 2,

(n₁n₂D²)/n ~ T²(p, n − 2).

This is the central Hotelling T² distribution under equality of the two population mean vectors.

(d) Inclusion Probabilities and the Stratified Design

The six possible samples, each with probability 1/6, are

S₁ = {a,b,d}, S₂ = {a,b,e}, S₃ = {a,d,e},

S₄ = {b,c,d}, S₅ = {b,c,e}, S₆ = {c,d,e}.

Count appearances of each unit:

a appears in S₁,S₂,S₃, so π(a) = 3/6 = 1/2.

b appears in S₁,S₂,S₄,S₅, so π(b) = 4/6 = 2/3.

c appears in S₄,S₅,S₆, so π(c) = 3/6 = 1/2.

d appears in S₁,S₃,S₄,S₆, so π(d) = 4/6 = 2/3.

e appears in S₂,S₃,S₅,S₆, so π(e) = 4/6 = 2/3.

Thus

π(a)=1/2, π(b)=2/3, π(c)=1/2, π(d)=2/3, π(e)=2/3.

For second-order inclusion probabilities π(ij), count samples containing both i and j:

π(ab)=2/6=1/3, π(ac)=0, π(ad)=2/6=1/3, π(ae)=2/6=1/3,

π(bc)=2/6=1/3, π(bd)=2/6=1/3, π(be)=2/6=1/3,

π(cd)=2/6=1/3, π(ce)=2/6=1/3, π(de)=2/6=1/3.

This is a stratified design with strata

U₁ = {a,c}, sample size 1,

U₂ = {b,d,e}, sample size 2.

Selecting one unit from U₁ and two units from U₂ by simple random sampling without replacement gives six possible samples, each with probability (1/2)(1/3)=1/6. These are exactly S₁ to S₆. Also π(a)=π(c)=1/2; π(b)=π(d)=π(e)=2/3; within U₁, π(ac)=0; within U₂, π(bd)=π(be)=π(de)=1/3; between strata, the product rule gives 1/3.

Hence the design is stratified with strata {a,c} and {b,d,e}.

(e)(i) The Design Is Connected and Balanced

Let rows of N correspond to treatments and columns to blocks. Each row sum is 3, so each treatment occurs r = 3 times. Each column sum is 3, so each block contains k = 3 treatments.

For any two distinct treatments, the number of blocks containing both is the dot product of the corresponding rows. For example,

row₁·row₂ = 1·1 + 1·1 + 1·0 + 0·1 = 2.

Similarly every off-diagonal row dot product equals 2. Thus every pair of treatments occurs together λ = 2 times. Therefore the design is balanced.

Now

N N' = [[3,2,2,2],[2,3,2,2],[2,2,3,2],[2,2,2,3]] = I + 2J.

The C-matrix is

C = rI - (1/k)N N' = 3I - (1/3)(I + 2J)

= (8/3)I - (2/3)J.

For the vector 1, J1 = 4·1, so C1 = (8/3)1 - (2/3)(4·1) = 0.

For any vector v orthogonal to 1, Jv = 0, so Cv = (8/3)v.

Thus C has rank 3 = v - 1, with only one zero eigenvalue corresponding to the overall mean contrast. Hence all treatment contrasts are estimable and the design is connected.

Therefore the design is connected and balanced.

(e)(ii) Efficiency Factor E = 8/9

For a balanced incomplete block design, the efficiency factor is

E = λv/(rk).

Here v = 4, r = 3, k = 3, and λ = 2. Hence

E = (2 × 4)/(3 × 3) = 8/9.

Equivalently, the non-zero eigenvalue of C is 8/3, so each canonical efficiency factor is

(8/3)/r = (8/3)/3 = 8/9.

Since all non-zero canonical efficiency factors are equal, their harmonic mean is also 8/9.

Therefore E = 8/9.

How this answer will be evaluated

What earns full marks: Rigorous derivations with all steps shown, correct notation, and clear interpretation of results.

Evaluation rubric

Each sub-part is marked on its own, against the marks and word limit printed on the paper.

  1. (a) (a) Justify least squares for a linear regression model and show β̂=(X′X)⁻¹X′y (10 marks) 10 marks

    justify— claim → 3-4 reasons → evidence → conclusion

    Must cover

    • Justification: minimises the residual sum of squares, needs no distributional assumption, geometric projection interpretation
    • Gauss–Markov: under E(ε)=0, Var(ε)=σ²I the LS estimator is BLUE; MLE under normality
    • Expands (y−Xβ)′(y−Xβ) and differentiates to get the normal equations X′Xβ=X′y
    • β̂=(X′X)⁻¹X′y with full column rank and the positive-definite second derivative

    Loses marks

    • Claiming normality is needed for least squares
    • Differentiation errors (e.g. missing the factor 2)

    Earns more

    • States all assumptions of the classical linear model
    • Mentions unbiasedness E(β̂)=β and Var(β̂)=σ²(X′X)⁻¹

    Extra mark

    • Notes the residual vector is orthogonal to the column space of X
  2. (b)(i) (b)(i) Distribution of (X₁−X₂, X₂−X₃)′ when X ~ N₃(μ,Σ) (5 marks) 5 marks

    calculate— given → formula → substitution → result with units → interpretation

    Must cover

    • Writes Y=AX with A=[[1,−1,0],[0,1,−1]]
    • Uses the linear-transformation property: Y ~ N₂(Aμ, AΣA′)
    • Mean vector (μ₁−μ₂, μ₂−μ₃)′
    • Covariance entries σ₁₁+σ₂₂−2σ₁₂, σ₂₂+σ₃₃−2σ₂₃ and σ₁₂−σ₁₃−σ₂₂+σ₂₃

    Loses marks

    • Omitting the covariance term
    • Stating a univariate distribution

    Earns more

    • Notes AΣA′ is positive definite since A has full row rank
    • Clear matrix multiplication

    Extra mark

    • Proof via the MGF/characteristic function
  3. (b)(ii) (b)(ii) Partial correlation ρ₁₂·₃ in terms of simple correlations (5 marks) 5 marks

    derive— given → assumptions → stepwise derivation → result → check

    Must cover

    • Defines ρ₁₂·₃ as the correlation of residuals of X₁ and X₂ after regression on X₃
    • Residual covariance σ₁₂−σ₁₃σ₂₃/σ₃₃ and variances σ₁₁(1−ρ₁₃²), σ₂₂(1−ρ₂₃²)
    • Scales by √(σ₁₁σ₂₂) to express in correlations
    • ρ₁₂·₃=(ρ₁₂−ρ₁₃ρ₂₃)/√[(1−ρ₁₃²)(1−ρ₂₃²)]

    Loses marks

    • Wrong sign in the numerator
    • Missing square root in the denominator

    Earns more

    • States |ρ₁₃|,|ρ₂₃| < 1
    • Alternative derivation via cofactors of the correlation matrix

    Extra mark

    • Interprets a sign reversal between ρ₁₂ and ρ₁₂·₃
  4. (c) (c) Show n₁n₂D²/n ~ T²(p, n−2) for two independent samples from N_p(μ,Σ) (10 marks) 10 marks

    derive— given → assumptions → stepwise derivation → result → check

    Must cover

    • x̄₁−x̄₂ ~ N_p(0, Σ n/(n₁n₂))
    • Pooled A=(n₁−1)S₁+(n₂−1)S₂ ~ W_p(Σ, n−2), independent of x̄₁−x̄₂
    • Standardises y=√(n₁n₂/n)(x̄₁−x̄₂) ~ N_p(0,Σ)
    • Writes n₁n₂D²/n=(n−2)y′A⁻¹y and invokes the Hotelling T² definition

    Loses marks

    • Using separate S₁, S₂ instead of the pooled matrix
    • Wrong degrees of freedom (n or n−1)

    Earns more

    • Defines D² with the pooled covariance matrix
    • States the equal-means condition

    Extra mark

    • Converts to F: (n−p−1)T²/[p(n−2)] ~ F(p, n−p−1)
  5. (d) (d) First- and second-order inclusion probabilities; show the design is stratified and identify strata (10 marks) 10 marks

    calculate— given → formula → substitution → result with units → interpretation

    Must cover

    • π(a)=π(c)=1/2 and π(b)=π(d)=π(e)=2/3
    • π(ac)=0 and all other πᵢⱼ=1/3
    • Recognises strata U₁={a,c} (one unit drawn) and U₂={b,d,e} (two units drawn)
    • Shows SRSWOR within strata reproduces the six samples, each with probability (1/2)(1/3)=1/6

    Loses marks

    • Arithmetic errors in counting samples
    • Identifying wrong strata

    Earns more

    • Checks Σπᵢ=3=n
    • Explains why π(ac)=0 signals units in the same stratum with one draw

    Extra mark

    • Verifies Σⱼ≠ᵢ πᵢⱼ=(n−1)πᵢ
  6. (e)(i) (e)(i) Show the design with the given incidence matrix N is connected balanced (6 marks) 6 marks

    Must cover

    • Row and column sums give r=3 and k=3
    • Every pair of treatments occurs together λ=2 times (NN′=I+2J)
    • C=rI−NN′/k=(8/3)I−(2/3)J
    • Rank C=v−1=3, so all treatment contrasts are estimable: connected and balanced

    Loses marks

    • Asserting balance without computing NN′
    • Confusing rows (treatments) with columns (blocks)

    Earns more

    • Identifies the design as a BIBD (v=b=4, r=k=3, λ=2)
    • Checks λ(v−1)=r(k−1)

    Extra mark

    • Notes the design is symmetric (v=b)
  7. (e)(ii) (e)(ii) Show the efficiency factor E=8/9 (4 marks) 4 marks

    Must cover

    • States E=λv/(rk) for a BIBD
    • Substitutes v=4, λ=2, r=k=3
    • E=8/9
    • Alternatively uses the non-zero eigenvalue 8/3 of C divided by r

    Loses marks

    • Using E=vλ/(bk)
    • Arithmetic error

    Earns more

    • Interprets E as relative efficiency versus an RBD with the same replication
    • Clear arithmetic

    Extra mark

    • Notes all canonical efficiency factors are equal
What "Derive" is asking you to do

Reach the stated expression from a starting relation, justifying every step. The destination is printed in the question, so only the route earns marks, and the assumptions you work under are part of that route.

Structure that answers it

Assumptions and notation defined → starting relation or governing equation → each step with its justification → the required expression → limiting case or boundary check

Where marks are lost

Writing the standard result first and fitting three lines to it, which an examiner reads at a glance. Marks also go on assumptions left unstated — lossless medium, small amplitude, errors independent with zero mean — and on symbols used before they are defined, even when the question says usual notations.

All UPSC directive words, compared →

Practice this exact question

Write your answer and it is marked point by point against the model answer above — what you covered, what you missed, what you got wrong.

Evaluate my answer →

More from Statistics 2024 Paper I

Write this answer and get it marked in about 20 seconds

Free account: 5 AI evaluations a month, marked against the rubric above.

Start free

Already have an account? Log in