Menu Close

Properties of estimators: UPSC Statistics Optional PYQ Solutions (1995–2026)

All 43 questions UPSC has asked on properties of estimators in the Statistics Optional (Paper I, Statistical Inference) from 1995 to 2026, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Statistical Inference topic-wise PYQs page.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the numbers were worked out again independently in code (Python with NumPy/SciPy) and matched.
  • ✓ Proof checked step by step for “prove that” and “examine whether” questions, every step was checked against the definitions and the standard theorems.
  • ✓ Derivation checked step by step for derivations and approximations, every step was checked, and the result was also tested numerically.
  • ✓ Answer checked step by step for descriptive questions, every point was checked against the standard theory.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2026 · 1d(ii) 2026 · 3c 2026 · 4a 2025 · 1d 2025 · 3c 2024 · 1d 2022 · 1d 2022 · 2c 2020 · 3a 2019 · 1c 2019 · 2a 2019 · 3a 2017 · 1e 2016 · 3a 2015 · 1c 2014 · 1d 2013 · 1c 2012 · 1e 2012 · 2a 2011 · 1e 2011 · 2c 2010 · 1d 2010 · 2c 2007 · 3a 2006 · 1e 2006 · 3a 2006 · 4c 2005 · 3a 2004 · 1d 2004 · 3a 2003 · 1f 2003 · 3a 2002 · 1d 2002 · 1e 2002 · 4c 2000 · 3b(i) 2000 · 3b(ii) 1998 · 5a(i) 1998 · 5a(ii) 1997 · 6b 1996 · 5b 1996 · 8a 1995 · 1a

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Let X1,X2,⋯,Xn be a random sample from a population with p.d.f. f(x,θ)=θxθ−1;0<x<1,θ>0 Show that ∏i=1nXi is sufficient statistic of θ.

2026 · Paper I · Q1d(ii) · 5 marks

Solution

Likelihood. For 0<xi<10<x_i<1, L(θ)=∏i=1nθxiθ−1=θn(∏i=1nxi)θ−1.L(\theta)=\prod_{i=1}^n\theta x_i^{\theta-1}=\theta^n\Big(\prod_{i=1}^n x_i\Big)^{\theta-1}.

Factorisation. Write L(θ)=g(t,θ)h(x)L(\theta)=g\big(t,\theta\big)\,h(x) with t=∏xit=\prod x_i, g(t,θ)=θntθ−1g(t,\theta)=\theta^n t^{\theta-1} and h(x)=1h(x)=1. The part that involves θ\theta depends on the data only through tt.

So, by the Fisher–Neyman factorisation theorem, ∏i=1nXi\prod_{i=1}^nX_i is sufficient for θ\theta. (So is ∑logXi\sum\log X_i, which is a one-to-one function of it.) ◼\blacksquare

✓ Proof checked step by step Every step was checked against the factorisation theorem.

↑ Back to the question list

Prove that there always exists a sufficient statistic for the one-parameter exponential family of distributions. Using it, show that sample total is sufficient statistic for the parameter for the Poisson model. State whether this estimator is complete.

2026 · Paper I · Q3c · 15 marks

Solution

One-parameter exponential family. A density (or p.m.f.) belongs to it if f(x,θ)=exp{c(θ)T(x)+d(θ)+S(x)},x∈A,f(x,\theta)=\exp\{c(\theta)T(x)+d(\theta)+S(x)\},\qquad x\in A, where the support AA does not depend on θ\theta.

A sufficient statistic always exists. For a sample X1,…,XnX_1,\dots,X_n, L(θ)=exp{c(θ)∑i=1nT(xi)+nd(θ)}⋅exp{∑i=1nS(xi)}=g(∑T(xi),θ)h(x).L(\theta)=\exp\Big\{c(\theta)\sum_{i=1}^nT(x_i)+n\,d(\theta)\Big\}\cdot\exp\Big\{\sum_{i=1}^nS(x_i)\Big\}=g\Big(\sum T(x_i),\theta\Big)\,h(x). By the factorisation theorem, ∑i=1nT(Xi)\sum_{i=1}^nT(X_i) is sufficient for θ\theta. ◼\blacksquare

Poisson model. f(x,θ)=e−θθxx!=exp{xlogθ−θ−logx!},x=0,1,2,…f(x,\theta)=\frac{e^{-\theta}\theta^x}{x!}=\exp\{x\log\theta-\theta-\log x!\},\qquad x=0,1,2,\dots Here c(θ)=logθc(\theta)=\log\theta, T(x)=xT(x)=x, d(θ)=−θd(\theta)=-\theta, S(x)=−logx!S(x)=-\log x!. So the sample total T=∑XiT=\sum X_i is sufficient for θ\theta.

Completeness. T∼P(nθ)T\sim P(n\theta). Suppose Eθg(T)=0E_\theta g(T)=0 for all θ>0\theta>0: ∑t=0∞g(t)e−nθ(nθ)tt!=0⇔∑t=0∞g(t)ntt!θt=0for all θ>0.\sum_{t=0}^\infty g(t)\frac{e^{-n\theta}(n\theta)^t}{t!}=0\iff\sum_{t=0}^\infty\frac{g(t)n^t}{t!}\theta^t=0\quad\text{for all }\theta>0. A power series that vanishes on an interval has all coefficients zero, so g(t)=0g(t)=0 for every tt. Hence TT is complete (a complete sufficient statistic for θ\theta).

✓ Proof checked step by step Every step was checked: the factorisation for the general family, and completeness from the power-series argument for the Poisson total.

↑ Back to the question list

Let X1,X2,⋯,Xn be i.i.d. random variables following N(μ,σ2). Find the maximum likelihood estimator for σ2 and examine whether the same is unbiased. If biased, suggest an unbiased estimator for σ2 and examine whether it is consistent. Also compare the mean squared errors of the estimators.

2026 · Paper I · Q4a · 20 marks

Solution

MLE. With μ\mu also unknown, logL=−n2log(2πσ2)−∑(xi−μ)22σ2\log L=-\tfrac n2\log(2\pi\sigma^2)-\dfrac{\sum(x_i-\mu)^2}{2\sigma^2}. Setting the derivatives to zero gives μ̂=x‾\hat\mu=\bar x and σ̂2=1n∑i=1n(Xi−X‾)2.\hat\sigma^2=\frac1n\sum_{i=1}^n(X_i-\bar X)^2.

Bias. Since ∑(Xi−X‾)2/σ2∼χn−12\sum(X_i-\bar X)^2/\sigma^2\sim\chi^2_{n-1}, E(σ̂2)=n−1nσ2≠σ2.E(\hat\sigma^2)=\frac{n-1}{n}\sigma^2\neq\sigma^2 . So the MLE is biased (bias −σ2/n-\sigma^2/n).

Unbiased estimator. S2=1n−1∑(Xi−X‾)2S^2=\dfrac1{n-1}\sum(X_i-\bar X)^2 has E(S2)=σ2E(S^2)=\sigma^2.

Consistency of S2S^2. V(χn−12)=2(n−1)V(\chi^2_{n-1})=2(n-1), so V(S2)=σ4(n−1)2⋅2(n−1)=2σ4n−1→0.V(S^2)=\frac{\sigma^4}{(n-1)^2}\cdot2(n-1)=\frac{2\sigma^4}{n-1}\to0 . An unbiased estimator whose variance tends to 0 is consistent (by Chebyshev’s inequality). So S2S^2 is consistent.

Mean squared errors. For S2S^2 the MSE is its variance, 2σ4n−1\dfrac{2\sigma^4}{n-1}. For σ̂2=n−1nS2\hat\sigma^2=\frac{n-1}nS^2, MSE(σ̂2)=V+bias2=2(n−1)σ4n2+σ4n2=(2n−1)σ4n2.\text{MSE}(\hat\sigma^2)=V+\text{bias}^2=\frac{2(n-1)\sigma^4}{n^2}+\frac{\sigma^4}{n^2}=\frac{(2n-1)\sigma^4}{n^2}.

Comparison. 2n−1n2<2n−1⇔(2n−1)(n−1)<2n2⇔1<3n,\frac{2n-1}{n^2}<\frac2{n-1}\iff(2n-1)(n-1)<2n^2\iff1<3n, which is always true. So the biased MLE has the smaller mean squared error for every nn. Unbiasedness alone does not make an estimator better on MSE.

✓ Checked by computer We checked the bias and both mean squared errors by simulation in Python (n = 10, σ² = 4, 400,000 samples): MSE of the MLE 3.034 against (2n−1)σ⁴/n² = 3.04, and MSE of S² 3.549 against 2σ⁴/(n−1) = 3.556.

↑ Back to the question list

Let X1,X2,…,Xn be a random sample from normal N(μ,σ2) distribution. Obtain sufficient statistic for parameters (μ,σ2) when both the parameters are unknown. If σ2 is known, what will be sufficient statistic for parameter μ?

2025 · Paper I · Q1d · 10 marks

Solution

Both parameters unknown. L(μ,σ2)=(2πσ2)−n/2exp{−12σ2(∑xi2−2μ∑xi+nμ2)}.L(\mu,\sigma^2)=(2\pi\sigma^2)^{-n/2}\exp\Big\{-\frac{1}{2\sigma^2}\Big(\sum x_i^2-2\mu\sum x_i+n\mu^2\Big)\Big\}. This depends on the data only through (∑xi,∑xi2)\big(\sum x_i,\ \sum x_i^2\big), with h(x)=1h(x)=1. So (∑Xi,∑Xi2)\big(\sum X_i,\sum X_i^2\big) is jointly sufficient for (μ,σ2)(\mu,\sigma^2). Equivalently, (X‾,S2)(\bar X,S^2) is sufficient, since it is a one-to-one function of it.

σ2\sigma^2 known. Now L(μ)=exp{μ∑xiσ2−nμ22σ2}⏟g(∑xi,μ)⋅(2πσ2)−n/2exp{−∑xi22σ2}⏟h(x).L(\mu)=\underbrace{\exp\Big\{\frac{\mu\sum x_i}{\sigma^2}-\frac{n\mu^2}{2\sigma^2}\Big\}}_{g(\sum x_i,\mu)}\cdot\underbrace{(2\pi\sigma^2)^{-n/2}\exp\Big\{-\frac{\sum x_i^2}{2\sigma^2}\Big\}}_{h(x)}. So ∑Xi\sum X_i (or X‾\bar X) is sufficient for μ\mu.

✓ Proof checked step by step Every step was checked against the factorisation theorem.

↑ Back to the question list

Let X1,X2,…,Xn be a random sample from beta distribution of first kind β(1,θ),θ>0. Find consistent estimator of θ, and its variance also.

2025 · Paper I · Q3c · 15 marks

Solution

Density. β1(1,θ)\beta_1(1,\theta) has f(x)=θ(1−x)θ−1f(x)=\theta(1-x)^{\theta-1}, 0<x<10<x<1.

A useful transformation. Let Y=−log(1−X)Y=-\log(1-X). Then for y>0y>0, P(Y>y)=P(X>1−e−y)=∫1−e−y1θ(1−x)θ−1dx=e−θy.P(Y>y)=P(X>1-e^{-y})=\int_{1-e^{-y}}^1\theta(1-x)^{\theta-1}dx=e^{-\theta y}. So Y∼Y\sim exponential with rate θ\theta, and W=∑i=1nYi∼W=\sum_{i=1}^nY_i\sim Gamma(n,θ)(n,\theta).

Estimator. The log-likelihood is nlogθ+(θ−1)∑log(1−xi)n\log\theta+(\theta-1)\sum\log(1-x_i). Setting its derivative to zero gives the MLE θ̂=nW=−n∑i=1nlog(1−Xi).\hat\theta=\frac{n}{W}=\frac{-n}{\sum_{i=1}^n\log(1-X_i)}.

Consistency. By the weak law of large numbers, W/n→PE(Y)=1/θW/n\xrightarrow{P}E(Y)=1/\theta. Since u↦1/uu\mapsto1/u is continuous at 1/θ1/\theta, θ̂=1/(W/n)→Pθ\hat\theta=1/(W/n)\xrightarrow{P}\theta. So θ̂\hat\theta is consistent.

Variance. For W∼W\sim Gamma(n,θ)(n,\theta), E(W−1)=θn−1E(W^{-1})=\dfrac{\theta}{n-1} and E(W−2)=θ2(n−1)(n−2)E(W^{-2})=\dfrac{\theta^2}{(n-1)(n-2)} (for n>2n>2). So E(θ̂)=nθn−1,V(θ̂)=n2θ2[1(n−1)(n−2)−1(n−1)2]=n2θ2(n−1)2(n−2).E(\hat\theta)=\frac{n\theta}{n-1},\qquad V(\hat\theta)=n^2\theta^2\Big[\frac1{(n-1)(n-2)}-\frac1{(n-1)^2}\Big]=\frac{n^2\theta^2}{(n-1)^2(n-2)}. This tends to 0, which confirms consistency. The bias-corrected version n−1W\dfrac{n-1}{W} is unbiased, with variance θ2n−2\dfrac{\theta^2}{n-2}.

(The method of moments gives another consistent estimator. E(X)=11+θE(X)=\dfrac1{1+\theta}, so θ̃=1X‾−1\tilde\theta=\dfrac1{\bar X}-1. Its large-sample variance, by the delta method, is θ(1+θ)2n(θ+2)\dfrac{\theta(1+\theta)^2}{n(\theta+2)}, which is larger than θ2/n\theta^2/n for the MLE.)

✓ Checked by computer We checked in Python that −log(1−X) is exponential with rate θ (Kolmogorov–Smirnov test), and the exact mean and variance of θ̂ by simulation (θ = 2, n = 12: mean 2.181, variance 0.474 against 2.182 and 0.476).

↑ Back to the question list

Write the criterion of a good estimator. Let X1,X2 be iid P(λ) random variables, then show that T=X1+X2 is sufficient while T=X1+2X2 is not sufficient for estimating λ.

2024 · Paper I · Q1d · 10 marks

Solution

Criteria of a good estimator.

  1. Unbiasedness: E(T)=θE(T)=\theta.
  2. Consistency: Tn→PθT_n\xrightarrow{P}\theta as n→∞n\to\infty.
  3. Efficiency: among unbiased estimators, the smallest variance.
  4. Sufficiency: TT uses all the information in the sample about θ\theta.

T=X1+X2T=X_1+X_2 is sufficient. T∼P(2λ)T\sim P(2\lambda). For x1+x2=tx_1+x_2=t, P(X1=x1,X2=x2∣T=t)=e−λλx1x1!⋅e−λλx2x2!e−2λ(2λ)tt!=(tx1)(12)t,P(X_1=x_1,X_2=x_2\mid T=t)=\frac{\dfrac{e^{-\lambda}\lambda^{x_1}}{x_1!}\cdot\dfrac{e^{-\lambda}\lambda^{x_2}}{x_2!}}{\dfrac{e^{-2\lambda}(2\lambda)^t}{t!}}=\binom{t}{x_1}\Big(\frac12\Big)^t, which is free of λ\lambda. So TT is sufficient.

T=X1+2X2T=X_1+2X_2 is not sufficient. The value T=2T=2 comes from (x1,x2)=(2,0)(x_1,x_2)=(2,0) or (0,1)(0,1): P(2,0)=e−2λλ22,P(0,1)=e−2λλ.P(2,0)=\frac{e^{-2\lambda}\lambda^2}{2},\qquad P(0,1)=e^{-2\lambda}\lambda. So P(X1=2,X2=0∣T=2)=λ2/2λ2/2+λ=λλ+2,P(X_1=2,X_2=0\mid T=2)=\frac{\lambda^2/2}{\lambda^2/2+\lambda}=\frac{\lambda}{\lambda+2}, which depends on λ\lambda. So X1+2X2X_1+2X_2 is not sufficient.

✓ Checked by computer We computed the conditional probabilities exactly in Python for λ = 0.5, 1, 3. P(X₁ = 2 | X₁ + 2X₂ = 2) came out 0.2, 0.333, 0.6, matching λ/(λ+2).

↑ Back to the question list

Let T1 and T2 be two unbiased estimators of θ with Var(T1)=Var(T2), then show that Corr(T1,T2)≥2e−1, where e is the efficiency of each estimator.

2022 · Paper I · Q1d · 10 marks

Solution

Setting. Let V=V(T1)=V(T2)V=V(T_1)=V(T_2) and ρ=Corr(T1,T2)\rho=\text{Corr}(T_1,T_2). Let V0V_0 be the smallest variance of any unbiased estimator of θ\theta (the variance of the most efficient estimator). The efficiency of each estimator is e=V0/Ve=V_0/V, so V0=eVV_0=eV.

A third unbiased estimator. T=12(T1+T2)T=\tfrac12(T_1+T_2) is unbiased for θ\theta, and V(T)=14(V+V+2ρV)=V(1+ρ)2.V(T)=\frac14\big(V+V+2\rho V\big)=\frac{V(1+\rho)}2 .

The bound. No unbiased estimator has variance below V0V_0, so V(1+ρ)2≥eV⇔1+ρ≥2e⇔ρ≥2e−1.◼\frac{V(1+\rho)}2\ge eV\iff1+\rho\ge2e\iff\rho\ge2e-1.\qquad\blacksquare In particular, if both estimators are fully efficient (e=1e=1), then ρ=1\rho=1: they are equal with probability 1.

✓ Proof checked step by step Every step was checked: the average of the two estimators is unbiased, so its variance cannot fall below the minimum variance.

↑ Back to the question list

Let X1<X2<X3 be the order statistics from uniform population having probability density function f(x;θ)=1θ,0<x<θ. Show that 4X1 is an unbiased estimator of θ.

2022 · Paper I · Q2c · 15 marks

Solution

Density of X(1)X_{(1)}. For a sample of size 3 from U(0,θ)U(0,\theta), P(X(1)>x)=(1−xθ)3P(X_{(1)}>x)=\big(1-\tfrac x\theta\big)^3. So f(1)(x)=3θ(1−xθ)2,0<x<θ.f_{(1)}(x)=\frac3\theta\Big(1-\frac x\theta\Big)^2,\qquad0<x<\theta .

Mean. Put x=θux=\theta u: E(X(1))=∫0θx⋅3θ(1−xθ)2dx=3θ∫01u(1−u)2du=3θ⋅112=θ4.E(X_{(1)})=\int_0^\theta x\cdot\frac3\theta\Big(1-\frac x\theta\Big)^2dx=3\theta\int_0^1u(1-u)^2du=3\theta\cdot\frac1{12}=\frac\theta4 .

So E(4X(1))=θE(4X_{(1)})=\theta, and 4X(1)4X_{(1)} is unbiased for θ\theta. ◼\blacksquare

✓ Checked by computer We checked E(X₍₁₎) = θ/4 exactly with SymPy, and by simulation (θ = 5: mean of 4X₍₁₎ 4.996).

↑ Back to the question list

Let X1,X2,…,Xn be a random sample from uniform distribution U(θ−12,θ+12). Show that Y=(X(1),X(n)) is sufficient statistic for θ but not complete, where X(1)=min.(X1,X2,…,Xn)X(n)=max.(X1,X2,…,Xn)

2020 · Paper I · Q3a · 20 marks

Solution

Likelihood. Each density is 1 on (θ−12,θ+12)(\theta-\tfrac12,\theta+\tfrac12). So L(θ)=∏i=1nI(θ−12<xi<θ+12)=I(x(n)−12<θ<x(1)+12).L(\theta)=\prod_{i=1}^nI\big(\theta-\tfrac12<x_i<\theta+\tfrac12\big)=I\big(x_{(n)}-\tfrac12<\theta<x_{(1)}+\tfrac12\big).

Sufficient. LL depends on the data only through (x(1),x(n))(x_{(1)},x_{(n)}) (with h(x)=1h(x)=1). By the factorisation theorem, Y=(X(1),X(n))Y=(X_{(1)},X_{(n)}) is sufficient for θ\theta.

Not complete. Write Xi=θ−12+UiX_i=\theta-\tfrac12+U_i with Ui∼U(0,1)U_i\sim U(0,1). The range R=X(n)−X(1)=U(n)−U(1)R=X_{(n)}-X_{(1)}=U_{(n)}-U_{(1)} has a distribution free of θ\theta, with E(R)=nn+1−1n+1=n−1n+1E(R)=\dfrac n{n+1}-\dfrac1{n+1}=\dfrac{n-1}{n+1}. Take g(Y)=X(n)−X(1)−n−1n+1.g(Y)=X_{(n)}-X_{(1)}-\frac{n-1}{n+1}. Then Eθg(Y)=0E_\theta\,g(Y)=0 for every θ\theta, but g(Y)g(Y) is not 0 with probability 1 (the range is continuous). So YY is not complete. ◼\blacksquare

(Here YY is in fact minimal sufficient. This is a standard example of a minimal sufficient statistic that is not complete.)

✓ Proof checked step by step Every step was checked: sufficiency from the factorisation of the indicator, and non-completeness with a non-zero function whose mean is 0 for every θ (its mean, (n−1)/(n+1), was also checked by simulation).

↑ Back to the question list

Suppose X1 and X2 are independent and identically distributed (i.i.d) observations from the pdf given by f(x,α)=αxα−1e−xα,x>0,α>0. Show that (logX1)(logX2) is an ancillary statistic.

2019 · Paper I · Q1c · 10 marks

Solution

A transformation. Let Y=XαY=X^\alpha. For y>0y>0, P(Y>y)=P(X>y1/α)=∫y1/α∞αxα−1e−xαdx=e−y.P(Y>y)=P\big(X>y^{1/\alpha}\big)=\int_{y^{1/\alpha}}^\infty\alpha x^{\alpha-1}e^{-x^\alpha}dx=e^{-y}. So Y1=X1αY_1=X_1^\alpha and Y2=X2αY_2=X_2^\alpha are i.i.d. standard exponential, whatever the value of α\alpha.

The ratio. logXi=1αlogYi\log X_i=\frac1\alpha\log Y_i, so logX1logX2=1αlogY11αlogY2=logY1logY2.\frac{\log X_1}{\log X_2}=\frac{\frac1\alpha\log Y_1}{\frac1\alpha\log Y_2}=\frac{\log Y_1}{\log Y_2}. The right side is a function of (Y1,Y2)(Y_1,Y_2) only, and their joint distribution does not involve α\alpha. So the distribution of logX1logX2\dfrac{\log X_1}{\log X_2} does not depend on α\alpha: it is an ancillary statistic. ◼\blacksquare

(The idea: logX\log X belongs to a scale family with scale 1/α1/\alpha, and a ratio cancels the scale.)

✓ Proof checked step by step Every step was checked: X^α is a standard exponential, so the ratio does not involve α (also confirmed by simulation: the distribution of the ratio is the same for α = 0.5 and α = 3).

↑ Back to the question list

X1,…,Xn is a random sample from probability density function f(x∣θ)=θx−2,0<θ≤x<∞. (i) What is a sufficient statistic for θ? (ii) Find the Maximum Likelihood Estimate (MLE) of θ. (iii) Find the Method of Moments (MoM) estimate of θ.

2019 · Paper I · Q2a · 20 marks

Solution

Likelihood. L(θ)=θn∏i=1nxi−2⋅I(x(1)≥θ).L(\theta)=\theta^n\prod_{i=1}^nx_i^{-2}\cdot I\big(x_{(1)}\ge\theta\big).

(i) Sufficient statistic. The factor with θ\theta, θnI(x(1)≥θ)\theta^nI(x_{(1)}\ge\theta), depends on the data only through x(1)x_{(1)}. So X(1)=minXiX_{(1)}=\min X_i is sufficient for θ\theta.

(ii) MLE. L(θ)=θn×L(\theta)=\theta^n\times (constant) for θ≤x(1)\theta\le x_{(1)}, and L=0L=0 for θ>x(1)\theta>x_{(1)}. Since θn\theta^n increases with θ\theta, the maximum is at the largest allowed value: θ̂MLE=X(1).\hat\theta_{\text{MLE}}=X_{(1)} .

(iii) Method of moments. E(X)=∫θ∞x⋅θx−2dx=θ∫θ∞dxx=∞.E(X)=\int_\theta^\infty x\cdot\theta x^{-2}dx=\theta\int_\theta^\infty\frac{dx}x=\infty . The mean does not exist, so the usual method of moments (equating X‾\bar X to E(X)E(X)) cannot be used.

We can apply the same idea to a moment that does exist: E(1X)=∫θ∞θx−3dx=12θ.E\Big(\frac1X\Big)=\int_\theta^\infty\theta x^{-3}dx=\frac1{2\theta}. Equating this to the sample mean of 1/Xi1/X_i gives θ̃=n2∑i=1n1/Xi.\tilde\theta=\frac{n}{2\sum_{i=1}^n1/X_i}.

✓ Derivation checked step by step Every step was checked. The density, its divergent mean, and the moment estimator from E(1/X) = 1/(2θ) were also checked numerically.

↑ Back to the question list

Let X be one observation from the pdf f(x∣θ)=(θ2)|x|(1−θ)1−|x|,x=−1,0,1,0≤θ≤1. (i) Is X a complete sufficient statistic? Check also if |X| is a complete sufficient statistic. (ii) Does f(x∣θ) belong to exponential class? (iii) Find the MLE of θ.

2019 · Paper I · Q3a · 20 marks

Solution

The model. P(X=−1)=P(X=1)=θ2P(X=-1)=P(X=1)=\dfrac\theta2 and P(X=0)=1−θP(X=0)=1-\theta. So |X|∼|X|\sim Bernoulli(θ)(\theta).

(i) Is XX complete sufficient? XX is the whole sample, so it is trivially sufficient. But it is not complete. Take g(X)=Xg(X)=X: Eθ(X)=(−1)θ2+0⋅(1−θ)+1⋅θ2=0for all θ,E_\theta(X)=(-1)\frac\theta2+0\cdot(1-\theta)+1\cdot\frac\theta2=0\quad\text{for all }\theta, yet P(X≠0)=θ>0P(X\ne0)=\theta>0 for θ>0\theta>0.

Is |X||X| complete sufficient? f(x∣θ)f(x\mid\theta) depends on xx only through |x||x|, so |X||X| is sufficient (factorisation with h=1h=1). For completeness, suppose Eθg(|X|)=0E_\theta\,g(|X|)=0 for all θ∈[0,1]\theta\in[0,1]: g(0)(1−θ)+g(1)θ=0for all θ.g(0)(1-\theta)+g(1)\theta=0\quad\text{for all }\theta . θ=0\theta=0 gives g(0)=0g(0)=0, and θ=1\theta=1 gives g(1)=0g(1)=0. So |X||X| is complete sufficient.

(ii) Exponential class. For 0<θ<10<\theta<1, f(x∣θ)=exp{|x|logθ2(1−θ)+log(1−θ)},x∈{−1,0,1}.f(x\mid\theta)=\exp\Big\{|x|\log\frac{\theta}{2(1-\theta)}+\log(1-\theta)\Big\},\qquad x\in\{-1,0,1\}. This is exp{c(θ)T(x)+d(θ)}\exp\{c(\theta)T(x)+d(\theta)\} with T(x)=|x|T(x)=|x|, and the support does not depend on θ\theta. So yes, it belongs to the one-parameter exponential class for 0<θ<10<\theta<1. (At θ=0\theta=0 or 11 the support shrinks, so the endpoints must be excluded.)

(iii) MLE. With one observation:

  • If X=0X=0, the likelihood is 1−θ1-\theta, which is largest at θ=0\theta=0.
  • If X=±1X=\pm1, the likelihood is θ/2\theta/2, which is largest at θ=1\theta=1.

So θ̂=|X|\hat\theta=|X|.

✓ Proof checked step by step Every step was checked. The expected values in the completeness arguments and the maximisation of the likelihood were also verified with SymPy.

↑ Back to the question list

Let X1,X2,⋯,Xn be a random sample from uniform population over (0,θ) and let M=Max(X1,X2,⋯,Xn). Show that M is a biased but consistent estimator of θ.

2017 · Paper I · Q1e · 10 marks

Solution

Distribution of MM. P(M≤m)=(m/θ)nP(M\le m)=(m/\theta)^n for 0<m<θ0<m<\theta, so fM(m)=nmn−1θnf_M(m)=\dfrac{nm^{n-1}}{\theta^n}.

Biased. E(M)=∫0θm⋅nmn−1θndm=nn+1θ≠θ.E(M)=\int_0^\theta m\cdot\frac{nm^{n-1}}{\theta^n}dm=\frac{n}{n+1}\theta\ne\theta . The bias is −θ/(n+1)-\theta/(n+1).

Consistent. For 0<ε<θ0<\varepsilon<\theta, MM never exceeds θ\theta, so P(|M−θ|>ε)=P(M<θ−ε)=(θ−εθ)n→0(n→∞).P(|M-\theta|>\varepsilon)=P(M<\theta-\varepsilon)=\Big(\frac{\theta-\varepsilon}{\theta}\Big)^n\to0\quad(n\to\infty). So M→PθM\xrightarrow{P}\theta: MM is consistent though biased. ◼\blacksquare

(An unbiased version is n+1nM\frac{n+1}{n}M.)

✓ Checked by computer We checked E(M) = nθ/(n+1) and the tail probability ((θ−ε)/θ)ⁿ by simulation (θ = 2, ε = 0.1, n = 5, 20, 80).

↑ Back to the question list

Given a random sample (X1,X2,…,Xn) from N(μ,σ2) with all parameters unknown. Write down the likelihood function L(μ,σ2). Show that for all (μ,σ2) L(1n∑i=1nXi,1n∑i=1n(Xi−X‾)2)≥L(μ,σ2) and comment. Now find for any ε>0 P{|1n∑i=1nXi−μ|>ε} and hence establish that 1n∑i=1nXi is a consistent estimator of μ.

2016 · Paper I · Q3a · 20 marks

Solution

Likelihood. L(μ,σ2)=(2πσ2)−n/2exp{−12σ2∑i=1n(xi−μ)2}.L(\mu,\sigma^2)=(2\pi\sigma^2)^{-n/2}\exp\Big\{-\frac1{2\sigma^2}\sum_{i=1}^n(x_i-\mu)^2\Big\}.

The inequality. Let s=1n∑(xi−x‾)2s=\frac1n\sum(x_i-\bar x)^2. Since ∑(xi−μ)2=∑(xi−x‾)2+n(x‾−μ)2≥ns,\sum(x_i-\mu)^2=\sum(x_i-\bar x)^2+n(\bar x-\mu)^2\ge ns, we have L(μ,σ2)≤(2πσ2)−n/2e−ns/(2σ2)=:ℓ(σ2).L(\mu,\sigma^2)\le(2\pi\sigma^2)^{-n/2}e^{-ns/(2\sigma^2)}=:\ell(\sigma^2). Now maximise ℓ\ell over v=σ2v=\sigma^2: logℓ=−n2log(2πv)−ns2v\log\ell=-\frac n2\log(2\pi v)-\frac{ns}{2v} has derivative −n2v+ns2v2-\frac n{2v}+\frac{ns}{2v^2}. This is positive for v<sv<s and negative for v>sv>s, so the maximum is at v=sv=s. Hence L(μ,σ2)≤ℓ(σ2)≤ℓ(s)=L(x‾,s)for all (μ,σ2).◼L(\mu,\sigma^2)\le\ell(\sigma^2)\le\ell(s)=L(\bar x,s)\quad\text{for all }(\mu,\sigma^2).\qquad\blacksquare

Comment. (X‾,1n∑(Xi−X‾)2)(\bar X,\ \frac1n\sum(X_i-\bar X)^2) is the global maximum of the likelihood, so it is the maximum likelihood estimator of (μ,σ2)(\mu,\sigma^2). The MLE of σ2\sigma^2 divides by nn, not n−1n-1, so it is slightly biased.

Consistency of X‾\bar X. X‾∼N(μ,σ2/n)\bar X\sim N(\mu,\sigma^2/n), so P(|X‾−μ|>ε)=2[1−Φ(εnσ)].P\big(|\bar X-\mu|>\varepsilon\big)=2\Big[1-\Phi\Big(\frac{\varepsilon\sqrt n}{\sigma}\Big)\Big]. As n→∞n\to\infty, εn/σ→∞\varepsilon\sqrt n/\sigma\to\infty and Φ→1\Phi\to1, so this probability tends to 0. Hence X‾\bar X is a consistent estimator of μ\mu.

✓ Proof checked step by step Every step was checked: the sum-of-squares split, the one-variable maximisation, and the normal tail probability.

↑ Back to the question list

Define a sufficient statistic. If X1 and X2 are Bernoulli (p) random variables, examine the sufficiency of T1 and T2 for p where T1=X1+X2 and T2=X1+5X2.

2015 · Paper I · Q1c · 10 marks

Solution

Definition. A statistic TT is sufficient for pp if the conditional distribution of the sample, given TT, does not depend on pp.

T1=X1+X2T_1=X_1+X_2. T1∼B(2,p)T_1\sim B(2,p). For x1+x2=tx_1+x_2=t, P(X1=x1,X2=x2∣T1=t)=pt(1−p)2−t(2t)pt(1−p)2−t=1(2t),P(X_1=x_1,X_2=x_2\mid T_1=t)=\frac{p^t(1-p)^{2-t}}{\binom2tp^t(1-p)^{2-t}}=\frac1{\binom2t}, free of pp. So T1T_1 is sufficient.

T2=X1+5X2T_2=X_1+5X_2. Its possible values are (0,0)→0,(1,0)→1,(0,1)→5,(1,1)→6.(0,0)\to0,\quad(1,0)\to1,\quad(0,1)\to5,\quad(1,1)\to6 . All four values are different, so T2T_2 determines (X1,X2)(X_1,X_2) exactly. Given T2T_2, the sample is known, and its conditional distribution (a point mass) is free of pp. So T2T_2 is also sufficient.

Comment. T2T_2 is sufficient but not minimal: it keeps information (X1X_1 and X2X_2 separately) that T1T_1 shows is not needed. Compare the Poisson case, where X1+2X2X_1+2X_2 is not sufficient, because different sample points give the same value of the statistic.

✓ Proof checked step by step Every step was checked: both conditional distributions were worked out directly. We also listed the four values of T₂ in Python to confirm they are distinct.

↑ Back to the question list

Let X1 and X2 be i.i.d. random variables and each has probability density function f(x;θ)=1θexp(−xθ),x≥0,θ>0;=0,otherwise. If U1=0.6X1+0.4X2 and U2=X1+X2, decide which one of U1 and U2 are sufficient statistics for θ. If h(u2)=E(U1∣u2), then show that it has smaller variance compared to Var(U1).

2014 · Paper I · Q1d · 10 marks

Solution

U2=X1+X2U_2=X_1+X_2 is sufficient. L(θ)=1θ2e−(x1+x2)/θ,L(\theta)=\frac1{\theta^2}e^{-(x_1+x_2)/\theta}, which depends on the data only through x1+x2x_1+x_2. So U2U_2 is sufficient.

U1=0.6X1+0.4X2U_1=0.6X_1+0.4X_2 is not sufficient. Find the conditional distribution of X1X_1 given U1=uU_1=u. On this line, x2=(u−0.6x1)/0.4=2.5u−1.5x1x_2=(u-0.6x_1)/0.4=2.5u-1.5x_1, so x1+x2=2.5u−0.5x1x_1+x_2=2.5u-0.5x_1, with 0<x1<u/0.60<x_1<u/0.6. The conditional density of X1X_1 is proportional to the joint density along the line: f(x1∣U1=u)∝e−(2.5u−0.5x1)/θ∝ex1/(2θ),0<x1<u0.6.f(x_1\mid U_1=u)\propto e^{-(2.5u-0.5x_1)/\theta}\propto e^{x_1/(2\theta)},\qquad0<x_1<\frac u{0.6}. This depends on θ\theta, so U1U_1 is not sufficient.

Rao–Blackwell step. Given U2=u2U_2=u_2, X1X_1 and X2X_2 are exchangeable, so E(X1∣u2)=E(X2∣u2)=u2/2E(X_1\mid u_2)=E(X_2\mid u_2)=u_2/2. Hence h(u2)=E(U1∣u2)=0.6⋅u22+0.4⋅u22=u22.h(u_2)=E(U_1\mid u_2)=0.6\cdot\frac{u_2}2+0.4\cdot\frac{u_2}2=\frac{u_2}2 .

Variances. V(Xi)=θ2V(X_i)=\theta^2, so V(U1)=(0.36+0.16)θ2=0.52θ2,V(h(U2))=14⋅2θ2=0.5θ2.V(U_1)=(0.36+0.16)\theta^2=0.52\,\theta^2,\qquad V\big(h(U_2)\big)=\frac14\cdot2\theta^2=0.5\,\theta^2 . So V(h(U2))<V(U1)V(h(U_2))<V(U_1). Both estimate θ\theta without bias. Conditioning on the sufficient statistic removed some variance, as the Rao–Blackwell theorem says it must.

✓ Checked by computer We checked by simulation in Python (θ = 2, 10⁶ pairs) that Var(U₁) = 0.52θ² = 2.08, that E(U₁ | U₂) = U₂/2, and that its variance is 0.5θ² = 2.00.

↑ Back to the question list

Let X1, X2 be independent random variables following Poisson distribution with parameter λ. Show that X1+X2 is sufficient for λ. Verify if X1+2X2 is also sufficient for λ.

2013 · Paper I · Q1c · 10 marks

Solution

X1+X2X_1+X_2 is sufficient. T=X1+X2∼P(2λ)T=X_1+X_2\sim P(2\lambda), and for x1+x2=tx_1+x_2=t, P(X1=x1,X2=x2∣T=t)=e−2λλt/(x1!x2!)e−2λ(2λ)t/t!=(tx1)(12)t,P(X_1=x_1,X_2=x_2\mid T=t)=\frac{e^{-2\lambda}\lambda^t/(x_1!x_2!)}{e^{-2\lambda}(2\lambda)^t/t!}=\binom t{x_1}\Big(\frac12\Big)^t, which is free of λ\lambda. So X1+X2X_1+X_2 is sufficient.

X1+2X2X_1+2X_2 is not sufficient. X1+2X2=2X_1+2X_2=2 happens for (2,0)(2,0) or (0,1)(0,1), with probabilities e−2λλ2/2e^{-2\lambda}\lambda^2/2 and e−2λλe^{-2\lambda}\lambda. So P(X1=2,X2=0∣X1+2X2=2)=λ2/2λ2/2+λ=λλ+2,P\big(X_1=2,X_2=0\mid X_1+2X_2=2\big)=\frac{\lambda^2/2}{\lambda^2/2+\lambda}=\frac\lambda{\lambda+2}, which depends on λ\lambda. So X1+2X2X_1+2X_2 is not sufficient.

✓ Checked by computer We computed the conditional probability exactly in Python for several λ. P(X₁ = 2 | X₁ + 2X₂ = 2) = λ/(λ+2) changes with λ.

↑ Back to the question list

X1,X2,…,Xn is a random sample from the normal distribution with 0 mean and variance σ2. Examine the validity of the following statements: (i) ∑1nXi2 is consistent for σ2. (ii) T=1n∑1nXi2 is unbiased for σ2. (iii) T is sufficient for σ2. (iv) T is the UMVUE for σ2.

2012 · Paper I · Q1e · 12 marks

Solution

Facts. E(Xi2)=σ2E(X_i^2)=\sigma^2 and V(Xi2)=2σ4V(X_i^2)=2\sigma^4, since Xi2/σ2∼χ12X_i^2/\sigma^2\sim\chi^2_1.

(i) False. E(∑Xi2)=nσ2→∞E\big(\sum X_i^2\big)=n\sigma^2\to\infty, and ∑Xi2/n→σ2\sum X_i^2/n\to\sigma^2, so ∑Xi2\sum X_i^2 grows like nσ2n\sigma^2. It does not converge to σ2\sigma^2, so it is not consistent for σ2\sigma^2.

(ii) True. E(T)=1n⋅nσ2=σ2E(T)=\frac1n\cdot n\sigma^2=\sigma^2, so TT is unbiased.

(iii) True. L(σ2)=(2πσ2)−n/2exp{−∑xi22σ2}L(\sigma^2)=(2\pi\sigma^2)^{-n/2}\exp\Big\{-\frac{\sum x_i^2}{2\sigma^2}\Big\} depends on the data only through ∑xi2=nT\sum x_i^2=nT. So TT is sufficient.

(iv) True. The density is in the exponential family, with natural parameter −1/(2σ2)-1/(2\sigma^2) ranging over an open interval. So TT is a complete sufficient statistic. It is also unbiased, so by the Lehmann–Scheffé theorem it is the UMVUE of σ2\sigma^2.

As a check: V(T)=2σ4/nV(T)=2\sigma^4/n, which equals the Cramér–Rao bound 1nI(σ2)=2σ4n\dfrac{1}{nI(\sigma^2)}=\dfrac{2\sigma^4}n.

✓ Proof checked step by step Every step was checked: each statement against the definition, using E(X²) = σ², V(X²) = 2σ⁴, the factorisation theorem and the Lehmann–Scheffé theorem.

↑ Back to the question list

Define exponential family of distributions. Identify two distributions each which (i) belongs to the family and (ii) does not belong to the family. Substantiate your answer.

2012 · Paper I · Q2a · 20 marks

Solution

Definition. A family {f(x,θ):θ∈Θ}\{f(x,\theta):\theta\in\Theta\} is a (one-parameter) exponential family if f(x,θ)=exp{c(θ)T(x)+d(θ)+S(x)},x∈A,f(x,\theta)=\exp\{c(\theta)T(x)+d(\theta)+S(x)\},\qquad x\in A, where the support A={x:f(x,θ)>0}A=\{x:f(x,\theta)>0\} does not depend on θ\theta. (The kk-parameter form uses ∑j=1kcj(θ)Tj(x)\sum_{j=1}^kc_j(\theta)T_j(x).)

(i) Two members.

  1. Poisson P(θ)P(\theta): e−θθxx!=exp{xlogθ−θ−logx!}\dfrac{e^{-\theta}\theta^x}{x!}=\exp\{x\log\theta-\theta-\log x!\}, with support {0,1,2,…}\{0,1,2,\dots\} for every θ\theta.
  2. Binomial B(m,θ)B(m,\theta), mm known: (mx)θx(1−θ)m−x=exp{xlogθ1−θ+mlog(1−θ)+log(mx)}\binom mx\theta^x(1-\theta)^{m-x}=\exp\Big\{x\log\dfrac\theta{1-\theta}+m\log(1-\theta)+\log\binom mx\Big\}, with support {0,…,m}\{0,\dots,m\}.

(The normal, gamma with known shape, and exponential distributions are also members.)

(ii) Two non-members.

  1. Uniform U(0,θ)U(0,\theta). The support (0,θ)(0,\theta) changes with θ\theta, which an exponential family cannot do.
  2. Cauchy with location θ\theta, f(x,θ)=1π{1+(x−θ)2}f(x,\theta)=\dfrac{1}{\pi\{1+(x-\theta)^2\}}. Its support is all of ℝ\mathbb R, so the argument must be different. Suppose it were a member. Then gθ(x)=logf(x,θ)f(x,0)={c(θ)−c(0)}T(x)+d(θ)−d(0).g_\theta(x)=\log\frac{f(x,\theta)}{f(x,0)}=\{c(\theta)-c(0)\}T(x)+d(\theta)-d(0). As |x|→∞|x|\to\infty, gθ(x)→0g_\theta(x)\to0, so the constant d(θ)−d(0)d(\theta)-d(0) must be 0. Then g1g_1 and g2g_2 are both multiples of the same TT, so g1/g2g_1/g_2 is constant. But g1(1)=log2≠0,g2(1)=0,whileg1(12)=0,g2(12)=log1.253.25≠0.g_1(1)=\log2\ne0,\quad g_2(1)=0,\quad\text{while}\quad g_1(\tfrac12)=0,\quad g_2(\tfrac12)=\log\frac{1.25}{3.25}\ne0 . This is impossible, so the Cauchy location family is not an exponential family.

✓ Answer checked step by step Every point was checked: the definition, the two members, and the two non-members, with a short proof for each non-member.

↑ Back to the question list

Obtain a sufficient statistic for θ in sampling from f(x;θ)={θx(1−θ)1−x,x=0,10,otherwise Check if it is complete sufficient.

2011 · Paper I · Q1e · 12 marks

Solution

Sufficient statistic. For a sample X1,…,XnX_1,\dots,X_n, L(θ)=θ∑xi(1−θ)n−∑xi.L(\theta)=\theta^{\sum x_i}(1-\theta)^{\,n-\sum x_i}. This depends on the data only through t=∑xit=\sum x_i, so T=∑XiT=\sum X_i is sufficient for θ\theta.

Complete. T∼B(n,θ)T\sim B(n,\theta). Suppose Eθg(T)=0E_\theta\,g(T)=0 for all θ∈(0,1)\theta\in(0,1): ∑t=0ng(t)(nt)θt(1−θ)n−t=0.\sum_{t=0}^ng(t)\binom nt\theta^t(1-\theta)^{n-t}=0 . Divide by (1−θ)n(1-\theta)^n and put ϕ=θ/(1−θ)\phi=\theta/(1-\theta), which takes every value in (0,∞)(0,\infty): ∑t=0ng(t)(nt)ϕt=0for all ϕ>0.\sum_{t=0}^ng(t)\binom nt\phi^t=0\quad\text{for all }\phi>0 . A polynomial that vanishes on an interval has all coefficients zero, so g(t)=0g(t)=0 for t=0,…,nt=0,\dots,n. So TT is a complete sufficient statistic.

(For a single observation, n=1n=1, T=XT=X itself.)

✓ Proof checked step by step Every step was checked: the factorisation, and the polynomial argument for completeness.

↑ Back to the question list

The random variable X follows uniform distribution in (0,θ). Let X(1),X(2),X(3) be the order statistics in a random sample of size 3 from the population. Show that both 2X(2) and 4X(3)/3 are unbiased for θ.

2011 · Paper I · Q2c · 20 marks

Solution

Order statistics from U(0,θ)U(0,\theta), n=3n=3. The density of the kk-th order statistic is f(k)(x)=3!(k−1)!(3−k)!xk−1(θ−x)3−kθ3,0<x<θ.f_{(k)}(x)=\frac{3!}{(k-1)!(3-k)!}\frac{x^{k-1}(\theta-x)^{3-k}}{\theta^3},\qquad0<x<\theta . Putting x=θux=\theta u gives a Beta(k,4−k)(k,4-k) variable times θ\theta, so E(X(k))=kθ4E(X_{(k)})=\dfrac{k\theta}4.

Middle one. f(2)(x)=6x(θ−x)θ3f_{(2)}(x)=\dfrac{6x(\theta-x)}{\theta^3}, so E(X(2))=6θ3∫0θx2(θ−x)dx=6θ3⋅θ412=θ2,E(2X(2))=θ.E(X_{(2)})=\frac6{\theta^3}\int_0^\theta x^2(\theta-x)dx=\frac6{\theta^3}\cdot\frac{\theta^4}{12}=\frac\theta2,\qquad E(2X_{(2)})=\theta .

Largest one. f(3)(x)=3x2θ3f_{(3)}(x)=\dfrac{3x^2}{\theta^3}, so E(X(3))=3θ3∫0θx3dx=3θ4,E(43X(3))=θ.E(X_{(3)})=\frac3{\theta^3}\int_0^\theta x^3dx=\frac{3\theta}4,\qquad E\Big(\frac43X_{(3)}\Big)=\theta .

So both 2X(2)2X_{(2)} and 43X(3)\frac43X_{(3)} are unbiased for θ\theta. ◼\blacksquare

(Their variances are θ2/5\theta^2/5 and θ2/15\theta^2/15, so 43X(3)\frac43X_{(3)}, a function of the sufficient statistic, is much better.)

✓ Checked by computer We checked both expectations exactly with SymPy, (both equal θ). The variances θ²/5 and θ²/15 were confirmed by simulation.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

A city has N taxis numbered 1 to N. A person standing at a crossing noted numbers of n taxis that pass that crossing (same taxi does not pass twice). If Mn is the highest taxi number noted, find an unbiased estimate of N based on Mn.

2010 · Paper I · Q1d · 12 marks

Solution

Distribution of MnM_n. The nn noted numbers are a sample without replacement from {1,…,N}\{1,\dots,N\}, and all (Nn)\binom Nn sets are equally likely. Mn=mM_n=m means mm is chosen and the other n−1n-1 numbers come from {1,…,m−1}\{1,\dots,m-1\}: P(Mn=m)=(m−1n−1)(Nn),m=n,…,N.P(M_n=m)=\frac{\binom{m-1}{n-1}}{\binom Nn},\qquad m=n,\dots,N .

Mean. Use m(m−1n−1)=n(mn)m\binom{m-1}{n-1}=n\binom mn, and the hockey-stick identity ∑m=nN(mn)=(N+1n+1)\sum_{m=n}^N\binom mn=\binom{N+1}{n+1}: E(Mn)=n(Nn)∑m=nN(mn)=n(N+1n+1)(Nn)=n(N+1)n+1.E(M_n)=\frac{n}{\binom Nn}\sum_{m=n}^N\binom mn=\frac{n\binom{N+1}{n+1}}{\binom Nn}=\frac{n(N+1)}{n+1}.

Unbiased estimate. Solve for NN: N̂=n+1nMn−1,E(N̂)=N.\hat N=\frac{n+1}{n}M_n-1,\qquad E(\hat N)=N .

Example: if n=5n=5 taxis were seen and the highest number was 60, then N̂=65⋅60−1=71\hat N=\frac65\cdot60-1=71.

✓ Checked by computer We checked E(Mₙ) = n(N+1)/(n+1) exactly in Python by listing all samples for N = 12, n = 4. The estimator (n+1)Mₙ/n − 1 averaged exactly 12.

↑ Back to the question list

Explain consistency of estimators. Prove that second smallest observation in a random sample of size n from the following probability density function is consistent estimator of θ: f(x∣θ)={exp(−(x−θ)),if x>θ0,otherwise

2010 · Paper I · Q2c · 20 marks

Solution

Consistency. An estimator TnT_n of θ\theta is consistent if, for every ε>0\varepsilon>0, P(|Tn−θ|>ε)→0as n→∞.P\big(|T_n-\theta|>\varepsilon\big)\to0\quad\text{as }n\to\infty . A sufficient condition is E(Tn)→θE(T_n)\to\theta and V(Tn)→0V(T_n)\to0, by Chebyshev’s inequality.

Reduce to exponentials. Zi=Xi−θZ_i=X_i-\theta are i.i.d. standard exponential. So the second smallest observation is X(2)=θ+Z(2)X_{(2)}=\theta+Z_{(2)}.

Spacings of exponential order statistics. By the memoryless property (Rényi’s representation), Z(1)=E1n,Z(2)=E1n+E2n−1,Z_{(1)}=\frac{E_1}n,\qquad Z_{(2)}=\frac{E_1}n+\frac{E_2}{n-1}, with E1,E2E_1,E_2 i.i.d. standard exponential. So E(Z(2))=1n+1n−1,V(Z(2))=1n2+1(n−1)2.E(Z_{(2)})=\frac1n+\frac1{n-1},\qquad V(Z_{(2)})=\frac1{n^2}+\frac1{(n-1)^2}.

Conclusion. E(X(2))=θ+1n+1n−1→θE(X_{(2)})=\theta+\frac1n+\frac1{n-1}\to\theta and V(X(2))→0V(X_{(2)})\to0. By the sufficient condition above, the second smallest observation is a consistent estimator of θ\theta. ◼\blacksquare

✓ Checked by computer We checked the mean and variance of the second smallest observation by simulation (θ = 1, n = 10, 20, 50). For n = 20 the mean was 1.1027 against θ + 1/20 + 1/19 = 1.1026.

↑ Back to the question list

Define completeness of a statistic. Show that if a sufficient statistic is complete, then it is minimal sufficient.

2007 · Paper I · Q3a · 20 marks

Solution

Completeness. A statistic TT (or its family of distributions) is complete if Eθg(T)=0for all θ⇒Pθ{g(T)=0}=1for all θ.E_\theta\,g(T)=0\ \text{for all }\theta\quad\Longrightarrow\quad P_\theta\{g(T)=0\}=1\ \text{for all }\theta .

Minimal sufficiency. A sufficient statistic UU is minimal if it is a function of every other sufficient statistic.

Theorem (Bahadur). If TT is complete and sufficient, and a minimal sufficient statistic UU exists, then TT is minimal sufficient.

Proof. We may take TT bounded (otherwise replace each component by its arctangent, which is a one-to-one map and changes nothing below).

  1. UU is minimal and TT is sufficient, so U=h(T)U=h(T) for some function hh.
  2. Let k(U)=E(T∣U)k(U)=E(T\mid U). Because UU is sufficient, this conditional expectation does not involve θ\theta, so it is a genuine statistic. Since U=h(T)U=h(T), k(U)=k(h(T))k(U)=k(h(T)) is also a function of TT.
  3. By the tower rule, Eθ[T−k(U)]=Eθ(T)−Eθ(T)=0E_\theta\big[T-k(U)\big]=E_\theta(T)-E_\theta(T)=0 for every θ\theta.
  4. T−k(h(T))T-k(h(T)) is a function of TT with mean 0 for every θ\theta. TT is complete, so T=k(U)T=k(U) with probability 1.

So TT is a function of UU. And UU is a function of every sufficient statistic, so TT is too. Hence TT is minimal sufficient. ◼\blacksquare

✓ Proof checked step by step Every step was checked: the definition, and the proof that a complete sufficient statistic is a function of every sufficient statistic.

↑ Back to the question list

If E(T1)=θ=E(T2), var(T1)=σ12, var(T2)=σ22 and T1 and T2 are independent, then show that T=λT1+(1−λ)T2 is an unbiased estimator of θ for which the variance is minimized, when λ=σ22/(σ12+σ22).

2006 · Paper I · Q1e · 12 marks

Solution

Unbiased for every λ\lambda. E(T)=λE(T1)+(1−λ)E(T2)=λθ+(1−λ)θ=θ.E(T)=\lambda E(T_1)+(1-\lambda)E(T_2)=\lambda\theta+(1-\lambda)\theta=\theta .

Variance. T1,T2T_1,T_2 are independent, so V(T)=λ2σ12+(1−λ)2σ22.V(T)=\lambda^2\sigma_1^2+(1-\lambda)^2\sigma_2^2 .

Minimise. dVdλ=2λσ12−2(1−λ)σ22=0⇔λ=σ22σ12+σ22,\frac{dV}{d\lambda}=2\lambda\sigma_1^2-2(1-\lambda)\sigma_2^2=0\iff\lambda=\frac{\sigma_2^2}{\sigma_1^2+\sigma_2^2}, and d2Vdλ2=2(σ12+σ22)>0\dfrac{d^2V}{d\lambda^2}=2(\sigma_1^2+\sigma_2^2)>0, so this is a minimum. ◼\blacksquare

Minimum variance. Vmin=σ12σ22σ12+σ22=(1σ12+1σ22)−1,V_{\min}=\frac{\sigma_1^2\sigma_2^2}{\sigma_1^2+\sigma_2^2}=\Big(\frac1{\sigma_1^2}+\frac1{\sigma_2^2}\Big)^{-1}, which is smaller than both σ12\sigma_1^2 and σ22\sigma_2^2. Each estimator is weighted by the inverse of its variance.

✓ Derivation checked step by step Every step was checked: unbiasedness, the variance formula, and the minimum. We also confirmed numerically that λ = σ₂²/(σ₁² + σ₂²) gives the smallest variance on a grid of λ values.

↑ Back to the question list

Giving example, define sufficient statistics and state Fisher-Neyman criterion for the existence of sufficient statistics. Let X1,X2,…,Xn be a random sample from the distribution that has p.d.f. f(x;θ)={θx(1−θ)1−x,x=0,1;0<θ<10,elsewhere Check whether Y1=X1+X2+…+Xn is a sufficient statistic for θ.

2006 · Paper I · Q3a · 20 marks

Solution

Sufficient statistic. A statistic T=t(X1,…,Xn)T=t(X_1,\dots,X_n) is sufficient for θ\theta if the conditional distribution of (X1,…,Xn)(X_1,\dots,X_n) given TT does not depend on θ\theta. Then TT carries all the information in the sample about θ\theta.

Example: for a sample from N(μ,1)N(\mu,1), X‾\bar X is sufficient for μ\mu.

Fisher–Neyman criterion. TT is sufficient for θ\theta if and only if the joint density (or p.m.f.) factorises as L(x1,…,xn;θ)=g(t(x),θ)h(x1,…,xn),L(x_1,\dots,x_n;\theta)=g\big(t(x),\theta\big)\,h(x_1,\dots,x_n), where gg depends on the data only through t(x)t(x), and hh does not involve θ\theta.

Bernoulli sample. With y=∑xiy=\sum x_i, L(θ)=θy(1−θ)n−y=g(y,θ)⋅1,L(\theta)=\theta^{y}(1-\theta)^{n-y}=g(y,\theta)\cdot1, so Y1=∑XiY_1=\sum X_i is sufficient. Directly from the definition: Y1∼B(n,θ)Y_1\sim B(n,\theta), and for any (x1,…,xn)(x_1,\dots,x_n) with ∑xi=y\sum x_i=y, P(X1=x1,…,Xn=xn∣Y1=y)=θy(1−θ)n−y(ny)θy(1−θ)n−y=1(ny),P(X_1=x_1,\dots,X_n=x_n\mid Y_1=y)=\frac{\theta^y(1-\theta)^{n-y}}{\binom ny\theta^y(1-\theta)^{n-y}}=\frac1{\binom ny}, which is free of θ\theta. So Y1Y_1 is a sufficient statistic for θ\theta.

✓ Proof checked step by step Every step was checked: the definition, the factorisation criterion, and the conditional distribution of the sample given Y₁.

↑ Back to the question list

Let Y1<Y2<Y3 be the order statistics of a random sample of size 3 from the uniform distribution having p.d.f. f(x;θ)=1θ,0<x<θ,0<θ<∞ and zero elsewhere. Show that 4Y1 and 2Y2 are both unbiased statistics for θ. Find their variances.

2006 · Paper I · Q4c · 20 marks

Solution

Order statistics from U(0,θ)U(0,\theta), n=3n=3. fY1(y)=3(θ−y)2θ3,fY2(y)=6y(θ−y)θ3,0<y<θ.f_{Y_1}(y)=\frac{3(\theta-y)^2}{\theta^3},\qquad f_{Y_2}(y)=\frac{6y(\theta-y)}{\theta^3},\qquad0<y<\theta . With y=θuy=\theta u, Y1/θ∼Y_1/\theta\sim Beta(1,3)(1,3) and Y2/θ∼Y_2/\theta\sim Beta(2,2)(2,2).

Means. E(Y1)=θ4⇒E(4Y1)=θ,E(Y2)=θ2⇒E(2Y2)=θ.E(Y_1)=\frac\theta4\Rightarrow E(4Y_1)=\theta,\qquad E(Y_2)=\frac\theta2\Rightarrow E(2Y_2)=\theta . Both are unbiased.

Second moments. For Beta(a,b)(a,b), E(U2)=a(a+1)(a+b)(a+b+1)E(U^2)=\dfrac{a(a+1)}{(a+b)(a+b+1)}: E(Y12)=θ2⋅1⋅24⋅5=θ210,E(Y22)=θ2⋅2⋅34⋅5=3θ210.E(Y_1^2)=\theta^2\cdot\frac{1\cdot2}{4\cdot5}=\frac{\theta^2}{10},\qquad E(Y_2^2)=\theta^2\cdot\frac{2\cdot3}{4\cdot5}=\frac{3\theta^2}{10}.

Variances. V(Y1)=θ210−θ216=3θ280,V(4Y1)=16⋅3θ280=3θ25,V(Y_1)=\frac{\theta^2}{10}-\frac{\theta^2}{16}=\frac{3\theta^2}{80},\qquad V(4Y_1)=16\cdot\frac{3\theta^2}{80}=\frac{3\theta^2}5, V(Y2)=3θ210−θ24=θ220,V(2Y2)=4⋅θ220=θ25.V(Y_2)=\frac{3\theta^2}{10}-\frac{\theta^2}4=\frac{\theta^2}{20},\qquad V(2Y_2)=4\cdot\frac{\theta^2}{20}=\frac{\theta^2}5 .

So 2Y22Y_2 is three times as efficient as 4Y14Y_1. (The best unbiased estimator, 43Y3\frac43Y_3, has variance θ2/15\theta^2/15.)

✓ Checked by computer We checked both means and variances exactly with SymPy, and by simulation (θ = 1, 10⁶ samples): Var(4Y₁) = 0.6001 and Var(2Y₂) = 0.2000.

↑ Back to the question list

Let X1,X2,…,Xn be i.i.d. rectangular (θ−12,θ+12) random variables. Is T=(X(1),X(n)) sufficient for θ? Is it complete? Give reasons for your answer.

2005 · Paper I · Q3a · 20 marks

Solution

Likelihood. L(θ)=∏i=1nI(θ−12<xi<θ+12)=I(x(n)−12<θ<x(1)+12).L(\theta)=\prod_{i=1}^nI\big(\theta-\tfrac12<x_i<\theta+\tfrac12\big)=I\big(x_{(n)}-\tfrac12<\theta<x_{(1)}+\tfrac12\big).

Sufficient: yes. LL depends on the data only through (x(1),x(n))(x_{(1)},x_{(n)}), so T=(X(1),X(n))T=(X_{(1)},X_{(n)}) is sufficient by the factorisation theorem. (It is also minimal sufficient. Two samples give the same likelihood only if they have the same minimum and maximum.)

Complete: no. Xi=θ−12+UiX_i=\theta-\tfrac12+U_i with Ui∼U(0,1)U_i\sim U(0,1), so the range R=X(n)−X(1)=U(n)−U(1)R=X_{(n)}-X_{(1)}=U_{(n)}-U_{(1)} has a distribution free of θ\theta, with E(R)=nn+1−1n+1=n−1n+1.E(R)=\frac n{n+1}-\frac1{n+1}=\frac{n-1}{n+1}. So g(T)=X(n)−X(1)−n−1n+1g(T)=X_{(n)}-X_{(1)}-\dfrac{n-1}{n+1} has Eθg(T)=0E_\theta\,g(T)=0 for every θ\theta, but g(T)≠0g(T)\ne0 with probability 1. Hence TT is not complete.

Reason in words. TT is two-dimensional, but the parameter is one-dimensional. One function of TT (the range) carries no information about θ\theta. That is what breaks completeness.

✓ Proof checked step by step Every step was checked: sufficiency from the indicator, and a non-zero function of T with mean 0 for every θ (its mean (n−1)/(n+1) was confirmed by simulation).

↑ Back to the question list

Let T1 and T2 be two unbiased estimators of θ having the same variance. Show that their correlation coefficient ρ cannot be smaller than 2eθ−1, where eθ is the efficiency of each estimator.

2004 · Paper I · Q1d · 12 marks

Solution

Notation. Let V=V(T1)=V(T2)V=V(T_1)=V(T_2) and ρ=Corr(T1,T2)\rho=\text{Corr}(T_1,T_2). Let V0V_0 be the minimum variance among unbiased estimators of θ\theta. The efficiency of each is eθ=V0/Ve_\theta=V_0/V.

Average estimator. T=12(T1+T2)T=\frac12(T_1+T_2) is unbiased, with V(T)=14(V+V+2ρV)=(1+ρ)V2.V(T)=\frac14(V+V+2\rho V)=\frac{(1+\rho)V}2 .

Bound. V(T)≥V0=eθVV(T)\ge V_0=e_\theta V, so 1+ρ2≥eθ⇒ρ≥2eθ−1.◼\frac{1+\rho}2\ge e_\theta\quad\Longrightarrow\quad\rho\ge2e_\theta-1.\qquad\blacksquare

Remark. If eθ=1e_\theta=1 (both fully efficient), then ρ=1\rho=1, so T1=T2T_1=T_2 almost surely. The minimum-variance unbiased estimator is unique.

✓ Proof checked step by step Every step was checked: the average of the two estimators is unbiased, and its variance cannot go below the minimum variance.

↑ Back to the question list

Let X1,X2,…,Xn be a sample from p.d.f. f(x,θ)={xθe−x22θ,x>0,θ>00,x≤0 Show that ∑i=1nXi2 is a minimal sufficient statistic for θ, but ∑i=1nXi is not sufficient.

2004 · Paper I · Q3a · 20 marks

Solution

Likelihood. L(θ)=θ−n(∏i=1nxi)exp{−∑xi22θ}.L(\theta)=\theta^{-n}\Big(\prod_{i=1}^nx_i\Big)\exp\Big\{-\frac{\sum x_i^2}{2\theta}\Big\}.

Sufficient. The factor with θ\theta, θ−ne−∑xi2/(2θ)\theta^{-n}e^{-\sum x_i^2/(2\theta)}, depends on the data only through ∑xi2\sum x_i^2. So T=∑Xi2T=\sum X_i^2 is sufficient.

Minimal. For two samples xx and yy, L(x;θ)L(y;θ)=∏xi∏yiexp{−∑xi2−∑yi22θ}.\frac{L(x;\theta)}{L(y;\theta)}=\frac{\prod x_i}{\prod y_i}\exp\Big\{-\frac{\sum x_i^2-\sum y_i^2}{2\theta}\Big\}. This is free of θ\theta if and only if ∑xi2=∑yi2\sum x_i^2=\sum y_i^2. By the Lehmann–Scheffé criterion, ∑Xi2\sum X_i^2 is minimal sufficient.

∑Xi\sum X_i is not sufficient. If it were sufficient, the minimal sufficient statistic ∑Xi2\sum X_i^2 would have to be a function of it. But with n=2n=2, the samples (1,3)(1,3) and (2,2)(2,2) have the same ∑xi=4\sum x_i=4, and different ∑xi2\sum x_i^2 (10 and 8). So ∑Xi2\sum X_i^2 is not a function of ∑Xi\sum X_i, and ∑Xi\sum X_i is not sufficient. ◼\blacksquare

✓ Proof checked step by step Every step was checked: the factorisation, the likelihood-ratio criterion for minimality, and a counter-example showing ΣXᵢ is not sufficient.

↑ Back to the question list

Suppose X1 and X2 are identically and identically distributed Poisson variates with parameter θ. Show that the statistic T=X1+3X2 is not sufficient for θ.

2003 · Paper I · Q1f · 12 marks

Solution

Note on the question. “Identically and identically distributed” should read independently and identically distributed.

T=X1+3X2T=X_1+3X_2. The value T=3T=3 arises from (x1,x2)=(3,0)(x_1,x_2)=(3,0) or (0,1)(0,1): P(3,0)=e−2θθ36,P(0,1)=e−2θθ.P(3,0)=e^{-2\theta}\frac{\theta^3}{6},\qquad P(0,1)=e^{-2\theta}\theta . So P(X1=3,X2=0∣T=3)=θ3/6θ3/6+θ=θ2θ2+6.P(X_1=3,X_2=0\mid T=3)=\frac{\theta^3/6}{\theta^3/6+\theta}=\frac{\theta^2}{\theta^2+6}.

This depends on θ\theta. So the conditional distribution of the sample given TT is not free of θ\theta, and TT is not sufficient. ◼\blacksquare

(By contrast, X1+X2X_1+X_2 is sufficient: given X1+X2=tX_1+X_2=t, X1∼B(t,12)X_1\sim B(t,\tfrac12).)

✓ Checked by computer We computed the conditional probability exactly in Python for θ = 0.5, 1, 2, 4. P(X₁ = 3 | T = 3) = θ²/(θ² + 6) changes with θ.

↑ Back to the question list

Explain the concept of consistency. Show that for Cauchy’s distribution the sample median is a consistent estimator of the population mean.

2003 · Paper I · Q3a · 20 marks

Solution

Consistency. TnT_n is consistent for θ\theta if P(|Tn−θ|>ε)→0P(|T_n-\theta|>\varepsilon)\to0 for every ε>0\varepsilon>0. In words, a large sample gives an estimate close to θ\theta with high probability.

Note on the question. The Cauchy distribution f(x)=1π{1+(x−θ)2}f(x)=\frac1{\pi\{1+(x-\theta)^2\}} has no mean: ∫|x|f(x)dx=∞\int|x|f(x)dx=\infty. The parameter θ\theta is its location parameter (the median and mode). We show the sample median is consistent for θ\theta.

Proof. Let MnM_n be the sample median, ε>0\varepsilon>0, and p=F(θ+ε)>12p=F(\theta+\varepsilon)>\tfrac12. The event Mn>θ+εM_n>\theta+\varepsilon means at most half the observations are ≤θ+ε\le\theta+\varepsilon. So, with N∼B(n,p)N\sim B(n,p) counting them, P(Mn>θ+ε)≤P(Nn≤12)≤P(|Nn−p|≥p−12)≤p(1−p)n(p−12)2→0.P(M_n>\theta+\varepsilon)\le P\Big(\frac Nn\le\frac12\Big)\le P\Big(\Big|\frac Nn-p\Big|\ge p-\frac12\Big)\le\frac{p(1-p)}{n\,(p-\frac12)^2}\to0 . In the same way, P(Mn<θ−ε)→0P(M_n<\theta-\varepsilon)\to0. Hence Mn→PθM_n\xrightarrow{P}\theta. ◼\blacksquare

(More precisely, MnM_n is approximately N(θ,14nf(θ)2)=N(θ,π24n)N\!\big(\theta,\tfrac{1}{4nf(\theta)^2}\big)=N\!\big(\theta,\tfrac{\pi^2}{4n}\big). The sample mean is useless here: X‾\bar X is itself Cauchy with the same spread for every nn.)

✓ Proof checked step by step Every step was checked: the binomial argument for consistency. We also simulated the median of Cauchy samples (n = 101, 100,000 samples): its variance was 0.0252, close to π²/(4n) = 0.0244.

↑ Back to the question list

Let X follow a Poisson distribution with parameter λ. Examine whether t(X)=(−1)X is unbiased for e−2λ. In any case, comment on the suitability of the proposed estimator.

2002 · Paper I · Q1d · 12 marks

Solution

Unbiased. E[(−1)X]=∑x=0∞(−1)xe−λλxx!=e−λ∑x=0∞(−λ)xx!=e−λe−λ=e−2λ.E\big[(-1)^X\big]=\sum_{x=0}^\infty(-1)^x\frac{e^{-\lambda}\lambda^x}{x!}=e^{-\lambda}\sum_{x=0}^\infty\frac{(-\lambda)^x}{x!}=e^{-\lambda}e^{-\lambda}=e^{-2\lambda}. So t(X)=(−1)Xt(X)=(-1)^X is unbiased for e−2λe^{-2\lambda}.

It is the only unbiased estimator. The Poisson family is complete, so any other unbiased t′(X)t'(X) would satisfy E[t′−t]=0E[t'-t]=0 for all λ\lambda, which forces t′=tt'=t. So it is also the UMVUE.

But it is unsuitable.

  • e−2λe^{-2\lambda} always lies in (0,1)(0,1), but t(X)t(X) takes only the values +1+1 and −1-1.
  • For every odd XX, the estimate is −1-1, a negative estimate of a positive quantity.
  • Its mean squared error is E(t2)−e−4λ=1−e−4λE(t^2)-e^{-4\lambda}=1-e^{-4\lambda}, which is close to 1 for moderate λ\lambda.

The MLE, e−2Xe^{-2X}, is biased but always lies in (0,1](0,1] and is far more sensible. Comment: unbiasedness alone does not make an estimator good. The best unbiased estimator can be absurd.

✓ Checked by computer We checked E[(−1)^X] = e^{−2λ} in Python by summing the series for λ = 0.3, 1, 2.5, and the mean squared error 1 − e^{−4λ}.

↑ Back to the question list

Establish the consistency of an estimator under a set of sufficient conditions to be stated by you.

2002 · Paper I · Q1e · 12 marks

Solution

Theorem. Let TnT_n be an estimator of θ\theta such that, as n→∞n\to\infty,

  1. E(Tn)→θE(T_n)\to\theta, and
  2. V(Tn)→0V(T_n)\to0.

Then TnT_n is consistent for θ\theta.

Proof. Let bn=E(Tn)−θb_n=E(T_n)-\theta. Then E(Tn−θ)2=V(Tn)+bn2→0.E(T_n-\theta)^2=V(T_n)+b_n^2\to0 . For any ε>0\varepsilon>0, by Chebyshev’s (Markov’s) inequality, P(|Tn−θ|>ε)≤E(Tn−θ)2ε2=V(Tn)+bn2ε2→0.P\big(|T_n-\theta|>\varepsilon\big)\le\frac{E(T_n-\theta)^2}{\varepsilon^2}=\frac{V(T_n)+b_n^2}{\varepsilon^2}\to0 . So Tn→PθT_n\xrightarrow{P}\theta. ◼\blacksquare

Example. For a sample from any population with mean μ\mu and variance σ2\sigma^2, E(X‾)=μE(\bar X)=\mu and V(X‾)=σ2/n→0V(\bar X)=\sigma^2/n\to0, so X‾\bar X is consistent for μ\mu.

The conditions are sufficient, not necessary. A consistent estimator can have an infinite variance for every nn.

✓ Proof checked step by step Every step was checked: Chebyshev’s inequality, applied to the mean squared error.

↑ Back to the question list

Let X1,X2,…,Xn be a random sample from a rectangular distribution with p.d.f., f(x,θ)={1θ0<x<∞0,otherwise where 0<θ<∞. Examine if T=X(n), the largest order statistic, is complete.

2002 · Paper I · Q4c · 20 marks

Solution

Note on the question. As printed, the density is 1/θ1/\theta on 0<x<∞0<x<\infty, which does not integrate to 1. The intended rectangular distribution is f(x,θ)=1θ,0<x<θ.f(x,\theta)=\frac1\theta,\qquad0<x<\theta .

Distribution of T=X(n)T=X_{(n)}. P(T≤t)=(t/θ)nP(T\le t)=(t/\theta)^n, so fT(t)=ntn−1θn,0<t<θ.f_T(t)=\frac{nt^{n-1}}{\theta^n},\qquad0<t<\theta .

Completeness. Suppose Eθg(T)=0E_\theta\,g(T)=0 for every θ>0\theta>0: nθn∫0θg(t)tn−1dt=0⇔∫0θg(t)tn−1dt=0for all θ>0.\frac n{\theta^n}\int_0^\theta g(t)t^{n-1}dt=0\iff\int_0^\theta g(t)t^{n-1}dt=0\quad\text{for all }\theta>0 . Differentiate with respect to θ\theta: g(θ)θn−1=0for (almost) all θ>0.g(\theta)\theta^{n-1}=0\quad\text{for (almost) all }\theta>0 . So g=0g=0 almost everywhere, that is, Pθ{g(T)=0}=1P_\theta\{g(T)=0\}=1. Hence T=X(n)T=X_{(n)} is complete. ◼\blacksquare

(It is also sufficient, so n+1nX(n)\frac{n+1}nX_{(n)} is the UMVUE of θ\theta.)

✓ Proof checked step by step Every step was checked: the density of the largest order statistic, and differentiation of the integral identity.

↑ Back to the question list

Define a consistent estimator for θ=(θ1,θ2,…,θk) Show that Tn is a consistent estimator of θ only if E(Tn)→θ and V(Tn)→0 as n→∞

2000 · Paper I · Q3b(i) · 15 marks

Solution

Definition. Tn=(Tn1,…,Tnk)T_n=(T_{n1},\dots,T_{nk}) is consistent for θ=(θ1,…,θk)\theta=(\theta_1,\dots,\theta_k) if, for every ε>0\varepsilon>0, P(∥Tn−θ∥>ε)→0as n→∞.P\big(\|T_n-\theta\|>\varepsilon\big)\to0\quad\text{as }n\to\infty . This holds exactly when each component TnjT_{nj} is consistent for θj\theta_j.

Note on the question. As printed, the question says consistency holds only if E(Tn)→θE(T_n)\to\theta and V(Tn)→0V(T_n)\to0. That direction is false. The standard result is the other direction: if the two conditions hold, then TnT_n is consistent. We prove that, and show by example why “only if” fails.

Proof of the “if” part. For each component, Chebyshev’s inequality gives P(|Tnj−θj|>δ)≤V(Tnj)+{E(Tnj)−θj}2δ2→0.P\big(|T_{nj}-\theta_j|>\delta\big)\le\frac{V(T_{nj})+\{E(T_{nj})-\theta_j\}^2}{\delta^2}\to0 . If ∥Tn−θ∥>ε\|T_n-\theta\|>\varepsilon, then some component differs by more than ε/k\varepsilon/\sqrt k. So P(∥Tn−θ∥>ε)≤∑j=1kP(|Tnj−θj|>εk)→0.◼P\big(\|T_n-\theta\|>\varepsilon\big)\le\sum_{j=1}^kP\Big(|T_{nj}-\theta_j|>\frac{\varepsilon}{\sqrt k}\Big)\to0 .\qquad\blacksquare

Why “only if” fails. Let Tn=θT_n=\theta with probability 1−1n1-\frac1n, and Tn=θ+n2T_n=\theta+n^2 with probability 1n\frac1n. Then P(|Tn−θ|>ε)=1n→0P(|T_n-\theta|>\varepsilon)=\frac1n\to0, so TnT_n is consistent. But E(Tn)=θ+n→∞E(T_n)=\theta+n\to\infty and V(Tn)≈n3→∞V(T_n)\approx n^3\to\infty.

✓ Proof checked step by step Every step was checked: the sufficient condition for each component, a union bound for the vector, and a counter-example showing the conditions are not necessary.

↑ Back to the question list

Given a random sample of size n from a Cauchy population with location parameter θ, show that the sample median is a consistent estimator of θ.

2000 · Paper I · Q3b(ii) · 10 marks

Solution

Setting. f(x)=1π{1+(x−θ)2}f(x)=\dfrac1{\pi\{1+(x-\theta)^2\}}, with distribution function FF and F(θ)=12F(\theta)=\tfrac12. Let MnM_n be the sample median.

Proof of consistency. Fix ε>0\varepsilon>0. Let p+=F(θ+ε)>12p_+=F(\theta+\varepsilon)>\tfrac12 and p−=F(θ−ε)<12p_-=F(\theta-\varepsilon)<\tfrac12. Let N+N_+ and N−N_- be the numbers of observations ≤θ+ε\le\theta+\varepsilon and <θ−ε<\theta-\varepsilon. Then N+∼B(n,p+)N_+\sim B(n,p_+) and N−∼B(n,p−)N_-\sim B(n,p_-).

  • Mn>θ+εM_n>\theta+\varepsilon requires N+≤n/2N_+\le n/2. By the weak law of large numbers N+/n→p+>12N_+/n\to p_+>\tfrac12, so this probability →0\to0.
  • Mn<θ−εM_n<\theta-\varepsilon requires N−≥n/2N_-\ge n/2. But N−/n→p−<12N_-/n\to p_-<\tfrac12, so this probability →0\to0.

Hence P(|Mn−θ|>ε)→0P(|M_n-\theta|>\varepsilon)\to0: the sample median is consistent for θ\theta. ◼\blacksquare

Remark. The argument uses only that FF is strictly increasing near its median θ\theta, so it works for any such continuous distribution. Asymptotically, Mn≈N(θ,π2/(4n))M_n\approx N\big(\theta,\pi^2/(4n)\big) for the Cauchy. The sample mean is not consistent here: X‾\bar X has the same Cauchy distribution for every nn.

✓ Proof checked step by step Every step was checked: the binomial count argument. Simulation (n = 51, 201, 801) showed P(|median − θ| > 0.2) falling from 0.37 to 0.0005.

↑ Back to the question list

Define unbiasedness and consistency of the estimator. Obtain unbiased estimate of σ2 [?] from N(μ,σ2) if μ is known.

1998 · Paper I · Q5a(i) · 15 marks

Solution

Unbiasedness. TT is unbiased for θ\theta if Eθ(T)=θE_\theta(T)=\theta for every θ\theta: on average, it hits the target.

Consistency. TnT_n is consistent for θ\theta if P(|Tn−θ|>ε)→0P(|T_n-\theta|>\varepsilon)\to0 as n→∞n\to\infty, for every ε>0\varepsilon>0.

Unbiased estimate of σ2\sigma^2 when μ\mu is known. Take T=1n∑i=1n(Xi−μ)2.T=\frac1n\sum_{i=1}^n(X_i-\mu)^2 . Each (Xi−μ)2(X_i-\mu)^2 has mean σ2\sigma^2, so E(T)=1n⋅nσ2=σ2.E(T)=\frac1n\cdot n\sigma^2=\sigma^2 . So TT is unbiased. Since μ\mu is known, no degree of freedom is lost, and we divide by nn, not n−1n-1.

It is also consistent: nT/σ2∼χn2nT/\sigma^2\sim\chi^2_n, so V(T)=2σ4n→0V(T)=\dfrac{2\sigma^4}n\to0. It is, in fact, the UMVUE of σ2\sigma^2.

✓ Proof checked step by step Every step was checked: the definitions, and E(X − μ)² = σ².

↑ Back to the question list

Does a sufficient statistics for θ exists in f(x,θ)=12e−|x−θ|,−∞<x<∞.

1998 · Paper I · Q5a(ii) · 5 marks

Solution

Likelihood. L(θ)=2−nexp{−∑i=1n|xi−θ|}.L(\theta)=2^{-n}\exp\Big\{-\sum_{i=1}^n|x_i-\theta|\Big\}.

The order statistics are sufficient. LL depends on the data only through the set of values {x1,…,xn}\{x_1,\dots,x_n\}, that is, through the order statistics (X(1),…,X(n))(X_{(1)},\dots,X_{(n)}). So a sufficient statistic exists: the order statistic. (For n=1n=1, XX itself.)

No smaller sufficient statistic exists. For two samples x,yx,y, L(x;θ)L(y;θ)=exp{∑|yi−θ|−∑|xi−θ|}.\frac{L(x;\theta)}{L(y;\theta)}=\exp\Big\{\sum|y_i-\theta|-\sum|x_i-\theta|\Big\}. The function θ↦∑|xi−θ|\theta\mapsto\sum|x_i-\theta| is piecewise linear, and its slope jumps by 2 at each xix_i. So the difference is constant in θ\theta only if both samples have the same points, with the same multiplicities, that is, the same order statistics. By the Lehmann–Scheffé criterion, the order statistic is minimal sufficient.

Answer. A sufficient statistic exists, but no reduction beyond the order statistics is possible. In particular, for n≥2n\ge2 there is no single real-valued sufficient statistic (neither the mean nor the median is sufficient). The Laplace distribution is not in the exponential family.

✓ Proof checked step by step Every step was checked: the likelihood-ratio argument for minimal sufficiency. We also confirmed numerically that Σ|xᵢ − θ| changes slope at each observation.

↑ Back to the question list

Show that the family of binomial distribution with parameters n and θ is complete.

1997 · Paper I · Q6b · 20 marks

Solution

Claim. For fixed nn, the family {B(n,θ):0<θ<1}\{B(n,\theta):0<\theta<1\} is complete.

Proof. Suppose Eθg(X)=0E_\theta\,g(X)=0 for every θ∈(0,1)\theta\in(0,1): ∑x=0ng(x)(nx)θx(1−θ)n−x=0.\sum_{x=0}^ng(x)\binom nx\theta^x(1-\theta)^{n-x}=0 . Divide by (1−θ)n>0(1-\theta)^n>0 and put ϕ=θ1−θ\phi=\dfrac\theta{1-\theta}. As θ\theta runs over (0,1)(0,1), ϕ\phi runs over (0,∞)(0,\infty): ∑x=0ng(x)(nx)ϕx=0for all ϕ>0.\sum_{x=0}^ng(x)\binom nx\phi^x=0\quad\text{for all }\phi>0 . The left side is a polynomial of degree at most nn in ϕ\phi. It has infinitely many roots, so every coefficient is zero: g(x)(nx)=0⇒g(x)=0,x=0,1,…,n.g(x)\binom nx=0\ \Rightarrow\ g(x)=0,\qquad x=0,1,\dots,n . So Pθ{g(X)=0}=1P_\theta\{g(X)=0\}=1 for all θ\theta, and the binomial family is complete. ◼\blacksquare

✓ Proof checked step by step Every step was checked: the change of variable, and the polynomial argument.

↑ Back to the question list

Let (Tn) be a sequence of estimators such that E(Tn)→θ and Var(Tn)→0 as n→∞. Show that Tn is a consistent estimator for θ.

1996 · Paper I · Q5b · 15 marks

Solution

Proof. Let bn=E(Tn)−θ→0b_n=E(T_n)-\theta\to0. The mean squared error is E(Tn−θ)2=E(Tn−ETn)2+bn2=V(Tn)+bn2→0.E(T_n-\theta)^2=E\big(T_n-E T_n\big)^2+b_n^2=V(T_n)+b_n^2\to0 . For any ε>0\varepsilon>0, Chebyshev’s inequality gives P(|Tn−θ|≥ε)≤E(Tn−θ)2ε2=V(Tn)+bn2ε2→0.P\big(|T_n-\theta|\ge\varepsilon\big)\le\frac{E(T_n-\theta)^2}{\varepsilon^2}=\frac{V(T_n)+b_n^2}{\varepsilon^2}\to0 . Hence Tn→PθT_n\xrightarrow{P}\theta, so TnT_n is consistent for θ\theta. ◼\blacksquare

Example. For U(0,θ)U(0,\theta), M=X(n)M=X_{(n)} has E(M)=nn+1θ→θE(M)=\frac n{n+1}\theta\to\theta and V(M)=nθ2(n+1)2(n+2)→0V(M)=\frac{n\theta^2}{(n+1)^2(n+2)}\to0, so it is consistent even though it is biased.

✓ Proof checked step by step Every step was checked: the mean squared error decomposition and Chebyshev’s inequality.

↑ Back to the question list

Define the empirical distribution function and find its expectation and variance. Hence show that it is a consistent estimator of the population distribution function.

1996 · Paper I · Q8a · 20 marks

Solution

Definition. For a sample X1,…,XnX_1,\dots,X_n, the empirical distribution function is Fn(x)=1n#{i:Xi≤x}=1n∑i=1nI(Xi≤x),−∞<x<∞.F_n(x)=\frac1n\#\{i:X_i\le x\}=\frac1n\sum_{i=1}^nI(X_i\le x),\qquad-\infty<x<\infty . It is a step function that jumps by 1/n1/n at each observation.

Distribution. For fixed xx, the indicators I(Xi≤x)I(X_i\le x) are i.i.d. Bernoulli with success probability F(x)F(x). So nFn(x)∼B(n,F(x)).nF_n(x)\sim B\big(n,F(x)\big).

Expectation and variance. E{Fn(x)}=F(x),V{Fn(x)}=F(x){1−F(x)}n.E\{F_n(x)\}=F(x),\qquad V\{F_n(x)\}=\frac{F(x)\{1-F(x)\}}n .

Consistency. Fn(x)F_n(x) is unbiased for F(x)F(x), and its variance is at most 14n→0\frac1{4n}\to0. So, by Chebyshev’s inequality, P(|Fn(x)−F(x)|>ε)≤F(x){1−F(x)}nε2≤14nε2→0.P\big(|F_n(x)-F(x)|>\varepsilon\big)\le\frac{F(x)\{1-F(x)\}}{n\varepsilon^2}\le\frac1{4n\varepsilon^2}\to0 . So Fn(x)F_n(x) is a consistent estimator of F(x)F(x) at every xx. ◼\blacksquare

(Much more is true. The Glivenko–Cantelli theorem says supx|Fn(x)−F(x)|→0\sup_x|F_n(x)-F(x)|\to0 with probability 1.)

✓ Checked by computer We checked the mean F(x) and variance F(x)(1−F(x))/n by simulation (standard normal, x = 0.5, n = 30), and the uniform convergence (largest gap 0.0044 at n = 10,000).

↑ Back to the question list

Define bias, variance and mean squared error of an estimator t for a parameter θ. Obtain a relation [?] among these three quantities.

1995 · Paper I · Q1a · 20 marks

Solution

Definitions. Let tt be an estimator of θ\theta.

  • Bias: b(θ)=E(t)−θb(\theta)=E(t)-\theta.
  • Variance: V(t)=E{t−E(t)}2V(t)=E\{t-E(t)\}^2.
  • Mean squared error: MSE(t)=E(t−θ)2\text{MSE}(t)=E(t-\theta)^2.

Relation. Write t−θ={t−E(t)}+{E(t)−θ}t-\theta=\{t-E(t)\}+\{E(t)-\theta\} and square: E(t−θ)2=E{t−E(t)}2+2{E(t)−θ}E{t−E(t)}+{E(t)−θ}2.E(t-\theta)^2=E\{t-E(t)\}^2+2\{E(t)-\theta\}E\{t-E(t)\}+\{E(t)-\theta\}^2 . The middle term is zero, because E{t−E(t)}=0E\{t-E(t)\}=0. So MSE(t)=V(t)+{b(θ)}2\boxed{\ \text{MSE}(t)=V(t)+\{b(\theta)\}^2\ }

Consequences.

  • For an unbiased estimator, MSE = variance.
  • A biased estimator can still have a smaller MSE, if it lowers the variance by more than the squared bias. For example, 1n∑(Xi−X‾)2\frac1n\sum(X_i-\bar X)^2 beats S2S^2 for normal σ2\sigma^2.
  • MSE→0\text{MSE}\to0 is a sufficient condition for consistency.

✓ Proof checked step by step Every step was checked: the cross term in the expansion has mean zero.

↑ Back to the question list

More on Statistical Inference

Questions: UPSC Civil Services (Main) Examination, Statistics Paper I, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted