Menu Close

Convergence and laws of large numbers: UPSC Statistics Optional PYQ Solutions (1995–2026)

All 57 questions UPSC has asked on convergence and laws of large numbers in the Statistics Optional (Paper I, Probability) from 1995 to 2026, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Probability 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.
  • ✓ 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 · 1c 2026 · 2c(ii) 2024 · 1c 2024 · 2c 2023 · 1c 2023 · 2b 2023 · 2c 2023 · 3a(i) 2022 · 3a 2021 · 3b 2020 · 1c 2020 · 4b(ii) 2019 · 1b 2018 · 3b 2018 · 3c 2018 · 4a 2017 · 1c 2017 · 2b 2016 · 4c 2015 · 1b 2014 · 2a 2014 · 2b 2014 · 3c 2013 · 4b 2012 · 2c 2011 · 4a 2010 · 3b 2009 · 1c 2007 · 1c 2007 · 2b 2006 · 2c 2005 · 2b 2004 · 1b 2004 · 2a 2004 · 2b 2003 · 2a 2002 · 1b 2001 · 3ii 2000 · 2a(ii) 2000 · 2b(ii) 2000 · 2c 1999 · 2c 1999 · 4a 1999 · 4c 1998 · 3a 1998 · 3b 1998 · 3c 1998 · 4c 1997 · 3a 1997 · 3b 1997 · 3c 1997 · 4a 1996 · 3a 1996 · 3b 1996 · 3c 1995 · 3a 1995 · 3b

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

A random variable X has the probability density function f(x)=e−xxλλ!;x>0 where λ is a positive integer. Using Chebyshev’s inequality, show that P[0<X<2(λ+1)]>λλ+1

2026 · Paper I · Q1c · 10 marks

Solution

Identify the distribution. f(x)=e−xxλλ!=e−xx(λ+1)−1Γ(λ+1)f(x)=\dfrac{e^{-x}x^\lambda}{\lambda!}=\dfrac{e^{-x}x^{(\lambda+1)-1}}{\Gamma(\lambda+1)} is the Gamma(λ+1\lambda+1, 1) density. So E(X)=λ+1,V(X)=λ+1.E(X)=\lambda+1,\qquad V(X)=\lambda+1. (Directly: E(X)=∫0∞e−xxλ+1λ!dx=(λ+1)!λ!=λ+1E(X)=\int_0^\infty\frac{e^{-x}x^{\lambda+1}}{\lambda!}dx=\frac{(\lambda+1)!}{\lambda!}=\lambda+1, and E(X2)=(λ+2)(λ+1)E(X^2)=(\lambda+2)(\lambda+1).)

Chebyshev. For k>0k>0, P(|X−μ|<k)≥1−σ2k2P(|X-\mu|<k)\ge1-\dfrac{\sigma^2}{k^2}. Take μ=λ+1\mu=\lambda+1 and k=λ+1k=\lambda+1: P(|X−(λ+1)|<λ+1)≥1−λ+1(λ+1)2=1−1λ+1=λλ+1.P\big(|X-(\lambda+1)|<\lambda+1\big)\ge1-\frac{\lambda+1}{(\lambda+1)^2}=1-\frac1{\lambda+1}=\frac\lambda{\lambda+1}.

Rewrite the event. |X−(λ+1)|<λ+1|X-(\lambda+1)|<\lambda+1 is the same as 0<X<2(λ+1)0<X<2(\lambda+1).

Strict inequality. Equality in Chebyshev’s inequality needs all the probability to sit at the three points μ\mu and μ±k\mu\pm k. A continuous variable cannot do that, so the inequality is strict: P[0<X<2(λ+1)]>λλ+1.◼P\big[0<X<2(\lambda+1)\big]>\frac\lambda{\lambda+1}.\qquad\blacksquare

✓ Proof checked step by step Every step was checked. Chebyshev’s inequality gives “≥”, and we show why the inequality is strict.

↑ Back to the question list

Let X1,X2,⋯ be a sequence of independent random variables such that P[Xk=n]=1n and P[Xk=0]=1−1n,k=1,2,⋯ Check whether the weak law of large numbers (WLLN) holds for this sequence or not.

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

Solution

Note on the question. As printed, the distribution of XkX_k does not depend on kk. We take the standard version P(Xk=k)=1k,P(Xk=0)=1−1k,k=1,2,…P(X_k=k)=\frac1k,\qquad P(X_k=0)=1-\frac1k,\qquad k=1,2,\dots (The other reading, where X1,…,XnX_1,\dots,X_n each take the value nn with probability 1/n1/n, leads to the same conclusion; see the end.)

Moments. E(Xk)=1E(X_k)=1 and V(Xk)=k2⋅1k−1=k−1V(X_k)=k^2\cdot\frac1k-1=k-1. So E(Snn)=1,V(Snn)=1n2∑k=1n(k−1)=n−12n→12.E\left(\frac{S_n}n\right)=1,\qquad V\left(\frac{S_n}n\right)=\frac1{n^2}\sum_{k=1}^n(k-1)=\frac{n-1}{2n}\to\frac12. Markov’s sufficient condition (V(Sn)/n2→0V(S_n)/n^2\to0) fails. That alone does not decide the question, so we look more closely.

WLLN fails. Write Snn=∑k=1nknIk\dfrac{S_n}n=\displaystyle\sum_{k=1}^n\frac kn\,I_k, with Ik∼I_k\sim Bernoulli(1/k)(1/k) independent.

  • For fixed 0<a<10<a<1, the number of k∈(an,n]k\in(an,n] with Ik=1I_k=1 has mean ∑an<k≤n1k→log1a\sum_{an<k\le n}\frac1k\to\log\frac1a. In the limit it is Poisson(log1a\log\frac1a).
  • Each such kk adds between aa and 1 to Sn/nS_n/n.

So Sn/nS_n/n is built from a random number of terms of size comparable to 1. It converges in distribution to a non-degenerate limit (the Dickman distribution, with mean 1 and variance 12\tfrac12), not to the constant 1. Concretely, with probability tending to 1−e−log2=121-e^{-\log 2}=\tfrac12 at least one k∈(n/2,n]k\in(n/2,n] has Ik=1I_k=1. The variance figure 12\tfrac12 shows the spread does not shrink.

Formally, the Kolmogorov–Feller criterion applies: the summands Xk/nX_k/n are infinitesimal and bounded by 1, so the WLLN would need 1n2∑V(Xk)→0\frac1{n^2}\sum V(X_k)\to0. This fails, so the WLLN does not hold.

Other reading. If X1,…,XnX_1,\dots,X_n each equal nn with probability 1n\tfrac1n (else 0), then Sn/nS_n/n is the number of non-zero terms, which is B(n,1n)→B(n,\tfrac1n)\to Poisson(1). Again Sn/n−1S_n/n-1 does not tend to 0. The WLLN fails.

✓ Proof checked step by step Every step was checked. We also simulated the sequence in Python (n = 2000, 20 000 runs): Sn/nS_n/n has mean 1.00 and variance 0.500, and it falls more than 0.25 from 1 in 74% of runs. It does not settle at 1.

↑ Back to the question list

Let X1,X2,⋯ is a sequence of independent and identically distributed random variables with mean (μ) and variance (σ2)<∞, and assume Sn=X1+X2+⋯+Xn. Show that WLLN does not hold for sequence ⟨Sn⟩ of random variables.

2024 · Paper I · Q1c · 10 marks

Solution

What is being claimed. The WLLN for a sequence ⟨Sk⟩\langle S_k\rangle says that Zn=1n∑k=1n(Sk−E(Sk))→P0.Z_n=\frac1n\sum_{k=1}^n\big(S_k-E(S_k)\big)\xrightarrow{P}0. We show this fails (assume σ2>0\sigma^2>0).

Write ZnZ_n in terms of the XiX_i. XiX_i appears in Si,Si+1,…,SnS_i,S_{i+1},\dots,S_n, that is, n−i+1n-i+1 times. So Zn=1n∑i=1n(n−i+1)(Xi−μ)=∑i=1nwi(Xi−μ),wi=n−i+1n∈(0,1].Z_n=\frac1n\sum_{i=1}^n(n-i+1)(X_i-\mu)=\sum_{i=1}^nw_i(X_i-\mu),\qquad w_i=\frac{n-i+1}n\in(0,1].

Variance. V(Zn)=σ2∑i=1nwi2=σ2n2∑j=1nj2=σ2(n+1)(2n+1)6n∼σ2n3→∞.V(Z_n)=\sigma^2\sum_{i=1}^nw_i^2=\frac{\sigma^2}{n^2}\sum_{j=1}^nj^2=\sigma^2\frac{(n+1)(2n+1)}{6n}\sim\frac{\sigma^2n}3\to\infty.

The spread grows, so Zn↛0Z_n\not\to0. The weights are bounded (wi≤1w_i\le1) while V(Zn)→∞V(Z_n)\to\infty. So no single term dominates, and the Lindeberg condition holds for the weighted sum. Hence Zn/V(Zn)→dN(0,1)Z_n/\sqrt{V(Z_n)}\xrightarrow{d}N(0,1), and for any ε>0\varepsilon>0 P(|Zn|>ε)=P(|Zn|V(Zn)>εV(Zn))→P(|Z|>0)=1.P(|Z_n|>\varepsilon)=P\left(\frac{|Z_n|}{\sqrt{V(Z_n)}}>\frac{\varepsilon}{\sqrt{V(Z_n)}}\right)\to P(|Z|>0)=1. So ZnZ_n does not converge to 0 in probability, and the WLLN does not hold for ⟨Sn⟩\langle S_n\rangle. ◼\blacksquare

(Intuition: SkS_k has variance kσ2k\sigma^2, which grows; averaging such increasingly noisy variables cannot remove the noise.)

✓ Proof checked step by step Every step was checked. We also computed V(1n∑kSk)/σ2=∑j≤nj2/n2V\big(\tfrac1n\sum_kS_k\big)/\sigma^2=\sum_{j\le n}j^2/n^2 in Python: 3.9, 33.8 and 333.8 for n = 10, 100 and 1000, growing like n/3.

↑ Back to the question list

Let X1,X2,⋯,X2n be iid N(0,1) variates. Find the limiting distribution of X1X2+X3X4+⋯+X2n−1X2nX12+X22+⋯+Xn2

2024 · Paper I · Q2c · 15 marks

Solution

Numerator. Each ratio X2i−1/X2iX_{2i-1}/X_{2i} of independent N(0,1)N(0,1) variables is standard Cauchy, and the nn ratios are independent. The Cauchy c.f. is e−|t|e^{-|t|}, so the sum of nn of them has c.f. e−n|t|e^{-n|t|}, the c.f. of nCn\,C where CC is standard Cauchy. So Numerator=dnCn,Cn∼Cauchy(0,1) for every n.\text{Numerator}\overset d=n\,C_n,\qquad C_n\sim\text{Cauchy}(0,1)\text{ for every }n.

Denominator. By the WLLN (Khinchin), 1n∑i=1nXi2→PE(X12)=1\dfrac1n\sum_{i=1}^nX_i^2\xrightarrow{P}E(X_1^2)=1.

Combine with Slutsky’s theorem. Tn=nCn∑i=1nXi2=Cn1n∑Xi2.T_n=\frac{nC_n}{\sum_{i=1}^nX_i^2}=\frac{C_n}{\frac1n\sum X_i^2}. CnC_n has the same Cauchy law for every nn (so it trivially converges in law), and the denominator tends to 1 in probability. Slutsky’s theorem does not need independence, so Tn→dCauchy(0,1):f(t)=1π(1+t2),−∞<t<∞.T_n\xrightarrow{d}\text{Cauchy}(0,1):\qquad f(t)=\frac1{\pi(1+t^2)},\quad-\infty<t<\infty.

✓ Proof checked step by step Every step was checked. We also simulated n = 400 in Python (20 000 runs): a Kolmogorov–Smirnov test against the standard Cauchy gave p = 0.94.

↑ Back to the question list

Let {Xn,n≥1} be a sequence of mutually independent random variables such that P(Xn=nα)=P(Xn=−nα)=0.5, for any α>0. Derive the condition on α under which the sequence {Xn,n≥1} obeys WLLNs.

2023 · Paper I · Q1c · 10 marks

Solution

Moments. E(Xn)=0E(X_n)=0 and V(Xn)=n2αV(X_n)=n^{2\alpha}. So Bn2=V(Sn)=∑k=1nk2α∼n2α+12α+1.B_n^2=V(S_n)=\sum_{k=1}^nk^{2\alpha}\sim\frac{n^{2\alpha+1}}{2\alpha+1}.

α<12\alpha<\tfrac12: the WLLN holds. Bn2n2≤n⋅n2αn2=n2α−1→0.\frac{B_n^2}{n^2}\le\frac{n\cdot n^{2\alpha}}{n^2}=n^{2\alpha-1}\to0. By Markov’s theorem (Chebyshev’s inequality), Snn→P0\dfrac{S_n}n\xrightarrow{P}0.

α≥12\alpha\ge\tfrac12: the WLLN fails. Check Lyapunov’s condition: E|Xk|3=k3αE|X_k|^3=k^{3\alpha}, so ∑k≤nk3αBn3∼cn3α+1n3α+3/2=cn−1/2→0.\frac{\sum_{k\le n}k^{3\alpha}}{B_n^3}\sim c\,\frac{n^{3\alpha+1}}{n^{3\alpha+3/2}}=c\,n^{-1/2}\to0. The CLT holds: Sn/Bn→dN(0,1)S_n/B_n\xrightarrow dN(0,1). Now Snn=Bnn⋅SnBn,Bnn∼nα−1/22α+1.\frac{S_n}n=\frac{B_n}n\cdot\frac{S_n}{B_n},\qquad\frac{B_n}n\sim\frac{n^{\alpha-1/2}}{\sqrt{2\alpha+1}}.

  • If α=12\alpha=\tfrac12, Bn/n→12B_n/n\to\tfrac1{\sqrt2} and Snn→dN(0,12)\dfrac{S_n}n\xrightarrow dN\!\left(0,\tfrac12\right), not 0.
  • If α>12\alpha>\tfrac12, Bn/n→∞B_n/n\to\infty and P(|Sn/n|>ε)→1P(|S_n/n|>\varepsilon)\to1.

Condition. The sequence obeys the WLLN if and only if 0<α<120<\alpha<\tfrac12.

✓ Proof checked step by step Every step was checked: Markov’s condition for α < ½, and the CLT argument (Lyapunov ratio of order n−1/2n^{-1/2}) for α ≥ ½.

↑ Back to the question list

Give an example to prove or disapprove the following: P(limsupAn)=0⇒∑k=1∞P(Ak)<∞, for any sequence {An,n≥1} of events defined on a probability space (Ω,𝒜,P).

2023 · Paper I · Q2b · 15 marks

Solution

The claim is false. The first Borel–Cantelli lemma says ∑P(Ak)<∞⇒P(limsupAn)=0\sum P(A_k)<\infty\Rightarrow P(\limsup A_n)=0. The converse fails in general.

Counter-example. Take Ω=(0,1)\Omega=(0,1) with 𝒜\mathcal A the Borel sets and PP the length (Lebesgue measure). Let An=(0,1n),n≥1.A_n=\left(0,\frac1n\right),\qquad n\ge1.

P(limsupAn)=0P(\limsup A_n)=0. The sets decrease, so ⋃k≥nAk=An\bigcup_{k\ge n}A_k=A_n and limsupAn=⋂n≥1⋃k≥nAk=⋂n≥1(0,1n)=⌀.\limsup A_n=\bigcap_{n\ge1}\bigcup_{k\ge n}A_k=\bigcap_{n\ge1}\left(0,\frac1n\right)=\varnothing. So P(limsupAn)=0P(\limsup A_n)=0.

But ∑P(Ak)=∞\sum P(A_k)=\infty. ∑k=1∞P(Ak)=∑k=1∞1k=∞\displaystyle\sum_{k=1}^\infty P(A_k)=\sum_{k=1}^\infty\frac1k=\infty.

So P(limsupAn)=0P(\limsup A_n)=0 does not imply ∑P(Ak)<∞\sum P(A_k)<\infty. ◼\blacksquare

Remark. The events here are strongly dependent: they are nested. For independent events the converse does hold. By the second Borel–Cantelli lemma, ∑P(Ak)=∞⇒P(limsupAn)=1\sum P(A_k)=\infty\Rightarrow P(\limsup A_n)=1, so P(limsupAn)=0P(\limsup A_n)=0 forces ∑P(Ak)<∞\sum P(A_k)<\infty.

✓ Proof checked step by step Every step was checked: the counter-example’s lim sup is computed exactly, and the harmonic series diverges.

↑ Back to the question list

Let {Yn,n≥1} be a sequence of random variables and Y be a degenerate random variable. Examine whether ‘Yn converges in distribution to Y’ implies ‘Yn converges in probability to Y’.

2023 · Paper I · Q2c · 15 marks

Solution

Claim. Yes. If YY is degenerate at cc and Yn→dYY_n\xrightarrow dY, then Yn→PcY_n\xrightarrow Pc.

Proof. The d.f. of YY is F(y)=0F(y)=0 for y<cy<c and F(y)=1F(y)=1 for y≥cy\ge c. It is continuous everywhere except at cc. Convergence in distribution means Fn(y)→F(y)F_n(y)\to F(y) at every y≠cy\ne c.

Fix ε>0\varepsilon>0. The points c−εc-\varepsilon and c+εc+\varepsilon are continuity points of FF, so P(|Yn−c|>ε)≤P(Yn≤c−ε)+P(Yn>c+ε)=Fn(c−ε)+1−Fn(c+ε)→0+1−1=0.P(|Y_n-c|>\varepsilon)\le P(Y_n\le c-\varepsilon)+P(Y_n>c+\varepsilon)=F_n(c-\varepsilon)+1-F_n(c+\varepsilon)\to0+1-1=0. So Yn→PcY_n\xrightarrow Pc. ◼\blacksquare

Remark. For a non-degenerate limit the implication fails. If X∼N(0,1)X\sim N(0,1) and Yn=−XY_n=-X for all nn, then Yn→dXY_n\xrightarrow dX (same distribution), but P(|Yn−X|>ε)=P(2|X|>ε)P(|Y_n-X|>\varepsilon)=P(2|X|>\varepsilon) does not tend to 0. Convergence in distribution concerns only the distributions, not the variables themselves; a constant limit is the exception.

✓ Proof checked step by step Every step was checked; we use only continuity points of the limiting d.f., as the definition requires.

↑ Back to the question list

If X is a random variable with finite variance, show that limn→∞n2P{1×1>n}=0.

2023 · Paper I · Q3a(i) · 10 marks

Solution

Note on the question. “P{1×1>n}P\{1\times1>n\}” is a misprint for P{|X|>n}P\{|X|>n\}. We prove limn→∞n2P(|X|>n)=0\lim_{n\to\infty}n^2P(|X|>n)=0.

Proof. On the event {|X|>n}\{|X|>n\} we have X2>n2X^2>n^2. So n2P(|X|>n)=E[n2𝟏{|X|>n}]≤E[X2𝟏{|X|>n}].n^2P(|X|>n)=E\left[n^2\mathbf 1\{|X|>n\}\right]\le E\left[X^2\mathbf 1\{|X|>n\}\right]. Since the variance is finite, E(X2)<∞E(X^2)<\infty. As n→∞n\to\infty, X2𝟏{|X|>n}→0X^2\mathbf 1\{|X|>n\}\to0 for every outcome, and it is dominated by the integrable X2X^2. By the dominated convergence theorem, E[X2𝟏{|X|>n}]→0.E\left[X^2\mathbf 1\{|X|>n\}\right]\to0. Hence n2P(|X|>n)→0n^2P(|X|>n)\to0. ◼\blacksquare

(Chebyshev’s inequality alone gives only n2P(|X|>n)≤E(X2)n^2P(|X|>n)\le E(X^2), a bound, not a limit of 0. The tail of the integral is what makes it tend to 0.)

✓ Proof checked step by step Every step was checked: the bound n2𝟏{|X|>n}≤X2𝟏{|X|>n}n^2\mathbf 1\{|X|>n\}\le X^2\mathbf 1\{|X|>n\} and dominated convergence.

↑ Back to the question list

(i) How large a sample must be taken in order that the probability will be at least 0.90 that the sample mean will be within 0.4 – neighbourhood of the population mean, provided the population standard deviation is 2? (ii) Examine whether the weak law of large numbers holds for the sequence {Xk} of independent random variables defined as follows: P(Xk=−1−1k)=12{1−(1−1k2)1/2}, P(Xk=1+1k)=12{1+(1−1k2)1/2}.

2022 · Paper I · Q3a · 15 marks

Solution

(i) Sample size (Chebyshev). V(X‾)=σ2n=4nV(\bar X)=\dfrac{\sigma^2}n=\dfrac4n. By Chebyshev’s inequality, P(|X‾−μ|<0.4)≥1−4/n0.42=1−25n.P(|\bar X-\mu|<0.4)\ge1-\frac{4/n}{0.4^2}=1-\frac{25}n. We need 1−25n≥0.901-\dfrac{25}n\ge0.90, that is, n≥250n\ge250. So a sample of 250 is enough, whatever the shape of the population.

(If the population is normal, or nn is large enough for the CLT, 0.4n2≥1.645\dfrac{0.4\sqrt n}2\ge1.645 gives n≥68n\ge68. Chebyshev is cautious because it assumes nothing about the shape.)

(ii) WLLN. Write ak=1+1ka_k=1+\dfrac1k and sk=1−1k2s_k=\sqrt{1-\dfrac1{k^2}}. XkX_k takes the values ±ak\pm a_k with probabilities 12(1∓sk)\tfrac12(1\mp s_k). So E(Xk)=ak⋅12(1+sk)−ak⋅12(1−sk)=aksk,E(Xk2)=ak2,E(X_k)=a_k\cdot\tfrac12(1+s_k)-a_k\cdot\tfrac12(1-s_k)=a_ks_k,\qquad E(X_k^2)=a_k^2, V(Xk)=ak2(1−sk2)=ak2k2=(k+1)2k4≤4k2.V(X_k)=a_k^2(1-s_k^2)=\frac{a_k^2}{k^2}=\frac{(k+1)^2}{k^4}\le\frac4{k^2}. Hence Bn2=∑k=1nV(Xk)≤4∑k=1∞1k2=2π23,Bn2n2→0.B_n^2=\sum_{k=1}^nV(X_k)\le4\sum_{k=1}^\infty\frac1{k^2}=\frac{2\pi^2}3,\qquad\frac{B_n^2}{n^2}\to0. By Markov’s theorem, Sn−E(Sn)n→P0\dfrac{S_n-E(S_n)}n\xrightarrow P0. The WLLN holds.

✓ Checked by computer We recomputed (i) in Python, n = 4/(0.16 × 0.1) = 250, and checked the variance formula in (ii) for k = 1, 2, 5 and 50.

↑ Back to the question list

Let Yi,i≥1 be independent and identical U(−1,1) random variables. Determine if the following sequences converge in probability: (i) {Yii} (ii) {(Yi)i}

2021 · Paper I · Q3b · 15 marks

Solution

(i) Yi/iY_i/i. Since |Yi|<1|Y_i|<1, |Yii|<1i→0\left|\dfrac{Y_i}i\right|<\dfrac1i\to0 for every outcome. So Yi/i→0Y_i/i\to0 surely, and hence in probability: for any ε>0\varepsilon>0, P(|Yi/i|>ε)=0P(|Y_i/i|>\varepsilon)=0 once i>1/εi>1/\varepsilon.

(ii) (Yi)i(Y_i)^i. |Yi|∼U(0,1)|Y_i|\sim U(0,1). For 0<ε<10<\varepsilon<1, P(|Yi|i>ε)=P(|Yi|>ε1/i)=1−ε1/i→1−1=0,P\left(|Y_i|^i>\varepsilon\right)=P\left(|Y_i|>\varepsilon^{1/i}\right)=1-\varepsilon^{1/i}\to1-1=0, since ε1/i→1\varepsilon^{1/i}\to1. So (Yi)i→P0(Y_i)^i\xrightarrow P0: it does converge in probability (to 0).

Remark. It does not converge almost surely. 1−ε1/i≈log(1/ε)i1-\varepsilon^{1/i}\approx\dfrac{\log(1/\varepsilon)}i, so ∑iP(|Yi|i>ε)=∞\sum_iP(|Y_i|^i>\varepsilon)=\infty. The YiY_i are independent, so by the second Borel–Cantelli lemma |Yi|i>ε|Y_i|^i>\varepsilon happens infinitely often, almost surely.

✓ Proof checked step by step Every step was checked. We also computed P(|Yi|i>0.1)=1−0.11/iP(|Y_i|^i>0.1)=1-0.1^{1/i} in Python: 0.206, 0.023 and 0.0023 for i = 10, 100 and 1000.

↑ Back to the question list

For a geometric distribution p(x)=2−x;x=1,2,3,…, show that Chebyshev’s inequality gives P(|X−2|≤2)>12, while the actual probability is 1516.

2020 · Paper I · Q1c · 10 marks

Solution

Mean and variance. p(x)=2−xp(x)=2^{-x}, x=1,2,…x=1,2,\dots is geometric with p=12p=\tfrac12 (counting trials). So μ=1p=2,σ2=1−pp2=2.\mu=\frac1p=2,\qquad\sigma^2=\frac{1-p}{p^2}=2.

Chebyshev’s bound. XX is integer-valued, so |X−2|>2|X-2|>2 means |X−2|≥3|X-2|\ge3. Then P(|X−2|≤2)=1−P(|X−2|≥3)≥1−σ232=1−29=79>12.P(|X-2|\le2)=1-P(|X-2|\ge3)\ge1-\frac{\sigma^2}{3^2}=1-\frac29=\frac79>\frac12. (Applying Chebyshev directly with k=2k=2 gives P(|X−2|<2)≥1−24=12P(|X-2|<2)\ge1-\frac24=\frac12, so certainly P(|X−2|≤2)>12P(|X-2|\le2)>\frac12.)

Actual probability. |X−2|≤2|X-2|\le2 means X∈{1,2,3,4}X\in\{1,2,3,4\}: P(|X−2|≤2)=12+14+18+116=1516.P(|X-2|\le2)=\frac12+\frac14+\frac18+\frac1{16}=\frac{15}{16}.

Comment. The true probability (0.94) is far above Chebyshev’s guarantee (0.5). Chebyshev’s inequality holds for every distribution, so it is usually crude for any particular one.

✓ Checked by computer We recomputed in Python: mean 2, variance 2, and the exact probability P(|X−2|≤2)=15/16P(|X-2|\le2)=15/16.

↑ Back to the question list

(i) Obtain characteristic function of uniform distribution U(0,1).

(ii) Let {Xn} be a sequence of independent random variables such that P(Xk=kn)=1n,k=1,2,…,n Show that Xn converges in law to a uniform distribution. State the result you have used.

2020 · Paper I · Q4b(ii) · 10 marks

Solution

(This question is also listed under 1.4 Generating and characteristic functions. The worked solution is repeated here so that this page is complete.)

(i) C.f. of U(0,1)U(0,1). ϕ(t)=∫01eitxdx=eit−1it,t≠0;ϕ(0)=1.\phi(t)=\int_0^1e^{itx}\,dx=\frac{e^{it}-1}{it},\qquad t\ne0;\qquad\phi(0)=1.

(ii) XnX_n is uniform on {1n,2n,…,1}\{\tfrac1n,\tfrac2n,\dots,1\}. (Only the distribution of each XnX_n matters here, so the independence of the XnX_n plays no role.) Its c.f. is a geometric sum: ϕn(t)=1n∑k=1neitk/n=1neit/neit−1eit/n−1=eit/n⋅eit−1n(eit/n−1).\phi_n(t)=\frac1n\sum_{k=1}^ne^{itk/n}=\frac1n\,e^{it/n}\,\frac{e^{it}-1}{e^{it/n}-1}=e^{it/n}\cdot\frac{e^{it}-1}{n\left(e^{it/n}-1\right)}.

Limit. For fixed t≠0t\ne0, as n→∞n\to\infty: eit/n→1e^{it/n}\to1, and n(eit/n−1)→itn\left(e^{it/n}-1\right)\to it, since eiu−1u→i\dfrac{e^{iu}-1}u\to i as u→0u\to0. So ϕn(t)→eit−1it,\phi_n(t)\to\frac{e^{it}-1}{it}, and ϕn(0)=1\phi_n(0)=1 for all nn. The limit is the c.f. of U(0,1)U(0,1).

Conclusion. By Lévy’s continuity theorem (if ϕn(t)→ϕ(t)\phi_n(t)\to\phi(t) for every tt, and ϕ\phi is continuous at 0, then Fn→FF_n\to F at every continuity point of FF, where ϕ\phi is the c.f. of FF), Xn→LU(0,1)X_n\xrightarrow{L}U(0,1). ◼\blacksquare

(Direct check: P(Xn≤x)=⌊nx⌋/n→xP(X_n\le x)=\lfloor nx\rfloor/n\to x for 0≤x≤10\le x\le1.)

✓ Proof checked step by step Every step was checked. We also computed the c.f. of XnX_n in Python at t = 2 for n = 10, 100 and 1000: it approaches (e2i−1)/(2i)(e^{2i}-1)/(2i).

↑ Back to the question list

Prove that Xn→P0 if and only if Xn→d0.

2019 · Paper I · Q1b · 10 marks

Solution

(⇒\Rightarrow) Convergence in probability implies convergence in distribution. Let F(x)=𝟏{x≥0}F(x)=\mathbf 1\{x\ge0\} be the d.f. of the constant 0. Take x≠0x\ne0 and ε>0\varepsilon>0.

  • If x<0x<0, choose ε<|x|\varepsilon<|x|: Fn(x)=P(Xn≤x)≤P(|Xn|≥|x|)→0=F(x)F_n(x)=P(X_n\le x)\le P(|X_n|\ge|x|)\to0=F(x).
  • If x>0x>0: 1−Fn(x)=P(Xn>x)≤P(|Xn|>x)→01-F_n(x)=P(X_n>x)\le P(|X_n|>x)\to0, so Fn(x)→1=F(x)F_n(x)\to1=F(x).

So Xn→d0X_n\xrightarrow d0.

(⇐\Leftarrow) Convergence in distribution to 0 implies convergence in probability. For ε>0\varepsilon>0, ±ε\pm\varepsilon are continuity points of FF, so P(|Xn|>ε)≤Fn(−ε)+1−Fn(ε)→0+1−1=0.P(|X_n|>\varepsilon)\le F_n(-\varepsilon)+1-F_n(\varepsilon)\to0+1-1=0. So Xn→P0X_n\xrightarrow P0. ◼\blacksquare

(The equivalence holds because the limit is a constant. For a random limit, convergence in distribution is strictly weaker.)

✓ Proof checked step by step Every step was checked; the converse uses only continuity points of the degenerate limit.

↑ Back to the question list

Let {Xn} be a sequence of random variables and Yn=1n∑i=1nXi. Prove that a necessary and sufficient condition for the sequence {Xn} to satisfy the weak law of large numbers is that E[Yn21+Yn2]→0 as n→∞.

2018 · Paper I · Q3b · 15 marks

Solution

Note on the question. For the result to say “the WLLN holds”, YnY_n must be the centred mean: Yn=1n∑i=1n(Xi−E(Xi))Y_n=\dfrac1n\sum_{i=1}^n\big(X_i-E(X_i)\big). (Or assume E(Xi)=0E(X_i)=0.) The WLLN means Yn→P0Y_n\xrightarrow P0. We prove: Yn→P0⇔E[Yn21+Yn2]→0.Y_n\xrightarrow P0\iff E\left[\frac{Y_n^2}{1+Y_n^2}\right]\to0.

The function. Let g(y)=y21+y2g(y)=\dfrac{y^2}{1+y^2}. Then 0≤g<10\le g<1, and gg is increasing in |y||y|.

Sufficiency. For ε>0\varepsilon>0, |Yn|≥ε|Y_n|\ge\varepsilon implies g(Yn)≥g(ε)g(Y_n)\ge g(\varepsilon). By Markov’s inequality, P(|Yn|≥ε)≤Eg(Yn)g(ε)=1+ε2ε2E[Yn21+Yn2]→0.P(|Y_n|\ge\varepsilon)\le\frac{E\,g(Y_n)}{g(\varepsilon)}=\frac{1+\varepsilon^2}{\varepsilon^2}\,E\left[\frac{Y_n^2}{1+Y_n^2}\right]\to0.

Necessity. Split on |Yn|<ε|Y_n|<\varepsilon: Eg(Yn)≤g(ε)P(|Yn|<ε)+1⋅P(|Yn|≥ε)≤ε21+ε2+P(|Yn|≥ε).E\,g(Y_n)\le g(\varepsilon)\,P(|Y_n|<\varepsilon)+1\cdot P(|Y_n|\ge\varepsilon)\le\frac{\varepsilon^2}{1+\varepsilon^2}+P(|Y_n|\ge\varepsilon). If Yn→P0Y_n\xrightarrow P0, then limsupEg(Yn)≤ε21+ε2\limsup E\,g(Y_n)\le\dfrac{\varepsilon^2}{1+\varepsilon^2} for every ε>0\varepsilon>0. Letting ε→0\varepsilon\to0, Eg(Yn)→0E\,g(Y_n)\to0. ◼\blacksquare

(This condition needs no moments, no independence and no identical distributions, which makes it a general criterion.)

✓ Proof checked step by step Every step was checked: both directions use only that g(y)=y2/(1+y2)g(y)=y^2/(1+y^2) is bounded by 1 and increasing in |y||y|.

↑ Back to the question list

(i) Let Sn be equal to the total obtained in n tosses of a symmetric die. Estimate an upper bound for P[|Snn−3.5|>ε],for ε>0. (ii) Let Xn have the density function, for n=1,2,…, P[Xn=1]=1n and P[Xn=0]=1−1n. Check whether Xn converges to zero in probability.

2018 · Paper I · Q3c · 15 marks

Solution

(i) Die totals. One toss has mean 3.5 and variance 12+⋯+626−3.52=916−494=3512.\frac{1^2+\cdots+6^2}6-3.5^2=\frac{91}6-\frac{49}4=\frac{35}{12}. For nn independent tosses, V(Sn/n)=3512nV(S_n/n)=\dfrac{35}{12n}. By Chebyshev’s inequality, P[|Snn−3.5|>ε]≤3512nε2.P\left[\left|\frac{S_n}n-3.5\right|>\varepsilon\right]\le\frac{35}{12\,n\,\varepsilon^2}. The bound tends to 0, which is the WLLN for die tosses.

(ii) For any ε>0\varepsilon>0, |Xn|>ε|X_n|>\varepsilon can only happen when Xn=1X_n=1 (if ε<1\varepsilon<1; never if ε≥1\varepsilon\ge1). So P(|Xn−0|>ε)≤P(Xn=1)=1n→0.P(|X_n-0|>\varepsilon)\le P(X_n=1)=\frac1n\to0. Hence Xn→P0X_n\xrightarrow P0.

✓ Checked by computer We recomputed the die’s variance (35/12) in Python and checked part (ii) directly.

↑ Back to the question list

If Xn→LX, Yn→PC, then show that (i) Xn+Yn→LX+C (ii) Xn⋅Yn→LCX (iii) Xn/Yn→LX/C, provided C≠0.

2018 · Paper I · Q4a · 20 marks

Solution

Setting. Xn→LXX_n\xrightarrow LX with d.f. FF, and Yn→PCY_n\xrightarrow PC (a constant).

(i) Xn+Yn→LX+CX_n+Y_n\xrightarrow LX+C. Let xx be such that x−Cx-C is a continuity point of FF. For ε>0\varepsilon>0, {Xn+Yn≤x}⊆{Xn≤x−C+ε}∪{|Yn−C|>ε},\{X_n+Y_n\le x\}\subseteq\{X_n\le x-C+\varepsilon\}\cup\{|Y_n-C|>\varepsilon\}, {Xn≤x−C−ε}⊆{Xn+Yn≤x}∪{|Yn−C|>ε}.\{X_n\le x-C-\varepsilon\}\subseteq\{X_n+Y_n\le x\}\cup\{|Y_n-C|>\varepsilon\}. So Fn(x−C−ε)−P(|Yn−C|>ε)≤P(Xn+Yn≤x)≤Fn(x−C+ε)+P(|Yn−C|>ε).F_n(x-C-\varepsilon)-P(|Y_n-C|>\varepsilon)\le P(X_n+Y_n\le x)\le F_n(x-C+\varepsilon)+P(|Y_n-C|>\varepsilon). Choose ε\varepsilon with x−C±εx-C\pm\varepsilon continuity points of FF, and let n→∞n\to\infty: F(x−C−ε)≤liminfP(Xn+Yn≤x)≤limsupP(Xn+Yn≤x)≤F(x−C+ε).F(x-C-\varepsilon)\le\liminf P(X_n+Y_n\le x)\le\limsup P(X_n+Y_n\le x)\le F(x-C+\varepsilon). Let ε→0\varepsilon\to0: both sides tend to F(x−C)=P(X+C≤x)F(x-C)=P(X+C\le x).

(ii) XnYn→LCXX_nY_n\xrightarrow LCX. Write XnYn=CXn+Xn(Yn−C)X_nY_n=CX_n+X_n(Y_n-C).

  • CXn→LCXCX_n\xrightarrow LCX.
  • Xn(Yn−C)→P0X_n(Y_n-C)\xrightarrow P0. Since XnX_n converges in law, it is bounded in probability: given η>0\eta>0 there is an MM with P(|Xn|>M)<ηP(|X_n|>M)<\eta for all nn. Then P(|Xn(Yn−C)|>ε)≤P(|Xn|>M)+P(|Yn−C|>ε/M)<η+o(1).P(|X_n(Y_n-C)|>\varepsilon)\le P(|X_n|>M)+P(|Y_n-C|>\varepsilon/M)<\eta+o(1).

By (i), with the constant 0, XnYn→LCXX_nY_n\xrightarrow LCX.

(iii) Xn/Yn→LX/CX_n/Y_n\xrightarrow LX/C for C≠0C\ne0. The map y↦1/yy\mapsto1/y is continuous at C≠0C\ne0, so 1/Yn→P1/C1/Y_n\xrightarrow P1/C. (For |Yn−C|<|C|/2|Y_n-C|<|C|/2, |1/Yn−1/C|≤2|Yn−C|/C2|1/Y_n-1/C|\le2|Y_n-C|/C^2.) Apply (ii) with 1/Yn1/Y_n in place of YnY_n: XnYn=Xn⋅1Yn→LXC.◼\frac{X_n}{Y_n}=X_n\cdot\frac1{Y_n}\xrightarrow L\frac XC.\qquad\blacksquare

✓ Proof checked step by step Every step of Slutsky’s theorem was checked; ε is always chosen so that the shifted points are continuity points of the limit.

↑ Back to the question list

Let {Xn} be a sequence of independent and identically distributed random variables with common probability function P[X=−n]=P[X=n]=3π2n2,n=1,2,⋯ Check whether {Xn} obeys the (i) strong law of large numbers and (ii) weak law of large numbers.

2017 · Paper I · Q1c · 10 marks

Solution

The distribution. ∑n2⋅3π2n2=6π2⋅π26=1\sum_n2\cdot\frac3{\pi^2n^2}=\frac6{\pi^2}\cdot\frac{\pi^2}6=1. ✓ The distribution is symmetric, but E|X|=∑n=1∞2n⋅3π2n2=6π2∑n=1∞1n=∞.E|X|=\sum_{n=1}^\infty2n\cdot\frac3{\pi^2n^2}=\frac6{\pi^2}\sum_{n=1}^\infty\frac1n=\infty. So E(X)E(X) does not exist.

(i) SLLN: does not hold. For i.i.d. variables, Kolmogorov’s SLLN says Sn/n→cS_n/n\to c almost surely (for some finite cc) if and only if E|X1|<∞E|X_1|<\infty. Here E|X|=∞E|X|=\infty. In fact ∑nP(|Xn|>kn)=∞\sum_nP(|X_n|>kn)=\infty for every kk, so by the second Borel–Cantelli lemma |Xn|>kn|X_n|>kn infinitely often, and limsup|Sn|/n=∞\limsup|S_n|/n=\infty almost surely.

(ii) WLLN: does not hold. Feller’s WLLN for i.i.d. variables: there are constants μn\mu_n with Sn/n−μn→P0S_n/n-\mu_n\xrightarrow P0 if and only if xP(|X|>x)→0x\,P(|X|>x)\to0 as x→∞x\to\infty. Here xP(|X|>x)=x∑n>x6π2n2≈x⋅6π2x=6π2↛0.x\,P(|X|>x)=x\sum_{n>x}\frac6{\pi^2n^2}\approx x\cdot\frac6{\pi^2x}=\frac6{\pi^2}\not\to0. So the WLLN fails. (μn=E[X𝟏{|X|≤n}]=0\mu_n=E[X\mathbf 1\{|X|\le n\}]=0 by symmetry, so it would have to be Sn/n→P0S_n/n\xrightarrow P0.)

The tail P(|X|>x)∼6π2xP(|X|>x)\sim\frac6{\pi^2x} is like the Cauchy tail. Sn/nS_n/n converges in distribution to a Cauchy law with scale 3π\frac3\pi and never concentrates at 0.

✓ Proof checked step by step Every step was checked. We also simulated Sn/nS_n/n in Python for n = 100 and 1000: its semi-interquartile range stays near 0.97–0.99 instead of shrinking, close to the Cauchy scale 3/π = 0.955.

↑ Back to the question list

State and prove Chebyshev’s inequality. Hence or otherwise, prove that (i) P[X≤λ2]≤4λ and (ii) P[X≥2λ]≤1λ, if X is any positive random variable having both mean and variance equal to λ.

2017 · Paper I · Q2b · 15 marks

Solution

Chebyshev’s inequality. If XX has mean μ\mu and finite variance σ2\sigma^2, then for every k>0k>0, P(|X−μ|≥k)≤σ2k2.P(|X-\mu|\ge k)\le\frac{\sigma^2}{k^2}.

Proof. Let A={|X−μ|≥k}A=\{|X-\mu|\ge k\}. Since (X−μ)2≥k2(X-\mu)^2\ge k^2 on AA and (X−μ)2≥0(X-\mu)^2\ge0 everywhere, σ2=E(X−μ)2≥E[(X−μ)2𝟏A]≥k2P(A).◼\sigma^2=E(X-\mu)^2\ge E\left[(X-\mu)^2\mathbf 1_A\right]\ge k^2P(A).\qquad\blacksquare

Here E(X)=V(X)=λE(X)=V(X)=\lambda.

(i) X≤λ2X\le\dfrac\lambda2 implies λ−X≥λ2\lambda-X\ge\dfrac\lambda2, so {X≤λ2}⊆{|X−λ|≥λ2}\left\{X\le\frac\lambda2\right\}\subseteq\left\{|X-\lambda|\ge\frac\lambda2\right\}, and P[X≤λ2]≤λ(λ/2)2=4λ.P\left[X\le\frac\lambda2\right]\le\frac{\lambda}{(\lambda/2)^2}=\frac4\lambda.

(ii) X≥2λX\ge2\lambda implies X−λ≥λX-\lambda\ge\lambda, so P[X≥2λ]≤P(|X−λ|≥λ)≤λλ2=1λ.◼P[X\ge2\lambda]\le P(|X-\lambda|\ge\lambda)\le\frac\lambda{\lambda^2}=\frac1\lambda.\qquad\blacksquare

(Example: Poisson(λ\lambda) has mean and variance λ\lambda.)

✓ Proof checked step by step Every step was checked: both parts are Chebyshev’s inequality applied to an event contained in {|X−λ|≥k}\{|X-\lambda|\ge k\}.

↑ Back to the question list

Consider a sequence of random variables {Xn}, where P(Xn=n)=1, n=1,2,…. Does the sequence of distribution functions {Fn} converge to a distribution function?

2016 · Paper I · Q4c · 15 marks

Solution

The d.f.s. Fn(x)=P(Xn≤x)={0,x<n1,x≥n.F_n(x)=P(X_n\le x)=\begin{cases}0,&x<n\\1,&x\ge n.\end{cases}

Limit. For any fixed xx, Fn(x)=0F_n(x)=0 as soon as n>xn>x. So limn→∞Fn(x)=0for every real x.\lim_{n\to\infty}F_n(x)=0\quad\text{for every real }x.

Answer: No. The limit F(x)≡0F(x)\equiv0 is not a distribution function, because F(x)→1F(x)\to1 as x→∞x\to\infty fails. So {Fn}\{F_n\} converges pointwise, but not to a distribution function, and XnX_n does not converge in distribution.

Why. All the probability “escapes to infinity”. The sequence is not tight: there is no MM with P(|Xn|≤M)≥12P(|X_n|\le M)\ge\tfrac12 for all nn. (Helly’s selection theorem gives only a limit of total mass ≤1\le1, here 0.)

✓ Proof checked step by step Every step was checked directly from the definition of a distribution function.

↑ Back to the question list

Define convergence in distribution and in mean. Let {Xn}n=1∞ be a sequence of independent random variables such that Xn={n3with probability 1n20with probability 1−1n2 Show that Xn→0 in distribution.

2015 · Paper I · Q1b · 10 marks

Solution

Definitions.

  • Xn→dXX_n\xrightarrow dX (in distribution) if Fn(x)→F(x)F_n(x)\to F(x) at every continuity point xx of FF.
  • Xn→XX_n\to X in mean (in L1L^1, or in rr-th mean for r>0r>0) if E|Xn−X|→0E|X_n-X|\to0 (resp. E|Xn−X|r→0E|X_n-X|^r\to0).

Xn→d0X_n\xrightarrow d0. The d.f. of XnX_n is Fn(x)={0,x<01−1n2,0≤x<n31,x≥n3.F_n(x)=\begin{cases}0,&x<0\\1-\frac1{n^2},&0\le x<n^3\\1,&x\ge n^3.\end{cases} For x<0x<0, Fn(x)=0F_n(x)=0. For fixed x≥0x\ge0, once n3>xn^3>x we have Fn(x)=1−1n2→1F_n(x)=1-\dfrac1{n^2}\to1. So Fn(x)→𝟏{x≥0}F_n(x)\to\mathbf 1\{x\ge0\}, the d.f. of the constant 0. Hence Xn→d0X_n\xrightarrow d0. ◼\blacksquare

Remarks.

  • XnX_n does not converge to 0 in mean: E|Xn|=n3⋅1n2=n→∞E|X_n|=n^3\cdot\dfrac1{n^2}=n\to\infty.
  • It does converge almost surely: ∑P(Xn≠0)=∑1n2<∞\sum P(X_n\ne0)=\sum\dfrac1{n^2}<\infty, so by Borel–Cantelli Xn=0X_n=0 eventually.

So convergence in distribution (or even a.s.) does not imply convergence of means.

✓ Proof checked step by step Every step was checked: the d.f.s of XnX_n converge to the step at 0 at every x≠0x\ne0.

↑ Back to the question list

The probability density function of a random variable X is given by fX(x)=630x4(1−x)4 for 0<x<1,=0,otherwise. Find the probability that X will take on a value within two standard deviations of the mean (μ±2σ) and compare it with the lower bound provided by the Chebychev’s Inequality.

2014 · Paper I · Q2a · 20 marks

Solution

Mean and variance. f(x)=630x4(1−x)4f(x)=630x^4(1-x)^4 is the Beta(5, 5) density, since 1B(5,5)=9!4!4!=630\dfrac1{B(5,5)}=\dfrac{9!}{4!\,4!}=630. So μ=510=12,σ2=5⋅5102⋅11=144,σ=0.1508.\mu=\frac5{10}=\frac12,\qquad\sigma^2=\frac{5\cdot5}{10^2\cdot11}=\frac1{44},\qquad\sigma=0.1508.

The interval. μ±2σ=0.5±0.3015=(0.1985,0.8015)\mu\pm2\sigma=0.5\pm0.3015=(0.1985,\ 0.8015).

Exact probability. Integrating the polynomial 630x4(1−x)4630x^4(1-x)^4 over this interval gives P(|X−μ|<2σ)=∫0.19850.8015630x4(1−x)4dx≈0.962.P(|X-\mu|<2\sigma)=\int_{0.1985}^{0.8015}630x^4(1-x)^4\,dx\approx\mathbf{0.962}.

Chebyshev’s lower bound. P(|X−μ|<2σ)≥1−122=0.75.P(|X-\mu|<2\sigma)\ge1-\frac1{2^2}=0.75.

Comparison. The actual probability, 0.962, is well above the bound of 0.75. Chebyshev’s bound holds for any distribution, so for a smooth, bell-shaped one like this it is conservative. (For a normal distribution the figure would be 0.954.)

✓ Checked by computer We computed in Python: σ = 0.1508, μ ± 2σ = (0.1985, 0.8015), and the exact probability 0.9621 by numerical integration.

↑ Back to the question list

For a random variable X with probability density function fX(x;λ)=e−x⋅xλλ! for x>0,=0,otherwise; where λ≥0 is an integer, show that Pr{0<X<2(λ+1)}>λλ+1.

2014 · Paper I · Q2b · 15 marks

Solution

XX has the Gamma(λ+1\lambda+1, 1) density, so E(X)=λ+1,V(X)=λ+1.E(X)=\lambda+1,\qquad V(X)=\lambda+1. (From ∫0∞xλ+1e−xdx/λ!=(λ+1)\int_0^\infty x^{\lambda+1}e^{-x}dx/\lambda!=(\lambda+1) and ∫0∞xλ+2e−xdx/λ!=(λ+2)(λ+1)\int_0^\infty x^{\lambda+2}e^{-x}dx/\lambda!=(\lambda+2)(\lambda+1).)

Chebyshev with k=λ+1k=\lambda+1: P(|X−(λ+1)|<λ+1)≥1−λ+1(λ+1)2=λλ+1.P\big(|X-(\lambda+1)|<\lambda+1\big)\ge1-\frac{\lambda+1}{(\lambda+1)^2}=\frac\lambda{\lambda+1}. The event |X−(λ+1)|<λ+1|X-(\lambda+1)|<\lambda+1 is exactly 0<X<2(λ+1)0<X<2(\lambda+1). Equality in Chebyshev’s inequality would need XX concentrated on the three points μ,μ±k\mu,\mu\pm k, which is impossible for a continuous XX. So P{0<X<2(λ+1)}>λλ+1.◼P\{0<X<2(\lambda+1)\}>\frac\lambda{\lambda+1}.\qquad\blacksquare (For λ=0\lambda=0 the bound is 0, and the probability 1−e−21-e^{-2} is indeed positive.)

✓ Proof checked step by step Every step was checked; this is the 2026 result above, extended to λ = 0.

↑ Back to the question list

Define convergence in probability and convergence in distribution of a sequence of random variables. Show that convergence of Xn to X in probability implies convergence of Xn to X in distribution. Is the converse also true?

2014 · Paper I · Q3c · 15 marks

Solution

Definitions.

  • Xn→PXX_n\xrightarrow PX (in probability) if P(|Xn−X|>ε)→0P(|X_n-X|>\varepsilon)\to0 for every ε>0\varepsilon>0.
  • Xn→dXX_n\xrightarrow dX (in distribution) if Fn(x)→F(x)F_n(x)\to F(x) at every continuity point xx of FF, the d.f. of XX.

Probability implies distribution. Let xx be a continuity point of FF, and ε>0\varepsilon>0. Fn(x)=P(Xn≤x)≤P(X≤x+ε)+P(|Xn−X|>ε)=F(x+ε)+P(|Xn−X|>ε),F_n(x)=P(X_n\le x)\le P(X\le x+\varepsilon)+P(|X_n-X|>\varepsilon)=F(x+\varepsilon)+P(|X_n-X|>\varepsilon), F(x−ε)=P(X≤x−ε)≤P(Xn≤x)+P(|Xn−X|>ε).F(x-\varepsilon)=P(X\le x-\varepsilon)\le P(X_n\le x)+P(|X_n-X|>\varepsilon). Let n→∞n\to\infty: F(x−ε)≤liminfFn(x)≤limsupFn(x)≤F(x+ε).F(x-\varepsilon)\le\liminf F_n(x)\le\limsup F_n(x)\le F(x+\varepsilon). Now let ε→0\varepsilon\to0. By continuity of FF at xx, both bounds tend to F(x)F(x). So Fn(x)→F(x)F_n(x)\to F(x). ◼\blacksquare

The converse is false. Let X∼N(0,1)X\sim N(0,1) and Xn=−XX_n=-X for all nn. Each XnX_n is N(0,1)N(0,1), so Xn→dXX_n\xrightarrow dX trivially. But P(|Xn−X|>ε)=P(2|X|>ε)P(|X_n-X|>\varepsilon)=P(2|X|>\varepsilon) is a fixed positive number, so $X_n\not\xrightarrow PX$.

Exception. If XX is a constant cc, then Xn→dcX_n\xrightarrow dc does imply Xn→PcX_n\xrightarrow Pc.

✓ Proof checked step by step Every step was checked; the converse is refuted by an explicit counter-example.

↑ Back to the question list

State the strong law of large numbers. Decide whether the strong law of large numbers holds for the sequence of mutually independent random variables Xk with distribution P{Xk=±2k}=2−(2k+1),P{Xk=0}=1−2−2k

2013 · Paper I · Q4b · 15 marks

Solution

Strong law of large numbers (Kolmogorov). Let X1,X2,…X_1,X_2,\dots be independent with finite variances σk2\sigma_k^2. If ∑k=1∞σk2k2<∞,\sum_{k=1}^\infty\frac{\sigma_k^2}{k^2}<\infty, then Sn−E(Sn)n→0almost surely.\frac{S_n-E(S_n)}n\to0\quad\text{almost surely}. (For i.i.d. variables: Sn/n→μS_n/n\to\mu a.s. if and only if E|X1|<∞E|X_1|<\infty.)

Here. E(Xk)=0E(X_k)=0 and σk2=E(Xk2)=22k⋅2⋅2−(2k+1)=1.\sigma_k^2=E(X_k^2)=2^{2k}\cdot2\cdot2^{-(2k+1)}=1. So ∑k=1∞σk2k2=∑k=1∞1k2=π26<∞.\sum_{k=1}^\infty\frac{\sigma_k^2}{k^2}=\sum_{k=1}^\infty\frac1{k^2}=\frac{\pi^2}6<\infty. Kolmogorov’s criterion holds, so Snn→0\dfrac{S_n}n\to0 a.s. The SLLN holds.

A direct check. ∑kP(Xk≠0)=∑k2−2k=13<∞\sum_kP(X_k\ne0)=\sum_k2^{-2k}=\tfrac13<\infty. By Borel–Cantelli, only finitely many XkX_k are non-zero, almost surely. So SnS_n is eventually constant, and Sn/n→0S_n/n\to0 a.s.

(By contrast, the same sequence fails the CLT; see the 2011 question below.)

✓ Proof checked step by step Every step was checked: Kolmogorov’s criterion series ∑V(Xk)/k2=∑1/k2\sum V(X_k)/k^2=\sum1/k^2 converges, and the Borel–Cantelli argument gives the same result.

↑ Back to the question list

Show that for a sequence of random variables {Xn}, convergence in probability implies convergence in distribution. Is the converse true? Substantiate your answer.

2012 · Paper I · Q2c · 20 marks

Solution

Convergence in probability implies convergence in distribution. Suppose Xn→PXX_n\xrightarrow PX. Let FnF_n, FF be the d.f.s, and let xx be a continuity point of FF. For any ε>0\varepsilon>0, {Xn≤x}⊆{X≤x+ε}∪{|Xn−X|>ε},{X≤x−ε}⊆{Xn≤x}∪{|Xn−X|>ε}.\{X_n\le x\}\subseteq\{X\le x+\varepsilon\}\cup\{|X_n-X|>\varepsilon\},\qquad\{X\le x-\varepsilon\}\subseteq\{X_n\le x\}\cup\{|X_n-X|>\varepsilon\}. Taking probabilities, F(x−ε)−P(|Xn−X|>ε)≤Fn(x)≤F(x+ε)+P(|Xn−X|>ε).F(x-\varepsilon)-P(|X_n-X|>\varepsilon)\le F_n(x)\le F(x+\varepsilon)+P(|X_n-X|>\varepsilon). Let n→∞n\to\infty. The probability terms vanish, so F(x−ε)≤liminfnFn(x)≤limsupnFn(x)≤F(x+ε).F(x-\varepsilon)\le\liminf_nF_n(x)\le\limsup_nF_n(x)\le F(x+\varepsilon). Let ε→0\varepsilon\to0. Since FF is continuous at xx, Fn(x)→F(x)F_n(x)\to F(x). So Xn→dXX_n\xrightarrow dX. ◼\blacksquare

The converse is not true. Let X∼N(0,1)X\sim N(0,1) and define Xn=−XX_n=-X for every nn.

  • In distribution: −X∼N(0,1)-X\sim N(0,1), so every FnF_n equals FF, and Xn→dXX_n\xrightarrow dX.
  • Not in probability: |Xn−X|=2|X||X_n-X|=2|X|, so P(|Xn−X|>ε)=P(|X|>ε2)=2[1−Φ(ε2)]P(|X_n-X|>\varepsilon)=P\left(|X|>\frac\varepsilon2\right)=2\left[1-\Phi\left(\frac\varepsilon2\right)\right], a fixed positive number that does not tend to 0.

(A discrete example works too: X∼X\sim Bernoulli(12\frac12) and Xn=1−XX_n=1-X.)

When the converse holds. If the limit is a constant cc, then Xn→dcX_n\xrightarrow dc implies Xn→PcX_n\xrightarrow Pc, since P(|Xn−c|>ε)≤Fn(c−ε)+1−Fn(c+ε)→0P(|X_n-c|>\varepsilon)\le F_n(c-\varepsilon)+1-F_n(c+\varepsilon)\to0.

✓ Proof checked step by step Every step was checked: the sandwich argument uses only continuity points of F, and the counter-example to the converse is checked exactly.

↑ Back to the question list

For the sequence of random variables {Xi} P(Xi=2i)=P(Xi=−2i)=2−(2i+1) and P(Xi=0)=1−2−2i,i=1,2,… Check if the sequence obeys the weak law of large numbers and the central limit theorem.

2011 · Paper I · Q4a · 20 marks

Solution

(This question is also listed under 1.5 Central limit theorem. The worked solution is repeated here so that this page is complete.)

Moments. By symmetry E(Xi)=0E(X_i)=0, and σi2=E(Xi2)=22i⋅2⋅2−(2i+1)=1,Bn2=V(Sn)=n.\sigma_i^2=E(X_i^2)=2^{2i}\cdot2\cdot2^{-(2i+1)}=1,\qquad B_n^2=V(S_n)=n.

WLLN. By Chebyshev’s inequality, for every ε>0\varepsilon>0, P(|Snn|≥ε)≤V(Sn)n2ε2=1nε2→0.P\!\left(\left|\frac{S_n}{n}\right|\ge\varepsilon\right)\le\frac{V(S_n)}{n^2\varepsilon^2}=\frac{1}{n\varepsilon^2}\to0. So Sn/n→P0S_n/n\xrightarrow{P}0: the WLLN holds. (Markov’s condition Bn2/n2→0B_n^2/n^2\to0 is satisfied.)

CLT. ∑i=1∞P(Xi≠0)=∑i=1∞2−2i=13<∞.\sum_{i=1}^\infty P(X_i\ne0)=\sum_{i=1}^\infty2^{-2i}=\frac13<\infty. By Borel–Cantelli, almost surely only finitely many XiX_i are non-zero. So SnS_n is eventually a fixed finite random variable SS, and SnBn=Snn→0almost surely.\frac{S_n}{B_n}=\frac{S_n}{\sqrt n}\to0\quad\text{almost surely}. The normalised sum tends to 0, not to N(0,1)N(0,1). The CLT does not hold.

Why. Each XiX_i has variance 1. But all of it comes from a huge value ±2i\pm2^i taken with tiny probability. Lindeberg’s condition fails: for fixed ε\varepsilon, |Xi|=2i>εn|X_i|=2^i>\varepsilon\sqrt n for all but about 12log2n\tfrac12\log_2 n of the terms, so almost all of the variance sits in the tails. Feller’s condition holds (σi2/Bn2=1/n→0\sigma_i^2/B_n^2=1/n\to0), so Lindeberg’s condition is necessary. Its failure confirms the answer.

✓ Proof checked step by step Every step was checked. We also confirmed ∑iP(Xi≠0)=∑i4−i=13\sum_i P(X_i\ne0)=\sum_i4^{-i}=\tfrac13 in Python, the sum the Borel–Cantelli step uses.

↑ Back to the question list

Explain convergence in rth mean and convergence almost sure. Check various modes of the convergence for {Xn}, where Xn’s are independently distributed as follows: P[Xn=0]=1−1nr and P[Xn=n]=1nr where r≥2 and n=1,2,…

2010 · Paper I · Q3b · 20 marks

Solution

Definitions.

  • rr-th mean. Xn→XX_n\to X in rr-th mean (r>0r>0) if E|Xn|r<∞E|X_n|^r<\infty and E|Xn−X|r→0E|X_n-X|^r\to0. For r=2r=2 this is mean square.
  • Almost surely. Xn→XX_n\to X a.s. if P(limn→∞Xn=X)=1P\left(\lim_{n\to\infty}X_n=X\right)=1, that is, Xn(ω)→X(ω)X_n(\omega)\to X(\omega) for all ω\omega outside a set of probability 0.

The sequence. Xn=nX_n=n with probability n−rn^{-r}, and 0 otherwise (r≥2r\ge2). The natural limit is 0.

Mode Holds? Reason
In probability Yes P(|Xn|>ε)=n−r→0P(\lvert X_n\rvert>\varepsilon)=n^{-r}\to0
Almost surely Yes ∑n−r<∞\sum n^{-r}<\infty (since r≥2r\ge2), so by Borel–Cantelli Xn=0X_n=0 for all large nn, a.s.
In distribution Yes follows from convergence in probability
In ss-th mean, s<rs<r Yes E|Xn|s=ns⋅n−r=ns−r→0E\lvert X_n\rvert^s=n^s\cdot n^{-r}=n^{s-r}\to0
In rr-th mean No E|Xn|r=nr⋅n−r=1↛0E\lvert X_n\rvert^r=n^r\cdot n^{-r}=1\not\to0
In ss-th mean, s>rs>r No E|Xn|s=ns−r→∞E\lvert X_n\rvert^s=n^{s-r}\to\infty

So Xn→0X_n\to0 almost surely, in probability and in distribution, and in mean of every order below rr, but not in rr-th mean. This shows that a.s. convergence does not imply convergence in mean.

✓ Proof checked step by step Every step was checked. We also computed E|Xn|s=ns−rE|X_n|^s=n^{s-r} in Python for r = 2, 3 and s = 1, 2, 3 (at n = 100).

↑ Back to the question list

State (without proof) Tchebychev’s inequality. How many times a fair coin must be tossed in order that the relative proportion of heads lie between 0·4 and 0·6 with probability at least 0·9? (Upper 5% and 10% points of standard normal variate are 1·645 and 1·282 respectively.)

2009 · Paper I · Q1c · 12 marks

Solution

Chebyshev’s inequality. If XX has mean μ\mu and finite variance σ2\sigma^2, then for any k>0k>0, P(|X−μ|<k)≥1−σ2k2.P(|X-\mu|<k)\ge1-\frac{\sigma^2}{k^2}.

Apply it. Let p̂\hat p be the proportion of heads in nn tosses. Then E(p̂)=0.5E(\hat p)=0.5 and V(p̂)=0.25nV(\hat p)=\dfrac{0.25}n. We need P(0.4<p̂<0.6)=P(|p̂−0.5|<0.1)≥1−0.25/n0.01=1−25n≥0.9⇒n≥250.P(0.4<\hat p<0.6)=P(|\hat p-0.5|<0.1)\ge1-\frac{0.25/n}{0.01}=1-\frac{25}n\ge0.9\ \Rightarrow\ n\ge250. So the coin must be tossed at least 250 times.

With the normal approximation (using the 1.645 point given). We need 0.10.5/n≥1.645\dfrac{0.1}{0.5/\sqrt n}\ge1.645, so n≥8.225\sqrt n\ge8.225 and n≥68n\ge68. Chebyshev’s figure is larger because it makes no assumption about the shape of the distribution.

✓ Checked by computer We recomputed in Python: Chebyshev gives n ≥ 0.25/(0.01 × 0.1) = 250; the normal approximation gives n ≥ (1.645 × 0.5/0.1)² = 67.7, so 68.

↑ 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

Explain, with one illustration of each, convergence in distribution and convergence in probability for a sequence of random variables. State the relation between these two.

2007 · Paper I · Q1c · 12 marks

Solution

Convergence in distribution. Xn→dXX_n\xrightarrow dX if Fn(x)→F(x)F_n(x)\to F(x) at every point xx where FF is continuous. Only the distributions need to approach each other; the variables themselves may be unrelated.

Illustration: if Xn∼B(n,λ/n)X_n\sim B(n,\lambda/n), then Xn→dX_n\xrightarrow d Poisson(λ\lambda). Or, by the CLT, the standardised mean of i.i.d. variables tends to N(0,1)N(0,1).

Convergence in probability. Xn→PXX_n\xrightarrow PX if for every ε>0\varepsilon>0, P(|Xn−X|>ε)→0P(|X_n-X|>\varepsilon)\to0. The variables themselves get close, with high probability.

Illustration: the sample mean X‾n→Pμ\bar X_n\xrightarrow P\mu (the WLLN). Also, if Xn=1X_n=1 with probability 1n\frac1n and 0 otherwise, then Xn→P0X_n\xrightarrow P0.

Relation.

  1. Convergence in probability implies convergence in distribution.
  2. The converse is false in general. If X∼N(0,1)X\sim N(0,1) and Xn=−XX_n=-X, then Xn→dXX_n\xrightarrow dX but P(|Xn−X|>ε)=P(|X|>ε/2)↛0P(|X_n-X|>\varepsilon)=P(|X|>\varepsilon/2)\not\to0.
  3. The converse holds when the limit is a constant: Xn→dc⇒Xn→PcX_n\xrightarrow dc\Rightarrow X_n\xrightarrow Pc.

✓ Answer checked step by step Each definition and illustration was checked against the standard definitions; the counter-example is verified in the 2014 question above.

↑ Back to the question list

Examine if WLLN and CLT hold for the sequence of mutually independent random variables {Xk}, where P(Xk=K)=P(Xk=−K)=12K P(Xk=0)=1−1K

2007 · Paper I · Q2b · 20 marks

Solution

(This question is also listed under 1.5 Central limit theorem. The worked solution is repeated here so that this page is complete.)

Moments. By symmetry E(Xk)=0E(X_k)=0, and σk2=E(Xk2)=k2⋅1k=k3/2,Bn2=∑k=1nk3/2∼25n5/2.\sigma_k^2=E(X_k^2)=k^2\cdot\frac1{\sqrt k}=k^{3/2},\qquad B_n^2=\sum_{k=1}^n k^{3/2}\sim\frac25n^{5/2}.

CLT (Lyapunov, δ=1\delta=1). E|Xk|3=k3⋅1k=k5/2E|X_k|^3=k^3\cdot\dfrac1{\sqrt k}=k^{5/2}, so ∑k=1nE|Xk|3∼27n7/2\sum_{k=1}^n E|X_k|^3\sim\dfrac27n^{7/2}. Then ∑k=1nE|Xk|3Bn3∼27n7/2(25)3/2n15/4=const×n−1/4→0.\frac{\sum_{k=1}^n E|X_k|^3}{B_n^3}\sim\frac{\frac27n^{7/2}}{\left(\frac25\right)^{3/2}n^{15/4}}=\text{const}\times n^{-1/4}\to0. Lyapunov’s condition holds, so Sn/Bn→dN(0,1)S_n/B_n\xrightarrow{d}N(0,1). The CLT holds.

WLLN. Markov’s sufficient condition fails, because Bn2n2∼25n1/2→∞.\frac{B_n^2}{n^2}\sim\frac25\,n^{1/2}\to\infty. That alone does not settle the question, but the CLT does. For any ε>0\varepsilon>0, P(|Snn|>ε)=P(|SnBn|>εnBn).P\!\left(\left|\frac{S_n}{n}\right|>\varepsilon\right)=P\!\left(\left|\frac{S_n}{B_n}\right|>\frac{\varepsilon n}{B_n}\right). Here Sn/BnS_n/B_n is approximately N(0,1)N(0,1) and εn/Bn∼ε5/2n−1/4→0\varepsilon n/B_n\sim\varepsilon\sqrt{5/2}\,n^{-1/4}\to0. So the probability tends to P(|Z|>0)=1P(|Z|>0)=1, not 0. The WLLN does not hold: Sn/nS_n/n spreads out instead of settling at 0.

Summary. CLT: holds. WLLN: fails.

✓ Proof checked step by step Every step was checked. We also computed in Python the Lyapunov ratio (0.20, 0.064, 0.036 at n = 10³, 10⁵, 10⁶) and Bn/nB_n/n (3.6, 11.2, 20.0), which grows without bound.

↑ Back to the question list

Define various modes of convergence of a sequence of random variables. Prove that convergence almost surely implies convergence in probability.

2006 · Paper I · Q2c · 20 marks

Solution

Modes of convergence. Let XnX_n and XX be random variables on one probability space.

  1. Almost surely: P(limnXn=X)=1P\left(\lim_nX_n=X\right)=1.
  2. In rr-th mean (r>0r>0): E|Xn−X|r→0E|X_n-X|^r\to0. For r=2r=2, mean square.
  3. In probability: P(|Xn−X|>ε)→0P(|X_n-X|>\varepsilon)\to0 for every ε>0\varepsilon>0.
  4. In distribution (law): Fn(x)→F(x)F_n(x)\to F(x) at every continuity point of FF.

The links: almost surely ⇒ in probability ⇒ in distribution, and rr-th mean ⇒ in probability. Neither of a.s. and rr-th mean implies the other.

Almost sure convergence implies convergence in probability. Fix ε>0\varepsilon>0 and let Bn=⋃m≥n{|Xm−X|>ε}.B_n=\bigcup_{m\ge n}\{|X_m-X|>\varepsilon\}. The BnB_n decrease. Their intersection ⋂nBn\bigcap_nB_n is the event that |Xm−X|>ε|X_m-X|>\varepsilon for infinitely many mm. On this event Xm↛XX_m\not\to X, so it has probability 0. By continuity of probability along decreasing sets, P(Bn)→P(⋂nBn)=0.P(B_n)\to P\left(\bigcap_nB_n\right)=0. Since {|Xn−X|>ε}⊆Bn\{|X_n-X|>\varepsilon\}\subseteq B_n, P(|Xn−X|>ε)≤P(Bn)→0.◼P(|X_n-X|>\varepsilon)\le P(B_n)\to0.\qquad\blacksquare

✓ Proof checked step by step Every step of the proof was checked: continuity of probability along the decreasing sets BnB_n.

↑ Back to the question list

State and prove Chebyshev’s inequality. The random variable X takes values −a,0,a with probabilities 1/8, 3/4, 1/8 respectively. Compute P[|X|≥2σx] and compare it with Chebyshev’s bound.

2005 · Paper I · Q2b · 20 marks

Solution

Chebyshev’s inequality. If E(X)=μE(X)=\mu and V(X)=σ2<∞V(X)=\sigma^2<\infty, then for every k>0k>0, P(|X−μ|≥kσ)≤1k2.P(|X-\mu|\ge k\sigma)\le\frac1{k^2}.

Proof. Let A={|X−μ|≥kσ}A=\{|X-\mu|\ge k\sigma\}. Then σ2=E(X−μ)2≥E[(X−μ)2𝟏A]≥k2σ2P(A),\sigma^2=E(X-\mu)^2\ge E\left[(X-\mu)^2\mathbf 1_A\right]\ge k^2\sigma^2P(A), so P(A)≤1/k2P(A)\le1/k^2. ◼\blacksquare

The example. E(X)=−a⋅18+a⋅18=0E(X)=-a\cdot\tfrac18+a\cdot\tfrac18=0 and E(X2)=a2⋅14E(X^2)=a^2\cdot\tfrac14, so σx2=a24,σx=a2.\sigma_x^2=\frac{a^2}4,\qquad\sigma_x=\frac a2. Then P(|X|≥2σx)=P(|X|≥a)=18+18=14.P(|X|\ge2\sigma_x)=P(|X|\ge a)=\frac18+\frac18=\frac14. Chebyshev’s bound with k=2k=2 is 122=14\dfrac1{2^2}=\dfrac14.

Comparison. The bound is attained exactly. So Chebyshev’s inequality cannot be improved in general: this three-point distribution is the extreme case, with mass at μ\mu and at μ±kσ\mu\pm k\sigma.

✓ Checked by computer We recomputed σ = a/2, P(|X| ≥ 2σ) = 1/4 and Chebyshev’s bound 1/4 in Python.

↑ Back to the question list

Let X1,X2,… be i.i.d. random variables with common p.d.f. f(x)={1+δx2+δ,x≥1(δ>0)0,otherwise Show that the weak law of large numbers holds for the sequence.

2004 · Paper I · Q1b · 12 marks

Solution

Check the mean. E(X)=∫1∞x⋅1+δx2+δdx=(1+δ)∫1∞x−1−δdx=1+δδ<∞(δ>0).E(X)=\int_1^\infty x\cdot\frac{1+\delta}{x^{2+\delta}}\,dx=(1+\delta)\int_1^\infty x^{-1-\delta}\,dx=\frac{1+\delta}\delta<\infty\qquad(\delta>0).

Apply Khinchin’s WLLN. If X1,X2,…X_1,X_2,\dots are i.i.d. with finite mean μ\mu, then X‾n→Pμ\bar X_n\xrightarrow P\mu. The conditions hold, so 1n∑i=1nXi→P1+δδ.\frac1n\sum_{i=1}^nX_i\xrightarrow P\frac{1+\delta}\delta. The WLLN holds. ◼\blacksquare

Remark. The variance is finite only if δ>1\delta>1: E(X2)=(1+δ)∫1∞x−δdxE(X^2)=(1+\delta)\int_1^\infty x^{-\delta}dx, which is finite iff δ>1\delta>1. So for 0<δ≤10<\delta\le1 Chebyshev’s (variance-based) WLLN cannot be used, and Khinchin’s theorem, which needs only a finite mean, is the right tool.

✓ Proof checked step by step Every step was checked: the mean (1+δ)/δ(1+\delta)/\delta is finite for every δ > 0, which is all Khinchin’s theorem needs.

↑ Back to the question list

If X is any non-negative integer valued variate and ‘a’ is any positive number, show that P[X≥a]≤t−aE[tx],t>1 and verify the inequality P[X≥2λ]≤(e/4)λ when X follows Poisson distribution with parameter.

2004 · Paper I · Q2a · 20 marks

Solution

The inequality. For t>1t>1, the map x↦txx\mapsto t^x is increasing, so {X≥a}={tX≥ta}\{X\ge a\}=\{t^X\ge t^a\}. tXt^X is non-negative, so by Markov’s inequality P(X≥a)=P(tX≥ta)≤E(tX)ta=t−aE(tX).◼P(X\ge a)=P\left(t^X\ge t^a\right)\le\frac{E\left(t^X\right)}{t^a}=t^{-a}E\left(t^X\right).\qquad\blacksquare (Here E(tX)E(t^X) is the p.g.f. of XX at tt. The bound is useful whenever it is finite.)

Poisson(λ\lambda). E(tX)=eλ(t−1)E(t^X)=e^{\lambda(t-1)}, so for every t>1t>1, P(X≥2λ)≤t−2λeλ(t−1)=(et−1t2)λ.P(X\ge2\lambda)\le t^{-2\lambda}e^{\lambda(t-1)}=\left(\frac{e^{t-1}}{t^2}\right)^\lambda.

Choose the best tt. h(t)=t−1−2logth(t)=t-1-2\log t has h′(t)=1−2t=0h'(t)=1-\dfrac2t=0 at t=2t=2, a minimum. At t=2t=2: P(X≥2λ)≤(e4)λ.P(X\ge2\lambda)\le\left(\frac{e}{4}\right)^\lambda. Since e/4≈0.68<1e/4\approx0.68<1, the bound decreases geometrically in λ\lambda, far faster than Chebyshev’s 1/λ1/\lambda.

✓ Proof checked step by step Every step was checked. We also computed in Python the bound t−2et−1t^{-2}e^{t-1} at t = 1.5, 2, 2.5 (smallest at t = 2, giving e/4), and confirmed that exact Poisson tail probabilities lie below (e/4)λ(e/4)^\lambda for λ = 1, 3, 8.

↑ Back to the question list

Let Fn be a sequence of distribution functions defined by Fn(x)={0,x<01−1n,0≤x<n1,x≥n. Does Xn converge in distribution to X? If so, identify the distribution function of X. Also, examine whether E[Xnk]→E[Xk] For any k as n→∞.

2004 · Paper I · Q2b · 20 marks

Solution

The distribution of XnX_n. FnF_n jumps by 1−1n1-\frac1n at 0 and by 1n\frac1n at nn. So P(Xn=0)=1−1n,P(Xn=n)=1n.P(X_n=0)=1-\frac1n,\qquad P(X_n=n)=\frac1n.

Convergence in distribution: yes. For x<0x<0, Fn(x)=0F_n(x)=0. For fixed x≥0x\ge0, once n>xn>x we have Fn(x)=1−1n→1F_n(x)=1-\frac1n\to1. So Fn(x)→F(x)={0,x<01,x≥0,F_n(x)\to F(x)=\begin{cases}0,&x<0\\1,&x\ge0,\end{cases} the d.f. of the constant X≡0X\equiv0. Thus Xn→dXX_n\xrightarrow dX, where XX is degenerate at 0.

Moments: no. E(Xk)=0E(X^k)=0 for k≥1k\ge1, but E(Xnk)=nk⋅1n=nk−1={1,k=1→∞,k≥2.E(X_n^k)=n^k\cdot\frac1n=n^{k-1}=\begin{cases}1,&k=1\\ \to\infty,&k\ge2.\end{cases} So E(Xnk)↛E(Xk)E(X_n^k)\not\to E(X^k) for any k≥1k\ge1.

Lesson. Convergence in distribution does not imply convergence of moments. The small probability 1n\frac1n placed at the far-off point nn keeps the moments from converging. (Moments do converge when the XnkX_n^k are uniformly integrable, for example when the XnX_n are uniformly bounded.)

✓ Proof checked step by step Every step was checked: the pointwise limit of FnF_n, and the moments E(Xnk)=nk−1E(X_n^k)=n^{k-1}.

↑ Back to the question list

State the conditions for the existence of weak law of large numbers. Examine whether weak law of large numbers holds for the mean of a sequence of independent variates X with P{Xk=±logk}=1/2

2003 · Paper I · Q2a · 20 marks

Solution

Conditions for the WLLN. For Sn=X1+⋯+XnS_n=X_1+\cdots+X_n, the WLLN states Sn−E(Sn)n→P0\dfrac{S_n-E(S_n)}n\xrightarrow P0. Sufficient conditions:

  1. Chebyshev: the XiX_i are independent (or uncorrelated) with variances bounded by a constant.
  2. Markov: V(Sn)n2→0\dfrac{V(S_n)}{n^2}\to0, whatever the dependence.
  3. Khinchin: the XiX_i are i.i.d. with a finite mean (no variance needed).
  4. Necessary and sufficient: E[Yn21+Yn2]→0E\left[\dfrac{Y_n^2}{1+Y_n^2}\right]\to0, where Yn=Sn−E(Sn)nY_n=\dfrac{S_n-E(S_n)}n.

The sequence. E(Xk)=0E(X_k)=0 and V(Xk)=logkV(X_k)=\log k. So Bn2=∑k=1nlogk=logn!≤nlogn,Bn2n2≤lognn→0.B_n^2=\sum_{k=1}^n\log k=\log n!\le n\log n,\qquad\frac{B_n^2}{n^2}\le\frac{\log n}n\to0. Markov’s condition holds, so Snn→P0\dfrac{S_n}n\xrightarrow P0. The WLLN holds.

✓ Proof checked step by step Every step was checked: Bn2=logn!≤nlognB_n^2=\log n!\le n\log n, so Bn2/n2≤(logn)/n→0B_n^2/n^2\le(\log n)/n\to0.

↑ Back to the question list

Let {Xn} be a sequence of random variables with p.m.f. P(Xn=1)=1n,P(Xn=0)=1−1n. Show that Xn→P0.

2002 · Paper I · Q1b · 12 marks

Solution

For any ε>0\varepsilon>0:

  • if ε≥1\varepsilon\ge1, P(|Xn|>ε)=0P(|X_n|>\varepsilon)=0;
  • if 0<ε<10<\varepsilon<1, |Xn|>ε|X_n|>\varepsilon only when Xn=1X_n=1, so P(|Xn|>ε)=P(Xn=1)=1nP(|X_n|>\varepsilon)=P(X_n=1)=\dfrac1n.

In both cases P(|Xn−0|>ε)≤1n→0P(|X_n-0|>\varepsilon)\le\dfrac1n\to0. Hence Xn→P0X_n\xrightarrow P0. ◼\blacksquare

(If the XnX_n are also independent, they do not converge to 0 almost surely: ∑1n=∞\sum\frac1n=\infty, so by the second Borel–Cantelli lemma Xn=1X_n=1 infinitely often.)

✓ Proof checked step by step Every step was checked directly from the definition.

↑ Back to the question list

State the Weak Law of Large Numbers and write necessary and sufficient conditions for its validity.

2001 · Paper I · Q3ii · 15 marks

Solution

Weak law of large numbers. Let X1,X2,…X_1,X_2,\dots be random variables with finite means, and Sn=X1+⋯+XnS_n=X_1+\cdots+X_n. The sequence obeys the WLLN if, for every ε>0\varepsilon>0, P(|Snn−E(Sn)n|>ε)→0as n→∞.P\left(\left|\frac{S_n}n-\frac{E(S_n)}n\right|>\varepsilon\right)\to0\quad\text{as }n\to\infty. For i.i.d. variables with mean μ\mu this says X‾n→Pμ\bar X_n\xrightarrow P\mu.

Sufficient conditions.

  • Chebyshev: independent, with bounded variances.
  • Markov: V(Sn)/n2→0V(S_n)/n^2\to0.
  • Khinchin: i.i.d. with E|X1|<∞E|X_1|<\infty.

Necessary and sufficient condition. With Yn=Sn−E(Sn)nY_n=\dfrac{S_n-E(S_n)}n, the WLLN holds if and only if E[Yn21+Yn2]→0.E\left[\frac{Y_n^2}{1+Y_n^2}\right]\to0. (No independence or moment assumptions beyond the means.)

For independent variables (Kolmogorov–Feller): with Xnk=Xk𝟏{|Xk|≤n}X_{nk}=X_k\mathbf 1\{|X_k|\le n\}, the WLLN holds with centring ∑E(Xnk)/n\sum E(X_{nk})/n if and only if ∑k≤nP(|Xk|>n)→0and1n2∑k≤nV(Xnk)→0.\sum_{k\le n}P(|X_k|>n)\to0\qquad\text{and}\qquad\frac1{n^2}\sum_{k\le n}V(X_{nk})\to0.

✓ Answer checked step by step Each statement was checked against standard texts (Khinchin, Markov, and the Gnedenko–Kolmogorov criterion).

↑ Back to the question list

Define convergence in probability (P), convergence in rth mean (Lr) and convergence in distribution (D). Show that convergence in e mean implies convergence in probability and convergence in probability implies convergence in distribution.

2000 · Paper I · Q2a(ii) · 12 marks

Solution

Definitions.

  • (P) Xn→PXX_n\xrightarrow PX if P(|Xn−X|>ε)→0P(|X_n-X|>\varepsilon)\to0 for every ε>0\varepsilon>0.
  • (LrL_r) Xn→LrXX_n\xrightarrow{L_r}X (r>0r>0) if E|Xn−X|r→0E|X_n-X|^r\to0.
  • (D) Xn→DXX_n\xrightarrow DX if Fn(x)→F(x)F_n(x)\to F(x) at every continuity point of FF.

Note on the question. “Convergence in e mean” means convergence in rr-th mean.

LrL_r implies P. Apply Markov’s inequality to |Xn−X|r|X_n-X|^r: P(|Xn−X|>ε)=P(|Xn−X|r>εr)≤E|Xn−X|rεr→0.◼P(|X_n-X|>\varepsilon)=P\left(|X_n-X|^r>\varepsilon^r\right)\le\frac{E|X_n-X|^r}{\varepsilon^r}\to0.\qquad\blacksquare

P implies D. Let xx be a continuity point of FF, and ε>0\varepsilon>0. Then Fn(x)≤F(x+ε)+P(|Xn−X|>ε),F(x−ε)≤Fn(x)+P(|Xn−X|>ε).F_n(x)\le F(x+\varepsilon)+P(|X_n-X|>\varepsilon),\qquad F(x-\varepsilon)\le F_n(x)+P(|X_n-X|>\varepsilon). Letting n→∞n\to\infty, then ε→0\varepsilon\to0: F(x−)≤liminfFn(x)≤limsupFn(x)≤F(x).F(x-)\le\liminf F_n(x)\le\limsup F_n(x)\le F(x). At a continuity point F(x−)=F(x)F(x-)=F(x), so Fn(x)→F(x)F_n(x)\to F(x). ◼\blacksquare

✓ Proof checked step by step Every step was checked: Markov’s inequality for the first implication, and the sandwich argument at continuity points for the second.

↑ Back to the question list

Explain the concept of strong and weak laws of large numbers. State and prove Khintchin’s WLLN.

2000 · Paper I · Q2b(ii) · 12 marks

Solution

The concepts. Let Sn=X1+⋯+XnS_n=X_1+\cdots+X_n, with E(Xi)=μE(X_i)=\mu.

  • The WLLN says X‾n=Sn/n→Pμ\bar X_n=S_n/n\xrightarrow P\mu: for large nn, a large deviation of X‾n\bar X_n from μ\mu is unlikely.
  • The SLLN says X‾n→μ\bar X_n\to\mu almost surely: with probability 1 the sequence X‾1,X‾2,…\bar X_1,\bar X_2,\dots actually converges to μ\mu, and the deviations eventually stay small for ever.

The strong law implies the weak law. Together they justify estimating a population mean by a sample mean, and reading probability as long-run relative frequency.

Khinchin’s WLLN. If X1,X2,…X_1,X_2,\dots are i.i.d. with finite mean μ\mu, then X‾n→Pμ\bar X_n\xrightarrow P\mu. (No variance is required.)

Proof (characteristic functions). Let ϕ\phi be the c.f. of X1X_1. A finite mean makes ϕ\phi differentiable at 0 with ϕ′(0)=iμ\phi'(0)=i\mu, so ϕ(t)=1+iμt+o(t)(t→0).\phi(t)=1+i\mu t+o(t)\qquad(t\to0). The c.f. of X‾n\bar X_n is ϕX‾n(t)=[ϕ(tn)]n=[1+iμtn+o(1n)]n→eiμt.\phi_{\bar X_n}(t)=\left[\phi\left(\frac tn\right)\right]^n=\left[1+\frac{i\mu t}n+o\left(\frac1n\right)\right]^n\to e^{i\mu t}. eiμte^{i\mu t} is the c.f. of the constant μ\mu, and it is continuous. By Lévy’s continuity theorem, X‾n→Dμ\bar X_n\xrightarrow D\mu. Convergence in distribution to a constant implies convergence in probability. Hence X‾n→Pμ\bar X_n\xrightarrow P\mu. ◼\blacksquare

✓ Proof checked step by step Every step of the c.f. proof was checked: the first-order expansion ϕ(t)=1+iμt+o(t)\phi(t)=1+i\mu t+o(t) needs only a finite mean.

↑ Back to the question list

Explain the concept of Central Limit Theorems (CLT). Let {Xn} be a sequence of uniformly distributed random variables over (−βnλ,βnλ),β>0,λ>0. Test whether SLLN, WLLN and CLT hold for {Xn}.

2000 · Paper I · Q2c · 16 marks

Solution

(This question is also listed under 1.5 Central limit theorem. The worked solution is repeated here so that this page is complete.)

The idea of a CLT. A central limit theorem says that a sum of many independent random variables, none of which dominates, is approximately normal once it is centred and scaled by its standard deviation: Sn−E(Sn)V(Sn)→dN(0,1).\frac{S_n-E(S_n)}{\sqrt{V(S_n)}}\xrightarrow{d}N(0,1). This holds whatever the distribution of the individual terms. The laws of large numbers say that Sn/nS_n/n settles down to its mean. A CLT goes a step further: it describes the size and the shape of the fluctuations around the mean. That is why the normal distribution appears so widely in sampling and in errors of measurement.

Moments. Xk∼U(−βkλ,βkλ)X_k\sim U(-\beta k^\lambda,\ \beta k^\lambda), so E(Xk)=0E(X_k)=0 and σk2=(2βkλ)212=β2k2λ3,Bn2=β23∑k=1nk2λ∼β2n2λ+13(2λ+1).\sigma_k^2=\frac{(2\beta k^\lambda)^2}{12}=\frac{\beta^2k^{2\lambda}}3,\qquad B_n^2=\frac{\beta^2}3\sum_{k=1}^nk^{2\lambda}\sim\frac{\beta^2n^{2\lambda+1}}{3(2\lambda+1)}.

CLT (holds for every λ > 0). Every |Xk|≤βnλ|X_k|\le\beta n^\lambda for k≤nk\le n, while BnB_n grows like nλ+1/2n^{\lambda+1/2}. So for any ε>0\varepsilon>0, εBn>βnλ\varepsilon B_n>\beta n^\lambda once nn is large. Every term in Lindeberg’s sum 1Bn2∑k=1nE[Xk2𝟏{|Xk|>εBn}]\frac1{B_n^2}\sum_{k=1}^nE\!\left[X_k^2\,\mathbf 1\{|X_k|>\varepsilon B_n\}\right] is then zero. Lindeberg’s condition holds, so Sn/Bn→dN(0,1)S_n/B_n\xrightarrow{d}N(0,1) for all λ>0\lambda>0.

WLLN (holds only for λ < ½).

  • λ<12\lambda<\tfrac12: V(Sn/n)=Bn2/n2∼cn2λ−1→0V(S_n/n)=B_n^2/n^2\sim c\,n^{2\lambda-1}\to0, so by Chebyshev Sn/n→P0S_n/n\xrightarrow{P}0. The WLLN holds.
  • λ=12\lambda=\tfrac12: Bn2/n2→β23⋅2=β26B_n^2/n^2\to\dfrac{\beta^2}{3\cdot2}=\dfrac{\beta^2}6. By the CLT, Sn/n=(Bn/n)(Sn/Bn)S_n/n=(B_n/n)(S_n/B_n) tends in distribution to N(0,β2/6)N(0,\beta^2/6), not to 0. The WLLN fails.
  • λ>12\lambda>\tfrac12: Bn/n→∞B_n/n\to\infty, so P(|Sn/n|>ε)=P(|Sn/Bn|>εn/Bn)→P(|Z|>0)=1P(|S_n/n|>\varepsilon)=P(|S_n/B_n|>\varepsilon n/B_n)\to P(|Z|>0)=1. The WLLN fails.

SLLN (holds only for λ < ½). By Kolmogorov’s criterion, the SLLN holds if ∑kσk2/k2<∞\sum_k\sigma_k^2/k^2<\infty. Here ∑k=1∞σk2k2=β23∑k=1∞1k2−2λ<∞⇔2−2λ>1⇔λ<12.\sum_{k=1}^\infty\frac{\sigma_k^2}{k^2}=\frac{\beta^2}3\sum_{k=1}^\infty\frac1{k^{2-2\lambda}}<\infty\iff2-2\lambda>1\iff\lambda<\tfrac12. For λ≥12\lambda\ge\tfrac12 the WLLN already fails, and the SLLN implies the WLLN, so the SLLN fails too.

Summary.

0<λ<120<\lambda<\tfrac12 λ≥12\lambda\ge\tfrac12
SLLN holds fails
WLLN holds fails
CLT holds holds

✓ Proof checked step by step Every step was checked. We also computed in Python, for λ = ¼, ½ and 1, the ratio max|Xk|/Bn\max|X_k|/B_n (it goes to 0, so Lindeberg holds), Bn/nB_n/n (it goes to 0, to β/6\beta/\sqrt6, and to ∞), and Kolmogorov’s series ∑σk2/k2\sum\sigma_k^2/k^2.

↑ Back to the question list

State and prove Borel-Cantelli lemma.

1999 · Paper I · Q2c · 20 marks

Solution

Borel–Cantelli lemma. Let A1,A2,…A_1,A_2,\dots be events and limsupAn=⋂n=1∞⋃k≥nAk\limsup A_n=\bigcap_{n=1}^\infty\bigcup_{k\ge n}A_k, the event that infinitely many AnA_n occur.

  1. If ∑n=1∞P(An)<∞\sum_{n=1}^\infty P(A_n)<\infty, then P(limsupAn)=0P(\limsup A_n)=0.
  2. If the AnA_n are independent and ∑n=1∞P(An)=∞\sum_{n=1}^\infty P(A_n)=\infty, then P(limsupAn)=1P(\limsup A_n)=1.

Proof of (1). For every nn, limsupAk⊆⋃k≥nAk\limsup A_k\subseteq\bigcup_{k\ge n}A_k. So P(limsupAk)≤P(⋃k≥nAk)≤∑k≥nP(Ak)→0,P(\limsup A_k)\le P\left(\bigcup_{k\ge n}A_k\right)\le\sum_{k\ge n}P(A_k)\to0, since the tail of a convergent series tends to 0. Hence P(limsupAn)=0P(\limsup A_n)=0. ◼\blacksquare

Proof of (2). The complement of limsupAn\limsup A_n is ⋃n⋂k≥nAkc\bigcup_n\bigcap_{k\ge n}A_k^c, so it is enough to show P(⋂k≥nAkc)=0P\left(\bigcap_{k\ge n}A_k^c\right)=0 for each nn. By independence and 1−x≤e−x1-x\le e^{-x}, for N>nN>n: P(⋂k=nNAkc)=∏k=nN(1−P(Ak))≤exp(−∑k=nNP(Ak))→0(N→∞),P\left(\bigcap_{k=n}^NA_k^c\right)=\prod_{k=n}^N\big(1-P(A_k)\big)\le\exp\left(-\sum_{k=n}^NP(A_k)\right)\to0\quad(N\to\infty), since the series diverges. So P(⋂k≥nAkc)=0P\left(\bigcap_{k\ge n}A_k^c\right)=0 for every nn, and P((limsupAn)c)=0P\left((\limsup A_n)^c\right)=0. ◼\blacksquare

✓ Proof checked step by step Every step of both parts was checked: countable subadditivity for part (i), and 1−x≤e−x1-x\le e^{-x} with independence for part (ii).

↑ Back to the question list

Define convergence in distribution and convergence in probability for a sequence of random variables. State possible inter-relations and illustrate.

1999 · Paper I · Q4a · 20 marks

Solution

Convergence in distribution. Xn→dXX_n\xrightarrow dX if Fn(x)→F(x)F_n(x)\to F(x) at every point xx where FF is continuous.

Convergence in probability. Xn→PXX_n\xrightarrow PX if, for every ε>0\varepsilon>0, P(|Xn−X|>ε)→0P(|X_n-X|>\varepsilon)\to0.

Inter-relations, with illustrations.

  1. Probability implies distribution. Proof sketch: F(x−ε)−P(|Xn−X|>ε)≤Fn(x)≤F(x+ε)+P(|Xn−X|>ε)F(x-\varepsilon)-P(|X_n-X|>\varepsilon)\le F_n(x)\le F(x+\varepsilon)+P(|X_n-X|>\varepsilon); let n→∞n\to\infty, then ε→0\varepsilon\to0. Illustration: X‾n→Pμ\bar X_n\xrightarrow P\mu (WLLN), so also X‾n→dμ\bar X_n\xrightarrow d\mu.
  2. Distribution does not imply probability. With X∼N(0,1)X\sim N(0,1) and Xn=−XX_n=-X, Xn→dXX_n\xrightarrow dX, but P(|Xn−X|>ε)=P(|X|>ε/2)↛0P(|X_n-X|>\varepsilon)=P(|X|>\varepsilon/2)\not\to0.
  3. Distribution to a constant does imply probability. If Xn→dcX_n\xrightarrow dc, then P(|Xn−c|>ε)≤Fn(c−ε)+1−Fn(c+ε)→0P(|X_n-c|>\varepsilon)\le F_n(c-\varepsilon)+1-F_n(c+\varepsilon)\to0.
  4. The wider picture. Almost sure convergence and rr-th mean convergence each imply convergence in probability. Neither of those two implies the other.

Example in the other direction. Xn∼B(n,λ/n)→dX_n\sim B(n,\lambda/n)\xrightarrow d Poisson(λ\lambda). These XnX_n need not even be defined on one probability space; convergence in probability would require that.

✓ Answer checked step by step Each statement was checked against the standard definitions and theorems; the counter-example is the same as in the 2014 question above.

↑ Back to the question list

X1,X2,…,Xn is a sequence of independent random variables with P[Xk=±kα]=12 where θ>0. Prove that the law of large numbers holds for this sequence if α<1/2.

1999 · Paper I · Q4c · 20 marks

Solution

Note on the question. “where θ>0\theta>0” should read “where α>0\alpha>0”.

Moments. E(Xk)=0E(X_k)=0 and V(Xk)=k2αV(X_k)=k^{2\alpha}. So Bn2=V(Sn)=∑k=1nk2α≤n⋅n2α=n1+2α.B_n^2=V(S_n)=\sum_{k=1}^nk^{2\alpha}\le n\cdot n^{2\alpha}=n^{1+2\alpha}.

Markov’s condition. Bn2n2≤n2α−1→0because α<12.\frac{B_n^2}{n^2}\le n^{2\alpha-1}\to0\qquad\text{because }\alpha<\tfrac12. By Chebyshev’s inequality, for every ε>0\varepsilon>0, P(|Snn|>ε)≤Bn2n2ε2→0.P\left(\left|\frac{S_n}n\right|>\varepsilon\right)\le\frac{B_n^2}{n^2\varepsilon^2}\to0. So the WLLN holds. ◼\blacksquare

(For α≥12\alpha\ge\frac12 it fails; see the 2023 question above.)

✓ Proof checked step by step Every step was checked: Markov’s condition Bn2/n2≤n2α−1→0B_n^2/n^2\le n^{2\alpha-1}\to0 for α < ½.

↑ Back to the question list

State and prove Kolmogorov’s inequalities and explain its uses.

1998 · Paper I · Q3a · 20 marks

Solution

Kolmogorov’s inequality. Let X1,…,XnX_1,\dots,X_n be independent with E(Xk)=0E(X_k)=0 and V(Xk)=σk2<∞V(X_k)=\sigma_k^2<\infty, and let Sk=X1+⋯+XkS_k=X_1+\cdots+X_k. Then for every ε>0\varepsilon>0, P(max1≤k≤n|Sk|≥ε)≤V(Sn)ε2=∑k=1nσk2ε2.P\left(\max_{1\le k\le n}|S_k|\ge\varepsilon\right)\le\frac{V(S_n)}{\varepsilon^2}=\frac{\sum_{k=1}^n\sigma_k^2}{\varepsilon^2}. (The companion lower inequality: if also |Xk|≤c|X_k|\le c, then P(maxk|Sk|≥ε)≥1−(ε+c)2V(Sn)P(\max_k|S_k|\ge\varepsilon)\ge1-\dfrac{(\varepsilon+c)^2}{V(S_n)}.)

Proof. Split by the first time the partial sum reaches ε\varepsilon: Ak={|S1|<ε,…,|Sk−1|<ε,|Sk|≥ε},k=1,…,n.A_k=\{|S_1|<\varepsilon,\dots,|S_{k-1}|<\varepsilon,\ |S_k|\ge\varepsilon\},\qquad k=1,\dots,n. The AkA_k are disjoint, and A=⋃kAk={maxk|Sk|≥ε}A=\bigcup_kA_k=\{\max_k|S_k|\ge\varepsilon\}. Then E(Sn2)≥∑k=1nE(Sn2𝟏Ak).E(S_n^2)\ge\sum_{k=1}^nE\left(S_n^2\mathbf 1_{A_k}\right). Write Sn=Sk+(Sn−Sk)S_n=S_k+(S_n-S_k): E(Sn2𝟏Ak)=E(Sk2𝟏Ak)+2E(Sk𝟏Ak(Sn−Sk))+E((Sn−Sk)2𝟏Ak).E\left(S_n^2\mathbf 1_{A_k}\right)=E\left(S_k^2\mathbf 1_{A_k}\right)+2E\left(S_k\mathbf 1_{A_k}(S_n-S_k)\right)+E\left((S_n-S_k)^2\mathbf 1_{A_k}\right).

  • Sk𝟏AkS_k\mathbf 1_{A_k} depends only on X1,…,XkX_1,\dots,X_k, so it is independent of Sn−SkS_n-S_k, which has mean 0. The middle term is 0.
  • The last term is ≥0\ge0.
  • On AkA_k, Sk2≥ε2S_k^2\ge\varepsilon^2.

So E(Sn2𝟏Ak)≥ε2P(Ak)E\left(S_n^2\mathbf 1_{A_k}\right)\ge\varepsilon^2P(A_k), and V(Sn)=E(Sn2)≥ε2∑kP(Ak)=ε2P(A).◼V(S_n)=E(S_n^2)\ge\varepsilon^2\sum_kP(A_k)=\varepsilon^2P(A).\qquad\blacksquare

Uses.

  • It strengthens Chebyshev’s inequality from the single sum SnS_n to the whole path S1,…,SnS_1,\dots,S_n, at no extra cost.
  • It gives Kolmogorov’s convergence theorem: if ∑V(Xk)<∞\sum V(X_k)<\infty, then ∑(Xk−E(Xk))\sum(X_k-E(X_k)) converges almost surely.
  • With Kronecker’s lemma, this yields Kolmogorov’s SLLN: ∑σk2/k2<∞\sum\sigma_k^2/k^2<\infty implies (Sn−E(Sn))/n→0(S_n-E(S_n))/n\to0 a.s.
  • It is the basic tool of the three-series theorem.

✓ Proof checked step by step Every step of the proof was checked: the first-passage decomposition and the independence of Sk𝟏AkS_k\mathbf 1_{A_k} from Sn−SkS_n-S_k.

↑ Back to the question list

Verify the following: (i) Xn→a.s.C⇒Xn→pC (ii) Xn→q.m.C⇒Xn→a.s.C

1998 · Paper I · Q3b · 20 marks

Solution

(i) True: Xn→a.s.C⇒Xn→pCX_n\xrightarrow{a.s.}C\Rightarrow X_n\xrightarrow pC. For ε>0\varepsilon>0, let Bn=⋃m≥n{|Xm−C|>ε}B_n=\bigcup_{m\ge n}\{|X_m-C|>\varepsilon\}. These decrease to the event “|Xm−C|>ε|X_m-C|>\varepsilon infinitely often”, which has probability 0 under a.s. convergence. So P(|Xn−C|>ε)≤P(Bn)→0.◼P(|X_n-C|>\varepsilon)\le P(B_n)\to0.\qquad\blacksquare

(ii) False in general: Xn→q.m.CX_n\xrightarrow{q.m.}C does not imply Xn→a.s.CX_n\xrightarrow{a.s.}C. Counter-example: independent XnX_n with P(Xn=1)=1n,P(Xn=0)=1−1n.P(X_n=1)=\frac1n,\qquad P(X_n=0)=1-\frac1n.

  • Mean square: E(Xn−0)2=1n→0E(X_n-0)^2=\dfrac1n\to0, so Xn→q.m.0X_n\xrightarrow{q.m.}0.
  • Not a.s.: ∑nP(Xn=1)=∑1n=∞\sum_nP(X_n=1)=\sum\frac1n=\infty, and the events are independent. By the second Borel–Cantelli lemma, Xn=1X_n=1 infinitely often with probability 1. So Xn↛0X_n\not\to0 a.s.

What is true.

  • Xn→q.m.CX_n\xrightarrow{q.m.}C implies Xn→pCX_n\xrightarrow pC, by Chebyshev: P(|Xn−C|>ε)≤E(Xn−C)2/ε2P(|X_n-C|>\varepsilon)\le E(X_n-C)^2/\varepsilon^2.
  • Some subsequence Xnk→CX_{n_k}\to C almost surely.
  • If ∑nE(Xn−C)2<∞\sum_nE(X_n-C)^2<\infty, then the whole sequence converges a.s., by Borel–Cantelli.

✓ Proof checked step by step Every step was checked. Part (ii) is false as stated; the counter-example uses E(Xn2)=1/n→0E(X_n^2)=1/n\to0 and the second Borel–Cantelli lemma.

↑ Back to the question list

State and prove the Borel-Cantelli lemma and express its significance.

1998 · Paper I · Q3c · 20 marks

Solution

Statement. Let A1,A2,…A_1,A_2,\dots be events and limsupAn=⋂n⋃k≥nAk\limsup A_n=\bigcap_n\bigcup_{k\ge n}A_k, the event that “infinitely many AnA_n occur”.

  1. If ∑P(An)<∞\sum P(A_n)<\infty, then P(limsupAn)=0P(\limsup A_n)=0.
  2. If the AnA_n are independent and ∑P(An)=∞\sum P(A_n)=\infty, then P(limsupAn)=1P(\limsup A_n)=1.

Proof of (1). limsupAn⊆⋃k≥nAk\limsup A_n\subseteq\bigcup_{k\ge n}A_k for each nn, so P(limsupAn)≤∑k≥nP(Ak)→0P(\limsup A_n)\le\sum_{k\ge n}P(A_k)\to0. ◼\blacksquare

Proof of (2). For each nn and N>nN>n, by independence and 1−x≤e−x1-x\le e^{-x}: P(⋂k=nNAkc)=∏k=nN(1−P(Ak))≤e−∑k=nNP(Ak)→0.P\left(\bigcap_{k=n}^NA_k^c\right)=\prod_{k=n}^N\big(1-P(A_k)\big)\le e^{-\sum_{k=n}^NP(A_k)}\to0. So P(⋃n⋂k≥nAkc)=0P\left(\bigcup_n\bigcap_{k\ge n}A_k^c\right)=0, that is, P(limsupAn)=1P(\limsup A_n)=1. ◼\blacksquare

Significance.

  • Zero–one law. For independent events, P(limsupAn)P(\limsup A_n) can only be 0 or 1, and the lemma says which, simply from whether ∑P(An)\sum P(A_n) converges.
  • Proving a.s. convergence. To show Xn→XX_n\to X a.s., it is enough that ∑nP(|Xn−X|>ε)<∞\sum_nP(|X_n-X|>\varepsilon)<\infty for every ε\varepsilon. This is used to prove the SLLN, and to show a.s. convergence along fast subsequences.
  • Disproving a.s. convergence. Part (2) shows a.s. convergence fails. For example, for independent Xn∼X_n\sim Bernoulli(1/n1/n), Xn→P0X_n\xrightarrow P0 but Xn=1X_n=1 infinitely often.
  • Records and extremes. It decides questions such as whether Xn>clognX_n>c\log n infinitely often, for i.i.d. exponentials.
  • Independence matters in part (2). For An=(0,1/n)A_n=(0,1/n) in (0,1)(0,1), ∑P(An)=∞\sum P(A_n)=\infty but P(limsupAn)=0P(\limsup A_n)=0.

✓ Proof checked step by step Every step of both parts was checked: subadditivity for part (i), and 1−x≤e−x1-x\le e^{-x} with independence for part (ii).

↑ Back to the question list

Explain central limit theorem and weak law of large numbers for a sequence {Xn} of i.i.d random variables. State Lindeberg-Levy theorem.

1998 · Paper I · Q4c · 20 marks

Solution

(This question is also listed under 1.5 Central limit theorem. The worked solution is repeated here so that this page is complete.)

Let X1,X2,…X_1,X_2,\dots be i.i.d. with mean μ\mu and variance σ2\sigma^2, and let X‾n=1n∑i=1nXi\bar X_n=\frac1n\sum_{i=1}^nX_i.

Weak law of large numbers (WLLN). If E|X1|<∞E|X_1|<\infty (Khinchin’s theorem), then for every ε>0\varepsilon>0, P(|X‾n−μ|>ε)→0as n→∞,P(|\bar X_n-\mu|>\varepsilon)\to0\quad\text{as }n\to\infty, that is, X‾n→Pμ\bar X_n\xrightarrow{P}\mu. The sample mean becomes an ever better estimate of the population mean. When σ2<∞\sigma^2<\infty there is a one-line proof by Chebyshev: P(|X‾n−μ|>ε)≤σ2nε2→0P(|\bar X_n-\mu|>\varepsilon)\le\dfrac{\sigma^2}{n\varepsilon^2}\to0.

Central limit theorem (CLT). The WLLN says that X‾n−μ→0\bar X_n-\mu\to0. The CLT says how fast and in what shape: the error is of order σ/n\sigma/\sqrt n and approximately normal. If 0<σ2<∞0<\sigma^2<\infty, n(X‾n−μ)σ→dN(0,1),\frac{\sqrt n(\bar X_n-\mu)}{\sigma}\xrightarrow{d}N(0,1), so X‾n≈N(μ,σ2/n)\bar X_n\approx N(\mu,\ \sigma^2/n) for large nn.

How they differ.

WLLN CLT
What it studies X‾n\bar X_n itself X‾n\bar X_n blown up by n/σ\sqrt n/\sigma
Limit the constant μ\mu the distribution N(0,1)N(0,1)
Mode of convergence in probability in distribution
Conditions (i.i.d. case) finite mean finite variance
What it gives us consistency of X‾n\bar X_n approximate probabilities, tests and intervals
(a) WLLN: the mean piles up at 100.511.522.53012sample meandensityn = 1n = 5n = 30(b) CLT: standardised, it looks normal−3−2−1012300.51√n (mean − μ) / σdensityn = 1n = 5n = 30N(0, 1)
Sample means of exponential(1) observations (μ = σ = 1), computed exactly from the gamma distribution. Panel (a) shows the WLLN: the spread shrinks to zero. Panel (b) shows the CLT: after standardising, the shape settles on the normal curve.

Lindeberg–Lévy theorem. If X1,X2,…X_1,X_2,\dots are i.i.d. with E(Xi)=μE(X_i)=\mu and 0<V(Xi)=σ2<∞0<V(X_i)=\sigma^2<\infty, and Sn=∑i=1nXiS_n=\sum_{i=1}^nX_i, then limn→∞P(Sn−nμσn≤z)=Φ(z)=∫−∞z12πe−u2/2dufor all z.\lim_{n\to\infty}P\!\left(\frac{S_n-n\mu}{\sigma\sqrt n}\le z\right)=\Phi(z)=\int_{-\infty}^z\frac1{\sqrt{2\pi}}e^{-u^2/2}\,du\qquad\text{for all }z.

✓ Answer checked step by step Every point was checked against the standard statements of Khinchin’s WLLN and the Lindeberg–Lévy CLT. The figure was computed exactly from the gamma distribution of the mean of exponential observations.

↑ Back to the question list

Suppose that the number of airplanes arriving at a certain airport in any 20-minute period obeys a Poisson probability law with mean 100. Determine lower bound for the probability that the number of airplanes arriving in a given 20-minute period will be between 80 and 120.

1997 · Paper I · Q3a · 16 marks

Solution

Set-up. X∼X\sim Poisson(100), so μ=100\mu=100 and σ2=100\sigma^2=100.

Chebyshev. The event 80<X<12080<X<120 is |X−100|<20|X-100|<20. So P(80<X<120)=P(|X−100|<20)≥1−σ2202=1−100400=𝟑𝟒.P(80<X<120)=P(|X-100|<20)\ge1-\frac{\sigma^2}{20^2}=1-\frac{100}{400}=\mathbf{\frac34}.

(If “between” includes the end points, 80≤X≤12080\le X\le120 is |X−100|≤20|X-100|\le20, that is, |X−100|<21|X-100|<21 for integer XX, and the bound becomes 1−100441≈0.7731-\frac{100}{441}\approx0.773.)

Comparison. The exact Poisson probability is about 0.949. Chebyshev’s bound of 0.75 is valid but conservative.

✓ Checked by computer We computed the exact Poisson probability in Python: P(80 < X < 120) = 0.9491, comfortably above the Chebyshev bound of 0.75.

↑ Back to the question list

Examine whether the following sequences of independent r.v.’s obey the WLLN: (i) P{Xn=±2n}=12 (ii) P{Xn=±n}=12

1997 · Paper I · Q3b · 28 marks

Solution

In both cases E(Xk)=0E(X_k)=0, so the WLLN would mean Sn/n→P0S_n/n\xrightarrow P0.

(i) Xn=±2nX_n=\pm2^n: the WLLN fails.

  • V(Sn)=∑4k≈434nV(S_n)=\sum4^k\approx\frac43\,4^n, so V(Sn)/n2→∞V(S_n)/n^2\to\infty. Markov’s condition fails.
  • Direct proof that $S_n/n\not\xrightarrow P0$: by the uniqueness of binary expansions, the 2n2^n sign patterns give 2n2^n different values of Sn=∑±2kS_n=\sum\pm2^k. These are equally likely, and consecutive values differ by 4. So at most εn2+1\frac{\varepsilon n}2+1 of them lie in [−εn,εn][-\varepsilon n,\varepsilon n], and P(|Snn|≤ε)≤εn/2+12n→0.P\left(\left|\frac{S_n}n\right|\le\varepsilon\right)\le\frac{\varepsilon n/2+1}{2^n}\to0. So P(|Sn/n|>ε)→1P(|S_n/n|>\varepsilon)\to1. The last term ±2n\pm2^n dominates everything before it.

(ii) Xn=±nX_n=\pm\sqrt n: the WLLN fails.

  • Bn2=V(Sn)=∑k=1nk=n(n+1)2B_n^2=V(S_n)=\sum_{k=1}^nk=\frac{n(n+1)}2, so Bn2n2→12≠0\dfrac{B_n^2}{n^2}\to\frac12\ne0. Markov’s condition fails.
  • Direct proof: |Xk|≤n|X_k|\le\sqrt n is small compared with Bn≈n/2B_n\approx n/\sqrt2, so the Lindeberg condition holds and Sn/Bn→dN(0,1)S_n/B_n\xrightarrow dN(0,1). Then Snn=Bnn⋅SnBn→dN(0,12),\frac{S_n}n=\frac{B_n}n\cdot\frac{S_n}{B_n}\xrightarrow dN\left(0,\tfrac12\right), which is not degenerate at 0.

Conclusion. Neither sequence obeys the WLLN. (For ±kα\pm k^\alpha the WLLN holds exactly when α<12\alpha<\frac12; see the 2023 question above.)

✓ Proof checked step by step Every step was checked. For (i) we confirmed in Python that for n = 10 the 2102^{10} possible values of SnS_n are distinct and equally spaced (gap 4), so P(|Sn|≤εn)≤(εn/2+1)/2n→0P(|S_n|\le\varepsilon n)\le(\varepsilon n/2+1)/2^n\to0. For (ii) we used the CLT argument.

↑ Back to the question list

State and prove Kolmogorovs inequality and explain its use.

1997 · Paper I · Q3c · 16 marks

Solution

Kolmogorov’s inequality. If X1,…,XnX_1,\dots,X_n are independent, with E(Xk)=0E(X_k)=0 and V(Xk)=σk2<∞V(X_k)=\sigma_k^2<\infty, and Sk=∑j≤kXjS_k=\sum_{j\le k}X_j, then for ε>0\varepsilon>0 P(max1≤k≤n|Sk|≥ε)≤1ε2∑k=1nσk2.P\left(\max_{1\le k\le n}|S_k|\ge\varepsilon\right)\le\frac1{\varepsilon^2}\sum_{k=1}^n\sigma_k^2.

Proof. Let Ak={|Sj|<ε for j<k,|Sk|≥ε}A_k=\{|S_j|<\varepsilon\text{ for }j<k,\ |S_k|\ge\varepsilon\}, the event that the path first reaches ε\varepsilon at step kk. The AkA_k are disjoint, and their union is {maxk|Sk|≥ε}\{\max_k|S_k|\ge\varepsilon\}. Then ∑kσk2=E(Sn2)≥∑k=1nE(Sn2𝟏Ak).\sum_k\sigma_k^2=E(S_n^2)\ge\sum_{k=1}^nE\left(S_n^2\mathbf 1_{A_k}\right). With Sn=Sk+RkS_n=S_k+R_k, where Rk=Sn−SkR_k=S_n-S_k is independent of (X1,…,Xk)(X_1,\dots,X_k) and has mean 0: E(Sn2𝟏Ak)=E(Sk2𝟏Ak)+2E(Sk𝟏Ak)E(Rk)+E(Rk2𝟏Ak)≥E(Sk2𝟏Ak)≥ε2P(Ak).E\left(S_n^2\mathbf 1_{A_k}\right)=E\left(S_k^2\mathbf 1_{A_k}\right)+2E\left(S_k\mathbf 1_{A_k}\right)E(R_k)+E\left(R_k^2\mathbf 1_{A_k}\right)\ge E\left(S_k^2\mathbf 1_{A_k}\right)\ge\varepsilon^2P(A_k). Summing over kk: ∑σk2≥ε2P(maxk|Sk|≥ε)\sum\sigma_k^2\ge\varepsilon^2P\left(\max_k|S_k|\ge\varepsilon\right). ◼\blacksquare

Its use.

  • It is a maximal form of Chebyshev’s inequality. It bounds the probability that the partial sums ever stray beyond ε\varepsilon up to time nn, not just at time nn.
  • It proves that ∑(Xk−E(Xk))\sum(X_k-E(X_k)) converges a.s. when ∑V(Xk)<∞\sum V(X_k)<\infty.
  • With Kronecker’s lemma, that gives Kolmogorov’s SLLN: ∑σk2/k2<∞⇒(Sn−E(Sn))/n→0\sum\sigma_k^2/k^2<\infty\Rightarrow(S_n-E(S_n))/n\to0 a.s.

✓ Proof checked step by step Every step of the proof was checked: the first-passage decomposition and the independence of Sk𝟏AkS_k\mathbf 1_{A_k} from Sn−SkS_n-S_k.

↑ Back to the question list

Show that Xn→PX⇒Xn→LX

1997 · Paper I · Q4a · 15 marks

Solution

Let FnF_n and FF be the d.f.s of XnX_n and XX, and let xx be a continuity point of FF. Fix ε>0\varepsilon>0.

Upper bound. If Xn≤xX_n\le x, then either X≤x+εX\le x+\varepsilon or |Xn−X|>ε|X_n-X|>\varepsilon. So Fn(x)≤F(x+ε)+P(|Xn−X|>ε).F_n(x)\le F(x+\varepsilon)+P(|X_n-X|>\varepsilon).

Lower bound. If X≤x−εX\le x-\varepsilon, then either Xn≤xX_n\le x or |Xn−X|>ε|X_n-X|>\varepsilon. So F(x−ε)≤Fn(x)+P(|Xn−X|>ε).F(x-\varepsilon)\le F_n(x)+P(|X_n-X|>\varepsilon).

Limit. Since Xn→PXX_n\xrightarrow PX, the probability terms tend to 0, and F(x−ε)≤liminfnFn(x)≤limsupnFn(x)≤F(x+ε).F(x-\varepsilon)\le\liminf_nF_n(x)\le\limsup_nF_n(x)\le F(x+\varepsilon). Let ε↓0\varepsilon\downarrow0. By continuity of FF at xx, both bounds tend to F(x)F(x). Hence Fn(x)→F(x)F_n(x)\to F(x) at every continuity point, that is, Xn→LXX_n\xrightarrow LX. ◼\blacksquare

(The converse is false unless XX is a constant: Xn=−XX_n=-X with X∼N(0,1)X\sim N(0,1) converges in law to XX but not in probability.)

✓ Proof checked step by step Every step was checked; the two inclusions hold for every ε > 0, and continuity of F at x finishes the proof.

↑ Back to the question list

State and prove Markov’s theorem for WLLN.

1996 · Paper I · Q3a · 20 marks

Solution

Markov’s theorem. Let X1,X2,…X_1,X_2,\dots have finite variances and Sn=X1+⋯+XnS_n=X_1+\cdots+X_n. If V(Sn)n2→0(n→∞),\frac{V(S_n)}{n^2}\to0\qquad(n\to\infty), then the WLLN holds: Sn−E(Sn)n→P0.\frac{S_n-E(S_n)}n\xrightarrow P0. The XiX_i need not be independent or identically distributed.

Proof. Let Yn=Sn−E(Sn)nY_n=\dfrac{S_n-E(S_n)}n. Then E(Yn)=0E(Y_n)=0 and V(Yn)=V(Sn)n2V(Y_n)=\dfrac{V(S_n)}{n^2}. By Chebyshev’s inequality, for any ε>0\varepsilon>0, P(|Yn|≥ε)≤V(Yn)ε2=V(Sn)n2ε2→0.◼P(|Y_n|\ge\varepsilon)\le\frac{V(Y_n)}{\varepsilon^2}=\frac{V(S_n)}{n^2\varepsilon^2}\to0.\qquad\blacksquare

Special cases.

  • Chebyshev’s WLLN: independent (or uncorrelated) variables with V(Xi)≤cV(X_i)\le c. Then V(Sn)≤ncV(S_n)\le nc and V(Sn)/n2≤c/n→0V(S_n)/n^2\le c/n\to0.
  • Bernoulli’s theorem: the proportion of successes in nn trials tends to pp in probability.

✓ Proof checked step by step Every step was checked: the proof is a single application of Chebyshev’s inequality and needs no independence.

↑ Back to the question list

Verify the following: (i) Xn→PX,Xn→PY⇒P[X=Y]=1 (ii) Xn→rX, for some r>0⇒Xn→PX

1996 · Paper I · Q3b · 20 marks

Solution

(i) Limits in probability are unique. For any ε>0\varepsilon>0, |X−Y|≤|X−Xn|+|Xn−Y||X-Y|\le|X-X_n|+|X_n-Y|, so {|X−Y|>ε}⊆{|Xn−X|>ε2}∪{|Xn−Y|>ε2}.\{|X-Y|>\varepsilon\}\subseteq\left\{|X_n-X|>\tfrac\varepsilon2\right\}\cup\left\{|X_n-Y|>\tfrac\varepsilon2\right\}. Hence, for every nn, P(|X−Y|>ε)≤P(|Xn−X|>ε2)+P(|Xn−Y|>ε2).P(|X-Y|>\varepsilon)\le P\left(|X_n-X|>\tfrac\varepsilon2\right)+P\left(|X_n-Y|>\tfrac\varepsilon2\right). The left side does not depend on nn, and the right side tends to 0. So P(|X−Y|>ε)=0P(|X-Y|>\varepsilon)=0 for every ε>0\varepsilon>0, and P(X≠Y)=P(⋃m{|X−Y|>1m})≤∑m0=0.P(X\ne Y)=P\left(\bigcup_m\left\{|X-Y|>\tfrac1m\right\}\right)\le\sum_m0=0. So P(X=Y)=1P(X=Y)=1. ◼\blacksquare

(ii) rr-th mean implies probability. By Markov’s inequality applied to |Xn−X|r|X_n-X|^r, for any ε>0\varepsilon>0, P(|Xn−X|>ε)=P(|Xn−X|r>εr)≤E|Xn−X|rεr→0.P(|X_n-X|>\varepsilon)=P\left(|X_n-X|^r>\varepsilon^r\right)\le\frac{E|X_n-X|^r}{\varepsilon^r}\to0. So Xn→PXX_n\xrightarrow PX. ◼\blacksquare

✓ Proof checked step by step Every step was checked: the triangle inequality for (i), and Markov’s inequality applied to |Xn−X|r|X_n-X|^r for (ii).

↑ Back to the question list

(i) State Kolmogorov’s SLLN for a sequence of independent random variables. (ii) Verify whether the following sequence of independent random variables obey the SLLN: P{Xk=12k}=P{Xk=−12k}=12,k=1,2,…

1996 · Paper I · Q3c · 20 marks

Solution

(i) Kolmogorov’s SLLN. Let X1,X2,…X_1,X_2,\dots be independent with finite variances σk2\sigma_k^2. If ∑k=1∞σk2k2<∞,\sum_{k=1}^\infty\frac{\sigma_k^2}{k^2}<\infty, then Sn−E(Sn)n→0almost surely.\frac{S_n-E(S_n)}n\to0\quad\text{almost surely}. (For i.i.d. variables: Sn/n→μS_n/n\to\mu a.s. if and only if E|X1|<∞E|X_1|<\infty, with μ=E(X1)\mu=E(X_1).)

(ii) E(Xk)=0E(X_k)=0 and σk2=4−k\sigma_k^2=4^{-k}. Then ∑k=1∞σk2k2=∑k=1∞14kk2<∑k=1∞4−k=13<∞.\sum_{k=1}^\infty\frac{\sigma_k^2}{k^2}=\sum_{k=1}^\infty\frac1{4^kk^2}<\sum_{k=1}^\infty4^{-k}=\frac13<\infty. So the SLLN holds: Sn/n→0S_n/n\to0 almost surely.

Directly. |Sn|≤∑k2−k<1|S_n|\le\sum_k2^{-k}<1 for every outcome, so |Sn/n|<1n→0|S_n/n|<\frac1n\to0 surely.

✓ Proof checked step by step Every step was checked: Kolmogorov’s series ∑4−k/k2\sum4^{-k}/k^2 converges, and the direct bound |Sn|≤1|S_n|\le1 gives the same result.

↑ Back to the question list

State and prove the Borel-Cantelli lemma.

1995 · Paper I · Q3a · 28 marks

Solution

Borel–Cantelli lemma. Let (Ω,𝒜,P)(\Omega,\mathcal A,P) be a probability space, A1,A2,…∈𝒜A_1,A_2,\dots\in\mathcal A, and limsupnAn=⋂n=1∞⋃k=n∞Ak={ω:ω∈An for infinitely many n}.\limsup_{n}A_n=\bigcap_{n=1}^\infty\bigcup_{k=n}^\infty A_k=\{\omega:\omega\in A_n\text{ for infinitely many }n\}.

  1. (First lemma.) If ∑n=1∞P(An)<∞\sum_{n=1}^\infty P(A_n)<\infty, then P(limsupAn)=0P(\limsup A_n)=0.
  2. (Second lemma.) If A1,A2,…A_1,A_2,\dots are mutually independent and ∑n=1∞P(An)=∞\sum_{n=1}^\infty P(A_n)=\infty, then P(limsupAn)=1P(\limsup A_n)=1.

Proof of the first lemma. Let Bn=⋃k≥nAkB_n=\bigcup_{k\ge n}A_k. The BnB_n decrease to limsupAn\limsup A_n, and by countable subadditivity P(limsupAn)≤P(Bn)≤∑k=n∞P(Ak).P(\limsup A_n)\le P(B_n)\le\sum_{k=n}^\infty P(A_k). The right side is the tail of a convergent series, so it tends to 0 as n→∞n\to\infty. Hence P(limsupAn)=0P(\limsup A_n)=0. ◼\blacksquare

Proof of the second lemma. We show the complement has probability 0: (limsupAn)c=⋃n=1∞⋂k=n∞Akc.(\limsup A_n)^c=\bigcup_{n=1}^\infty\bigcap_{k=n}^\infty A_k^c. Fix nn. For N≥nN\ge n, the events Anc,…,ANcA_n^c,\dots,A_N^c are independent (complements of independent events are independent). Using 1−x≤e−x1-x\le e^{-x}: P(⋂k=nNAkc)=∏k=nN(1−P(Ak))≤exp(−∑k=nNP(Ak))→N→∞0,P\left(\bigcap_{k=n}^NA_k^c\right)=\prod_{k=n}^N\big(1-P(A_k)\big)\le\exp\left(-\sum_{k=n}^NP(A_k)\right)\xrightarrow[N\to\infty]{}0, because ∑k≥nP(Ak)=∞\sum_{k\ge n}P(A_k)=\infty. The events ⋂k=nNAkc\bigcap_{k=n}^NA_k^c decrease, as N→∞N\to\infty, to ⋂k≥nAkc\bigcap_{k\ge n}A_k^c. By continuity of probability, P(⋂k≥nAkc)=0P\left(\bigcap_{k\ge n}A_k^c\right)=0 for every nn. A countable union of null events is null, so P((limsupAn)c)=0P\left((\limsup A_n)^c\right)=0, that is, P(limsupAn)=1P(\limsup A_n)=1. ◼\blacksquare

Remarks.

  • Independence cannot be dropped in the second lemma. With An=(0,1/n)A_n=(0,1/n) in (0,1)(0,1), ∑P(An)=∞\sum P(A_n)=\infty but limsupAn=⌀\limsup A_n=\varnothing. (Pairwise independence is in fact enough.)
  • For independent events the two parts give a zero–one law: P(limsupAn)P(\limsup A_n) is 0 or 1, according as ∑P(An)\sum P(A_n) converges or diverges.
  • Example. In independent tosses of a fair coin, a run of log2n\log_2n consecutive heads starting at toss nn has probability 1/n1/n. These events are not independent, but a refinement of the argument shows such runs occur infinitely often. Runs of 2log2n2\log_2n heads have probability 1/n21/n^2, which is summable, so they occur only finitely often.
  • Use. It is the standard tool for proving almost sure convergence, as in the SLLN, and for showing that it fails.

✓ Proof checked step by step Every step of both parts was checked: subadditivity for part (i), and 1−x≤e−x1-x\le e^{-x} with independence for part (ii).

↑ Back to the question list

Verify whether the following sequences of independent random variables satisfy the WLLN: (i) P[Xk=+k]=P[Xk=−k]=12k, P[Xk=0]=1−1k (ii) P[Xk=kλ]=P[Xk=−kk]=12, λ>0

1995 · Paper I · Q3b · 16 marks

Solution

(i) E(Xk)=0E(X_k)=0 and V(Xk)=k2⋅1k=k3/2V(X_k)=k^2\cdot\dfrac1{\sqrt k}=k^{3/2}, so Bn2=∑k≤nk3/2∼25n5/2,Bn2n2∼25n→∞.B_n^2=\sum_{k\le n}k^{3/2}\sim\frac25n^{5/2},\qquad\frac{B_n^2}{n^2}\sim\frac25\sqrt n\to\infty. Markov’s condition fails. Moreover, Lyapunov’s condition holds (∑E|Xk|3/Bn3∼cn−1/4→0\sum E|X_k|^3/B_n^3\sim c\,n^{-1/4}\to0), so Sn/Bn→dN(0,1)S_n/B_n\xrightarrow dN(0,1), and since Bn/n→∞B_n/n\to\infty, P(|Snn|>ε)→1.P\left(\left|\frac{S_n}n\right|>\varepsilon\right)\to1. The WLLN does not hold. (Details in the 2007 question above.)

(ii) Note on the question. “−kk-k^k” is a misprint for −kλ-k^\lambda: P(Xk=kλ)=P(Xk=−kλ)=12P(X_k=k^\lambda)=P(X_k=-k^\lambda)=\tfrac12.

E(Xk)=0E(X_k)=0 and V(Xk)=k2λV(X_k)=k^{2\lambda}, so Bn2=∑k≤nk2λ∼n2λ+12λ+1B_n^2=\sum_{k\le n}k^{2\lambda}\sim\dfrac{n^{2\lambda+1}}{2\lambda+1}.

  • 0<λ<120<\lambda<\frac12: Bn2/n2≤n2λ−1→0B_n^2/n^2\le n^{2\lambda-1}\to0, so by Markov’s theorem the WLLN holds.
  • λ≥12\lambda\ge\frac12: the CLT holds (Lyapunov ratio of order n−1/2n^{-1/2}), and Bn/n↛0B_n/n\not\to0. So Sn/nS_n/n does not tend to 0 in probability, and the WLLN fails.

✓ Proof checked step by step Every step was checked: (i) by the CLT argument of the 2007 question, (ii) by Markov’s condition for λ < ½ and the CLT argument for λ ≥ ½.

↑ Back to the question list

More on Probability

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