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

Written 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.

(a) 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) 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) 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) 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) 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) 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) 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.

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 →

How this answer will be evaluated

Approach

Framework: Statistical Inference & Design Theory. (a) justify: claim > 3-4 reasons > evidence > conclusion | (b) explain: definition/context > points in order > small example > short close | (c) explain: definition/context > points in order > small example > short close | (d) explain: definition/context > points in order > small example > short close | (e) explain: definition/context > points in order > small example > short close Full marks: Rigorous derivations, clear identification of strata, correct efficiency calculation.

Key points expected

  • OLS derivation via normal equations
  • Linear transformation of multivariate normal
  • Partial correlation formula
  • Relationship between D² and T²
  • Inclusion probabilities and stratification
  • Connected balanced design properties
  • Efficiency factor calculation

Evaluation rubric

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

  1. (a) Justify least squares principle and derive the estimator formula. 10 marks

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

    Must cover

    • State minimization of sum of squared residuals
    • Differentiate S(β) with respect to β
    • Set derivative to zero for normal equations
    • Solve for β̂ = (X'X)⁻¹X'y

    Loses marks

    • Derivation without stating the objective function
    • Skipping the differentiation step

    Earns more

    • Mention Gauss-Markov theorem context
    • Explicitly define residual vector e = y - Xβ

    Extra mark

    • Mention BLUE property of OLS estimator
  2. (b) Find distribution of linear combination and derive partial correlation formula. 5 marks

    explain— definition/context → points in order → small example → short close

    Must cover

    • Identify linear transformation matrix A
    • State resulting mean and covariance matrix
    • Write formula for ρ₁₂.₃ in terms of simple correlations
    • Substitute simple correlations into the formula

    Loses marks

    • Failing to specify the distribution of the transformed vector
    • Writing the formula without defining the terms

    Earns more

    • Explicitly write the covariance matrix of the new vector
    • Show the intermediate step for the partial correlation

    Extra mark

    • Mention the geometric interpretation of partial correlation
  3. (c) Demonstrate the distributional relationship between Mahalanobis D² and Hotelling's T². 10 marks

    explain— definition/context → points in order → small example → short close

    Must cover

    • Define Mahalanobis D² for two samples
    • Define Hotelling's T² statistic
    • Show the algebraic relationship between D² and T²
    • State the resulting T² distribution with degrees of freedom

    Loses marks

    • Confusing the definitions of D² and T²
    • Failing to show the scaling factor n₁n₂/n

    Earns more

    • Explicitly define the pooled covariance matrix S
    • State the condition n = n₁ + n₂ clearly

    Extra mark

    • Mention the F-distribution transformation of T²
  4. (d) Calculate inclusion probabilities and identify the stratified design structure. 10 marks

    explain— definition/context → points in order → small example → short close

    Must cover

    • Calculate first-order inclusion probabilities πᵢ
    • Calculate second-order inclusion probabilities πᵢⱼ
    • Identify the strata based on the probabilities
    • List the units within each identified stratum

    Loses marks

    • Calculating only first-order probabilities
    • Failing to explicitly identify the strata

    Earns more

    • Present inclusion probabilities in a clear table
    • Explicitly state the strata sizes

    Extra mark

    • Mention the variance reduction property of stratification
  5. (e) Verify the design is connected balanced and calculate its efficiency factor. 10 marks

    explain— definition/context → points in order → small example → short close

    Must cover

    • Verify the design is connected (graph theory)
    • Verify the design is balanced (constant replication)
    • Calculate the efficiency factor E
    • Show that E = 8/9

    Loses marks

    • Failing to verify connectivity
    • Calculating E without showing the formula

    Earns more

    • Draw the incidence graph to show connectivity
    • Show the calculation of the efficiency factor step-by-step

    Extra mark

    • Mention the properties of a connected balanced design

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