Menu Close

Generating and characteristic functions: UPSC Statistics Optional PYQ Solutions (1995–2026)

All 38 questions UPSC has asked on generating and characteristic functions 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.
  • ✓ Derivation checked step by step for derivations and approximations, every step was checked, and the result was also tested numerically.
  • ✓ Answer checked step by step for descriptive questions, every point was checked against the standard theory.

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

Jump to a question (year · question number):

2026 · 2a(i) 2026 · 2a(ii) 2025 · 1b 2024 · 2b 2024 · 3a(i) 2024 · 3a(ii) 2022 · 3c 2021 · 2c 2020 · 3c 2020 · 4b(ii) 2019 · 1e 2015 · 2a 2013 · 2a 2013 · 2b 2011 · 2a 2011 · 2b 2009 · 3a 2007 · 2a 2006 · 1b 2006 · 2a 2005 · 1c 2004 · 2c 2003 · 1b 2002 · 1c 2002 · 2b 2001 · 1b 2001 · 1d 2001 · 4iv 2000 · 1a 2000 · 1b 2000 · 2b(i) 1999 · 3c 1998 · 2c(i) 1997 · 2c 1996 · 4a 1996 · 4b 1995 · 4a 1995 · 4b

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

Find the moment generating function (m.g.f.) of a random variable X with probability density function (p.d.f.) f(x)={x,0≤x<12−x,1≤x<20,otherwise Using this m.g.f., find E(X) and V(X).

2026 · Paper I · Q2a(i) · 10 marks

Solution

M.g.f. M(t)=∫01xetxdx+∫12(2−x)etxdx.M(t)=\int_0^1xe^{tx}\,dx+\int_1^2(2-x)e^{tx}\,dx. Integrating by parts, ∫01xetxdx=ett−et−1t2,∫12(2−x)etxdx=−ett+e2t−ett2.\int_0^1xe^{tx}dx=\frac{e^t}t-\frac{e^t-1}{t^2},\qquad\int_1^2(2-x)e^{tx}dx=-\frac{e^t}t+\frac{e^{2t}-e^t}{t^2}. Adding, M(t)=e2t−2et+1t2=(et−1t)2,t≠0;M(0)=1.M(t)=\frac{e^{2t}-2e^t+1}{t^2}=\left(\frac{e^t-1}t\right)^2,\qquad t\ne0;\qquad M(0)=1. (This is the square of the m.g.f. of U(0,1)U(0,1): XX has the distribution of the sum of two independent U(0,1)U(0,1) variables.)

Moments from the m.g.f. Expand: et−1t=1+t2+t26+⋯\dfrac{e^t-1}t=1+\dfrac t2+\dfrac{t^2}6+\cdots, so M(t)=(1+t2+t26+⋯)2=1+t+(14+13)t2+⋯=1+t+712t2+⋯M(t)=\left(1+\frac t2+\frac{t^2}6+\cdots\right)^2=1+t+\left(\frac14+\frac13\right)t^2+\cdots=1+t+\frac7{12}t^2+\cdots Matching with M(t)=1+E(X)t+E(X2)t22!+⋯M(t)=1+E(X)\,t+E(X^2)\dfrac{t^2}{2!}+\cdots: E(X)=1,E(X2)=2⋅712=76,V(X)=76−1=𝟏𝟔.E(X)=1,\qquad E(X^2)=2\cdot\frac7{12}=\frac76,\qquad V(X)=\frac76-1=\mathbf{\frac16}.

✓ Checked by computer We computed the m.g.f. symbolically in SymPy and expanded it: 1+t+712t2+⋯1+t+\tfrac7{12}t^2+\cdots, giving E(X)=1E(X)=1, E(X2)=76E(X^2)=\tfrac76, V(X)=16V(X)=\tfrac16.

↑ Back to the question list

Let ϕX(t)=e−t2/2 be the characteristic function of a random variable X. Using the inversion formula, find the probability density function of X.

2026 · Paper I · Q2a(ii) · 10 marks

Solution

Inversion formula. If ∫|ϕX(t)|dt<∞\int|\phi_X(t)|\,dt<\infty, then XX has the continuous density f(x)=12π∫−∞∞e−itxϕX(t)dt.f(x)=\frac1{2\pi}\int_{-\infty}^\infty e^{-itx}\phi_X(t)\,dt. Here ∫e−t2/2dt=2π<∞\int e^{-t^2/2}dt=\sqrt{2\pi}<\infty, so the formula applies.

Evaluate. Complete the square: −t22−itx=−12(t+ix)2−x22-\dfrac{t^2}2-itx=-\dfrac12(t+ix)^2-\dfrac{x^2}2. So f(x)=12πe−x2/2∫−∞∞e−12(t+ix)2dt=12πe−x2/22π.f(x)=\frac1{2\pi}e^{-x^2/2}\int_{-\infty}^\infty e^{-\frac12(t+ix)^2}dt=\frac1{2\pi}e^{-x^2/2}\sqrt{2\pi}. (Shifting the line of integration by ixix does not change the value of this Gaussian integral.)

Answer. f(x)=12πe−x2/2,−∞<x<∞.f(x)=\frac1{\sqrt{2\pi}}e^{-x^2/2},\qquad-\infty<x<\infty. XX is standard normal.

(Real-variable route: ϕ\phi is even, so f(x)=1π∫0∞e−t2/2cos(tx)dtf(x)=\dfrac1\pi\displaystyle\int_0^\infty e^{-t^2/2}\cos(tx)\,dt. Call this I(x)I(x). Differentiating under the integral and integrating by parts gives I′(x)=−xI(x)I'(x)=-xI(x), with I(0)=12πI(0)=\tfrac1{\sqrt{2\pi}}. Hence I(x)=12πe−x2/2I(x)=\tfrac1{\sqrt{2\pi}}e^{-x^2/2}.)

✓ Derivation checked step by step Every step was checked. We also evaluated the inversion integral numerically in Python at x = 0, 0.7 and 2: it matches the N(0, 1) density to 12 decimal places.

↑ Back to the question list

If X and Y are non-negative independent random variables and their joint moment generating function is given by MX,Y(t1,t2)=eet1+2et2−3; t1>0,t2>0, then show that 2P(X+Y=2)=9P(X+Y=0).

2025 · Paper I · Q1b · 10 marks

Solution

Identify the distributions. Write the m.g.f. as MX,Y(t1,t2)=e(et1−1)⋅e2(et2−1).M_{X,Y}(t_1,t_2)=e^{(e^{t_1}-1)}\cdot e^{2(e^{t_2}-1)}. The first factor is the m.g.f. of Poisson(1) and the second of Poisson(2). The joint m.g.f. factorises, which confirms independence. So X∼P(1)X\sim P(1) and Y∼P(2)Y\sim P(2) are independent.

Distribution of X+YX+Y. MX+Y(t)=MX,Y(t,t)=e3(et−1)M_{X+Y}(t)=M_{X,Y}(t,t)=e^{3(e^t-1)}, so X+Y∼P(3)X+Y\sim P(3).

Verify. P(X+Y=0)=e−3,P(X+Y=2)=e−3322!=92e−3.P(X+Y=0)=e^{-3},\qquad P(X+Y=2)=e^{-3}\frac{3^2}{2!}=\frac92e^{-3}. 2P(X+Y=2)=9e−3=9P(X+Y=0).◼2P(X+Y=2)=9e^{-3}=9P(X+Y=0).\qquad\blacksquare

(The m.g.f. exists for all real t1,t2t_1,t_2; the restriction t1,t2>0t_1,t_2>0 in the question is not needed.)

✓ Proof checked step by step Every step was checked. We also computed both sides in Python: 2P(X+Y=2)=9P(X+Y=0)=9e−3=0.44812P(X+Y=2)=9P(X+Y=0)=9e^{-3}=0.4481.

↑ Back to the question list

Find the distribution function of random variable X, for which the characteristic function is ϕ(t)=e−t2,−∞<t<∞ Also compute P(X>22) in terms of Φ(z), where Φ(z)=∫−∞z12πe−12θ2dθ

2024 · Paper I · Q2b · 15 marks

Solution

Identify the distribution. The c.f. of N(μ,σ2)N(\mu,\sigma^2) is eiμt−σ2t2/2e^{i\mu t-\sigma^2t^2/2}. Matching e−t2e^{-t^2} gives μ=0\mu=0 and σ2=2\sigma^2=2. By the uniqueness theorem, X∼N(0,2)X\sim N(0,2).

(Directly by inversion: f(x)=12π∫e−itxe−t2dt=12ππe−x2/4=12πe−x2/4\displaystyle f(x)=\frac1{2\pi}\int e^{-itx}e^{-t^2}dt=\frac1{2\pi}\sqrt\pi\,e^{-x^2/4}=\frac1{2\sqrt\pi}e^{-x^2/4}, the N(0,2)N(0,2) density.)

Distribution function. F(x)=P(X≤x)=∫−∞x12πe−u2/4du=Φ(x2).F(x)=P(X\le x)=\int_{-\infty}^x\frac1{2\sqrt\pi}e^{-u^2/4}\,du=\Phi\!\left(\frac x{\sqrt2}\right).

Probability. P(X>22)=1−Φ(222)=𝟏−𝚽(𝟐)≈0.0228.P\left(X>2\sqrt2\right)=1-\Phi\!\left(\frac{2\sqrt2}{\sqrt2}\right)=\mathbf{1-\Phi(2)}\approx0.0228.

✓ Checked by computer We inverted the c.f. numerically in Python and matched the N(0, 2) density at three points, then computed 1−Φ(2)=0.022751-\Phi(2)=0.02275.

↑ Back to the question list

Let moment generating function of random variable X exist in the neighbourhood of zero and if E(Xn)=15+(−1)n25+2n+15;n=1,2,3,⋯ then find the values of the following: P(|X−0⋅75|≤1⋅5)

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

Solution

Identify the distribution. Write the moments as E(Xn)=15⋅1n+25⋅(−1)n+25⋅2n.E(X^n)=\frac15\cdot1^n+\frac25\cdot(-1)^n+\frac25\cdot2^n. These are exactly the moments of a variable taking the values 1,−1,21,-1,2 with probabilities 15,25,25\tfrac15,\tfrac25,\tfrac25 (they sum to 1). The m.g.f. exists near 0, so the moments determine the distribution uniquely. Hence P(X=1)=15,P(X=−1)=25,P(X=2)=25.P(X=1)=\tfrac15,\qquad P(X=-1)=\tfrac25,\qquad P(X=2)=\tfrac25. (Check through the m.g.f.: M(t)=∑tnn!E(Xn)=15et+25e−t+25e2tM(t)=\sum\frac{t^n}{n!}E(X^n)=\frac15e^t+\frac25e^{-t}+\frac25e^{2t}.)

Probability. |X−0.75|≤1.5|X-0.75|\le1.5 means −0.75≤X≤2.25-0.75\le X\le2.25. This holds for X=1X=1 and X=2X=2, but not for X=−1X=-1. So P(|X−0.75|≤1.5)=15+25=𝟑𝟓.P(|X-0.75|\le1.5)=\frac15+\frac25=\mathbf{\frac35}.

✓ Checked by computer We recomputed the moments of the three-point distribution in Python, and confirmed they match the given formula for n = 1, 2, 3. Then P(|X−0.75|≤1.5)=0.6P(|X-0.75|\le1.5)=0.6.

↑ Back to the question list

P(|X−μ|<σ); μ=E(X) and σ2=var(X) [Use 1⋅84=1⋅36].

2024 · Paper I · Q3a(ii) · 10 marks

Solution

(This continues the 2024 question above, where XX takes the values 1,−1,21,-1,2 with probabilities 15,25,25\tfrac15,\tfrac25,\tfrac25.)

Mean and variance. With n=1n=1 and n=2n=2 in the moment formula: μ=E(X)=15−25+45=35=0.6,E(X2)=15+25+85=115,\mu=E(X)=\tfrac15-\tfrac25+\tfrac45=\tfrac35=0.6,\qquad E(X^2)=\tfrac15+\tfrac25+\tfrac85=\tfrac{11}5, σ2=115−925=4625=1.84,σ=1.84=1.36.\sigma^2=\tfrac{11}5-\tfrac9{25}=\tfrac{46}{25}=1.84,\qquad\sigma=\sqrt{1.84}=1.36.

Probability. |X−0.6|<1.36|X-0.6|<1.36 means −0.76<X<1.96-0.76<X<1.96. Of the values −1,1,2-1,1,2, only X=1X=1 lies in this interval. So P(|X−μ|<σ)=P(X=1)=𝟏𝟓.P(|X-\mu|<\sigma)=P(X=1)=\mathbf{\tfrac15}.

✓ Checked by computer We recomputed in Python: μ = 0.6, σ² = 1.84, σ = 1.357, and P(|X−μ|<σ)=0.2P(|X-\mu|<\sigma)=0.2.

↑ Back to the question list

If X is a random variable with characteristic function φ(t)={1−|t|,|t|≤10,otherwise, then obtain the corresponding probability density function.

2022 · Paper I · Q3c · 15 marks

Solution

Inversion formula. φ\varphi is integrable: ∫−11(1−|t|)dt=1\int_{-1}^1(1-|t|)\,dt=1. So XX has the continuous density f(x)=12π∫−∞∞e−itxφ(t)dt=12π∫−11(1−|t|)e−itxdt.f(x)=\frac1{2\pi}\int_{-\infty}^\infty e^{-itx}\varphi(t)\,dt=\frac1{2\pi}\int_{-1}^1(1-|t|)e^{-itx}\,dt.

Simplify. φ\varphi is even, so the sine part cancels: f(x)=1π∫01(1−t)cos(tx)dt.f(x)=\frac1\pi\int_0^1(1-t)\cos(tx)\,dt. Integrate by parts (x≠0x\ne0): ∫01(1−t)cos(tx)dt=[(1−t)sintxx]01+1x∫01sin(tx)dt=0+1−cosxx2.\int_0^1(1-t)\cos(tx)\,dt=\left[(1-t)\frac{\sin tx}x\right]_0^1+\frac1x\int_0^1\sin(tx)\,dt=0+\frac{1-\cos x}{x^2}.

Answer. f(x)=1−cosxπx2=2sin2(x/2)πx2,x≠0;f(0)=12π.f(x)=\frac{1-\cos x}{\pi x^2}=\frac{2\sin^2(x/2)}{\pi x^2},\qquad x\ne0;\qquad f(0)=\frac1{2\pi}. (The value at 0 is the limit, and also 1π∫01(1−t)dt\tfrac1\pi\int_0^1(1-t)\,dt.)

(a) the c.f. φ(t) = 1 − |t| on [−1, 1]−2−101200.51tφ(t)(b) the density f(x) = (1 − cos x)/(πx²)−15−10−505101500.050.10.15xf(x)
A triangle-shaped c.f. inverts to a bell-shaped density with ripples. The density touches 0 at x = ±2π, ±4π, … and has heavy tails (it decays like 1/x², so the mean does not exist).

✓ Derivation checked step by step Every step was checked. We also evaluated the inversion integral numerically in Python at x = 0.5, 2 and 7: it matches (1−cosx)/(πx2)(1-\cos x)/(\pi x^2) to 14 decimal places.

↑ Back to the question list

(i) State the sufficient conditions for a function ϕ(t) to be a characteristic function. (ii) Investigate if the following functions are characteristic functions: 1. e−t4 2. [1+|t|]−1 Justify your answer.

2021 · Paper I · Q2c · 15 marks

Solution

(i) Sufficient conditions.

  • Pólya’s criterion. A real function ϕ\phi is a c.f. if it is continuous, even, ϕ(0)=1\phi(0)=1, convex on (0,∞)(0,\infty), and ϕ(t)→0\phi(t)\to0 as t→∞t\to\infty.
  • Bochner’s theorem (necessary and sufficient). ϕ\phi is a c.f. if and only if it is continuous, ϕ(0)=1\phi(0)=1, and non-negative definite: ∑j,kϕ(tj−tk)zjz‾k≥0\sum_{j,k}\phi(t_j-t_k)z_j\bar z_k\ge0 for all real t1,…,tnt_1,\dots,t_n and complex z1,…,znz_1,\dots,z_n.

(ii) 1. e−t4e^{-t^4} is not a c.f. Suppose it were the c.f. of XX. Near 0, e−t4=1−t4+⋯,e^{-t^4}=1-t^4+\cdots, so ϕ″(0)=0\phi''(0)=0. But if ϕ\phi is twice differentiable at 0, then E(X2)E(X^2) is finite and equals −ϕ″(0)=0-\phi''(0)=0. That forces X=0X=0 with probability 1, whose c.f. is ϕ(t)≡1≠e−t4\phi(t)\equiv1\ne e^{-t^4}. This is a contradiction. (The same argument rules out e−|t|αe^{-|t|^\alpha} for every α>2\alpha>2.)

2. (1+|t|)−1(1+|t|)^{-1} is a c.f. Check Pólya’s conditions:

  • it is real, even, continuous, and equals 1 at t=0t=0;
  • for t>0t>0, ϕ″(t)=2(1+t)3>0\phi''(t)=\dfrac2{(1+t)^3}>0, so it is convex on (0,∞)(0,\infty);
  • ϕ(t)→0\phi(t)\to0 as t→∞t\to\infty.

By Pólya’s criterion, (1+|t|)−1(1+|t|)^{-1} is a characteristic function, of an absolutely continuous distribution symmetric about 0.

✓ Proof checked step by step Every step was checked. As a numerical illustration we inverted e−t4e^{-t^4} in Python: the “density” comes out negative near x = 4.5 (−0.030), confirming it is not a c.f.

↑ Back to the question list

State inversion theorem on characteristic function. Hence, find the density function corresponding to the characteristic function ϕ(t)={1−|t|,|t|≤10,|t|>1.

2020 · Paper I · Q3c · 15 marks

Solution

Inversion theorem. Let ϕ\phi be the c.f. of a distribution function FF.

  1. If a<ba<b are continuity points of FF, then F(b)−F(a)=limT→∞12π∫−TTe−ita−e−itbitϕ(t)dt.F(b)-F(a)=\lim_{T\to\infty}\frac1{2\pi}\int_{-T}^T\frac{e^{-ita}-e^{-itb}}{it}\,\phi(t)\,dt.
  2. If ∫−∞∞|ϕ(t)|dt<∞\int_{-\infty}^\infty|\phi(t)|\,dt<\infty, then FF has a bounded continuous density f(x)=12π∫−∞∞e−itxϕ(t)dt.f(x)=\frac1{2\pi}\int_{-\infty}^\infty e^{-itx}\phi(t)\,dt.

Apply it. ∫|ϕ|=1<∞\int|\phi|=1<\infty. ϕ\phi is even, so f(x)=1π∫01(1−t)cos(tx)dt.f(x)=\frac1\pi\int_0^1(1-t)\cos(tx)\,dt. Integrate by parts with u=1−tu=1-t and dv=cos(tx)dtdv=\cos(tx)\,dt: ∫01(1−t)cos(tx)dt=[(1−t)sintxx]01+1x∫01sintxdt=1−cosxx2.\int_0^1(1-t)\cos(tx)\,dt=\left[(1-t)\frac{\sin tx}x\right]_0^1+\frac1x\int_0^1\sin tx\,dt=\frac{1-\cos x}{x^2}.

Answer. f(x)=1−cosxπx2=12π(sin(x/2)x/2)2,f(0)=12π.f(x)=\frac{1-\cos x}{\pi x^2}=\frac{1}{2\pi}\left(\frac{\sin(x/2)}{x/2}\right)^2,\qquad f(0)=\frac1{2\pi}. (The same c.f. was asked in 2022; see the graph there.)

✓ Derivation checked step by step Every step was checked. We also evaluated the inversion integral numerically in Python at three points: it matches (1−cosx)/(πx2)(1-\cos x)/(\pi x^2).

↑ 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

(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

Let X1,X2,X3 be three independent random variables with common pdf f(x)={2e−2x,x≥00,otherwise. Let Y=min(X1,X2,X3). Find mgf of Y. Using mgf, find E(Y) and E(Y2).

2019 · Paper I · Q1e · 10 marks

Solution

Distribution of YY. Each Xi∼X_i\sim Exp(rate 2), with P(Xi>y)=e−2yP(X_i>y)=e^{-2y}. So P(Y>y)=∏i=13P(Xi>y)=e−6y,y≥0.P(Y>y)=\prod_{i=1}^3P(X_i>y)=e^{-6y},\qquad y\ge0. Y∼Y\sim Exp(rate 6), with density 6e−6y6e^{-6y}.

M.g.f. MY(t)=∫0∞ety6e−6ydy=66−t,t<6.M_Y(t)=\int_0^\infty e^{ty}6e^{-6y}\,dy=\frac6{6-t},\qquad t<6.

Moments. MY′(t)=6(6−t)2⇒E(Y)=MY′(0)=16,MY″(t)=12(6−t)3⇒E(Y2)=MY″(0)=12216=118.M_Y'(t)=\frac6{(6-t)^2}\Rightarrow E(Y)=M_Y'(0)=\frac16,\qquad M_Y''(t)=\frac{12}{(6-t)^3}\Rightarrow E(Y^2)=M_Y''(0)=\frac{12}{216}=\frac1{18}. (So V(Y)=118−136=136V(Y)=\tfrac1{18}-\tfrac1{36}=\tfrac1{36}.)

✓ Checked by computer We computed the m.g.f. of YY symbolically in SymPy and differentiated it: E(Y)=16E(Y)=\tfrac16, E(Y2)=118E(Y^2)=\tfrac1{18}.

↑ Back to the question list

How can you find out the discontinuity points of distribution of a random variable if the characteristic function ϕ(t) is given to you? Hence find the c.d.f. of a random variable X whose characteristic function is 14(1+eit+2e2it).

2015 · Paper I · Q2a · 20 marks

Solution

Finding the jumps from ϕ\phi. A point xx is a discontinuity of FF exactly when P(X=x)>0P(X=x)>0, and P(X=x)=F(x)−F(x−)=limT→∞12T∫−TTe−itxϕ(t)dt.P(X=x)=F(x)-F(x-)=\lim_{T\to\infty}\frac1{2T}\int_{-T}^Te^{-itx}\phi(t)\,dt. So the discontinuity points are the xx where this limit is positive. Moreover, if ϕ\phi is a finite sum ∑kpkeitxk\sum_kp_ke^{itx_k}, then 12T∫−TTeit(xk−x)dt={1,x=xksinT(xk−x)T(xk−x)→0,x≠xk,\frac1{2T}\int_{-T}^Te^{it(x_k-x)}dt=\begin{cases}1,&x=x_k\\[2pt]\dfrac{\sin T(x_k-x)}{T(x_k-x)}\to0,&x\ne x_k,\end{cases} which picks out the jump pkp_k at xkx_k.

Apply to the given ϕ\phi. ϕ(t)=14eit⋅0+14eit⋅1+12eit⋅2.\phi(t)=\frac14e^{it\cdot0}+\frac14e^{it\cdot1}+\frac12e^{it\cdot2}. The formula gives jumps of 14,14,12\tfrac14,\tfrac14,\tfrac12 at x=0,1,2x=0,1,2, and 0 elsewhere. So XX is discrete with P(X=0)=14,P(X=1)=14,P(X=2)=12.P(X=0)=\tfrac14,\quad P(X=1)=\tfrac14,\quad P(X=2)=\tfrac12.

C.d.f. F(x)={0,x<014,0≤x<112,1≤x<21,x≥2.F(x)=\begin{cases}0,&x<0\\ \tfrac14,&0\le x<1\\ \tfrac12,&1\le x<2\\ 1,&x\ge2.\end{cases}

✓ Checked by computer We evaluated the jump formula numerically in Python (T = 2000): the jumps at 0, 1, 2 come out 0.250, 0.250, 0.500, and the value at 1.5 is 0.0006 ≈ 0.

↑ Back to the question list

If φ(t) denotes the characteristic function (ch.f.) of a random variable with distribution function F(x), show that e[φ(t)−1] is a characteristic function. Hence find its corresponding distribution function.

2013 · Paper I · Q2a · 20 marks

Solution

Construction. Let Y1,Y2,…Y_1,Y_2,\dots be i.i.d. with d.f. FF (c.f. φ\varphi), and let N∼N\sim Poisson(1), independent of the YiY_i. Put S=Y1+Y2+⋯+YN(S=0 if N=0).S=Y_1+Y_2+\cdots+Y_N\qquad(S=0\text{ if }N=0).

Its c.f. Condition on NN: E(eitS)=∑n=0∞P(N=n)E(eit(Y1+⋯+Yn))=∑n=0∞e−1n!φ(t)n=e−1eφ(t)=eφ(t)−1.E\left(e^{itS}\right)=\sum_{n=0}^\infty P(N=n)\,E\left(e^{it(Y_1+\cdots+Y_n)}\right)=\sum_{n=0}^\infty\frac{e^{-1}}{n!}\varphi(t)^n=e^{-1}e^{\varphi(t)}=e^{\varphi(t)-1}. So eφ(t)−1e^{\varphi(t)-1} is the c.f. of the random variable SS, and hence a characteristic function. ◼\blacksquare

Its distribution function. Let F*nF^{*n} be the nn-fold convolution of FF (the d.f. of Y1+⋯+YnY_1+\cdots+Y_n), with F*0(x)=𝟏{x≥0}F^{*0}(x)=\mathbf 1\{x\ge0\}. Then G(x)=P(S≤x)=∑n=0∞e−1n!F*n(x).G(x)=P(S\le x)=\sum_{n=0}^\infty\frac{e^{-1}}{n!}F^{*n}(x). This is a compound Poisson distribution: a Poisson(1) mixture of the convolution powers of FF.

✓ Proof checked step by step Every step was checked. We also simulated a compound Poisson sum in Python, with F = Exp(1) and 200 000 draws: its empirical c.f. at t = 0.8 matches eφ(t)−1e^{\varphi(t)-1} to about 0.002.

↑ Back to the question list

For the Laplace distribution f(x)=12λe−|x−μ|λ,−∞<x<∞,λ>0,−∞<μ<∞ find the moment generating function.

2013 · Paper I · Q2b · 15 marks

Solution

Shift to the centre. Put Y=X−μY=X-\mu, with density 12λe−|y|/λ\dfrac1{2\lambda}e^{-|y|/\lambda}. Then MX(t)=eμtMY(t)M_X(t)=e^{\mu t}M_Y(t).

M.g.f. of YY. For |t|<1/λ|t|<1/\lambda, MY(t)=12λ[∫−∞0etyey/λdy+∫0∞etye−y/λdy]=12λ[11λ+t+11λ−t]=12[11+λt+11−λt]=11−λ2t2.M_Y(t)=\frac1{2\lambda}\left[\int_{-\infty}^0e^{ty}e^{y/\lambda}dy+\int_0^\infty e^{ty}e^{-y/\lambda}dy\right]=\frac1{2\lambda}\left[\frac1{\frac1\lambda+t}+\frac1{\frac1\lambda-t}\right]=\frac12\left[\frac1{1+\lambda t}+\frac1{1-\lambda t}\right]=\frac1{1-\lambda^2t^2}.

Answer. MX(t)=eμt1−λ2t2,|t|<1λ.M_X(t)=\frac{e^{\mu t}}{1-\lambda^2t^2},\qquad|t|<\frac1\lambda. (From it: E(X)=μE(X)=\mu and V(X)=2λ2V(X)=2\lambda^2.)

✓ Checked by computer We computed the m.g.f. integral symbolically in SymPy (for μ = 1, λ = ½, t = ⅓) and matched eμt/(1−λ2t2)e^{\mu t}/(1-\lambda^2t^2).

↑ Back to the question list

A random variable X has the probability density function f(x)={12e−|x|,−∞<x<∞0,otherwise Derive the expression for its characteristic function.

2011 · Paper I · Q2a · 20 marks

Solution

C.f. ff is even, so the imaginary part ∫f(x)sin(tx)dx\int f(x)\sin(tx)\,dx vanishes, and ϕ(t)=∫−∞∞eitx12e−|x|dx=∫0∞e−xcos(tx)dx.\phi(t)=\int_{-\infty}^\infty e^{itx}\tfrac12e^{-|x|}dx=\int_0^\infty e^{-x}\cos(tx)\,dx.

Evaluate. Use ∫0∞e−xeitxdx=11−it\displaystyle\int_0^\infty e^{-x}e^{itx}dx=\frac1{1-it} and take the real part: ϕ(t)=Re11−it=Re1+it1+t2=11+t2.\phi(t)=\text{Re}\,\frac1{1-it}=\text{Re}\,\frac{1+it}{1+t^2}=\frac1{1+t^2}. (Equivalently, 12[11−it+11+it]=11+t2\tfrac12\left[\tfrac1{1-it}+\tfrac1{1+it}\right]=\tfrac1{1+t^2}.)

Answer. ϕ(t)=11+t2\phi(t)=\dfrac1{1+t^2}, −∞<t<∞-\infty<t<\infty. (This is the standard Laplace distribution, with mean 0 and variance 2.)

✓ Checked by computer We evaluated the c.f. integral numerically in Python at t = 1.7: 0.25707, equal to 1/(1+1.72)1/(1+1.7^2).

↑ Back to the question list

State (without proof) the inversion theorem relating to the characteristic function of a continuous random variable. Use this theorem to obtain the probability density function of a random variable having the characteristic function ϕ(t)=e−|t|.

2011 · Paper I · Q2b · 20 marks

Solution

Inversion theorem (continuous case). If ϕ\phi is the c.f. of XX and ∫−∞∞|ϕ(t)|dt<∞\int_{-\infty}^\infty|\phi(t)|\,dt<\infty, then XX has a continuous density f(x)=12π∫−∞∞e−itxϕ(t)dt.f(x)=\frac1{2\pi}\int_{-\infty}^\infty e^{-itx}\phi(t)\,dt.

Apply it. ∫e−|t|dt=2<∞\int e^{-|t|}dt=2<\infty. Since ϕ\phi is even, f(x)=1π∫0∞e−tcos(tx)dt=1πRe∫0∞e−t(1−ix)dt=1πRe11−ix=1π⋅11+x2.f(x)=\frac1\pi\int_0^\infty e^{-t}\cos(tx)\,dt=\frac1\pi\,\text{Re}\int_0^\infty e^{-t(1-ix)}dt=\frac1\pi\,\text{Re}\frac1{1-ix}=\frac1\pi\cdot\frac1{1+x^2}.

Answer. f(x)=1π(1+x2),−∞<x<∞.f(x)=\frac1{\pi(1+x^2)},\qquad-\infty<x<\infty. This is the standard Cauchy distribution.

✓ Derivation checked step by step Every step was checked. We also evaluated the inversion integral numerically in Python at x = 0, 0.7 and 2: it matches 1/[π(1+x2)]1/[\pi(1+x^2)].

↑ Back to the question list

Define probability generating function (pgf) of a discrete random variable. Let X be a random variable with p.m.f. P{X=j}=pj,j=0,1,2,… Set P{X>j}=qj,j=0,1,2,… and define Q(s)=∑j=0∞qjsj. Show that Q(s)=[1−P(s)]/[1−s], |s|<1, where P(s) is the pgf of X.

2009 · Paper I · Q3a · 20 marks

Solution

Definition. For a random variable XX taking values in {0,1,2,…}\{0,1,2,\dots\} with P(X=j)=pjP(X=j)=p_j, the probability generating function is P(s)=E(sX)=∑j=0∞pjsj,|s|≤1.P(s)=E\left(s^X\right)=\sum_{j=0}^\infty p_js^j,\qquad|s|\le1.

Proof. Since 0≤qj≤10\le q_j\le1, Q(s)Q(s) converges for |s|<1|s|<1. Multiply by (1−s)(1-s): (1−s)Q(s)=∑j=0∞qjsj−∑j=0∞qjsj+1=q0+∑j=1∞(qj−qj−1)sj.(1-s)Q(s)=\sum_{j=0}^\infty q_js^j-\sum_{j=0}^\infty q_js^{j+1}=q_0+\sum_{j=1}^\infty(q_j-q_{j-1})s^j. Now q0=P(X>0)=1−p0q_0=P(X>0)=1-p_0, and qj−qj−1=P(X>j)−P(X>j−1)=−pjq_j-q_{j-1}=P(X>j)-P(X>j-1)=-p_j. So (1−s)Q(s)=1−p0−∑j=1∞pjsj=1−∑j=0∞pjsj=1−P(s).(1-s)Q(s)=1-p_0-\sum_{j=1}^\infty p_js^j=1-\sum_{j=0}^\infty p_js^j=1-P(s). Hence Q(s)=1−P(s)1−s,|s|<1.◼Q(s)=\frac{1-P(s)}{1-s},\qquad|s|<1.\qquad\blacksquare

Corollary. Letting s→1s\to1, Q(1)=∑jP(X>j)=P′(1)=E(X)Q(1)=\sum_jP(X>j)=P'(1)=E(X), the tail-sum formula for the mean.

✓ Proof checked step by step Every step was checked: the term-by-term subtraction is valid because both series converge absolutely for |s|<1|s|<1.

↑ Back to the question list

For the geometric distribution P(X=X)=pqk,k=0,1,2,3,…,0<p<1,q=1−p find the p.g.f. Hence find the mean and variance.

2007 · Paper I · Q2a · 20 marks

Solution

P.g.f. P(s)=E(sX)=∑k=0∞pqksk=p1−qs,|s|<1q.P(s)=E(s^X)=\sum_{k=0}^\infty pq^ks^k=\frac p{1-qs},\qquad|s|<\frac1q.

Derivatives at s=1s=1. P′(s)=pq(1−qs)2⇒P′(1)=pqp2=qp,P″(s)=2pq2(1−qs)3⇒P″(1)=2q2p2.P'(s)=\frac{pq}{(1-qs)^2}\Rightarrow P'(1)=\frac{pq}{p^2}=\frac qp,\qquad P''(s)=\frac{2pq^2}{(1-qs)^3}\Rightarrow P''(1)=\frac{2q^2}{p^2}.

Mean and variance. E(X)=P′(1)=qp,E(X)=P'(1)=\frac qp, V(X)=P″(1)+P′(1)−[P′(1)]2=2q2p2+qp−q2p2=q2+pqp2=qp2.V(X)=P''(1)+P'(1)-[P'(1)]^2=\frac{2q^2}{p^2}+\frac qp-\frac{q^2}{p^2}=\frac{q^2+pq}{p^2}=\frac q{p^2}.

✓ Checked by computer We differentiated the p.g.f. symbolically in SymPy (p = 2/7): mean 5/2 = q/p and variance 35/4 = q/p².

↑ Back to the question list

State Inversion theorem. Find the distribution to which the characteristic function ϕ(t)=e−|t| corresponds.

2006 · Paper I · Q1b · 12 marks

Solution

Inversion theorem. Let ϕ\phi be the c.f. of FF. For continuity points a<ba<b of FF, F(b)−F(a)=limT→∞12π∫−TTe−ita−e−itbitϕ(t)dt.F(b)-F(a)=\lim_{T\to\infty}\frac1{2\pi}\int_{-T}^T\frac{e^{-ita}-e^{-itb}}{it}\phi(t)\,dt. If ∫|ϕ(t)|dt<∞\int|\phi(t)|\,dt<\infty, FF has the continuous density f(x)=12π∫−∞∞e−itxϕ(t)dtf(x)=\dfrac1{2\pi}\displaystyle\int_{-\infty}^{\infty}e^{-itx}\phi(t)\,dt. In particular, ϕ\phi determines FF uniquely.

Apply it to e−|t|e^{-|t|}. It is integrable, and even, so f(x)=1π∫0∞e−tcos(tx)dt=1π⋅11+x2.f(x)=\frac1\pi\int_0^\infty e^{-t}\cos(tx)\,dt=\frac1\pi\cdot\frac1{1+x^2}. (Use ∫0∞e−tcos(tx)dt=Re11−ix=11+x2\int_0^\infty e^{-t}\cos(tx)\,dt=\text{Re}\frac1{1-ix}=\frac1{1+x^2}.)

Answer. e−|t|e^{-|t|} is the c.f. of the standard Cauchy distribution, f(x)=1π(1+x2)f(x)=\dfrac1{\pi(1+x^2)}, −∞<x<∞-\infty<x<\infty.

✓ Derivation checked step by step Every step was checked. We also evaluated the inversion integral numerically in Python: it matches the Cauchy density at x = 0, 0.7 and 2.

↑ 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

For any integer-valued random variable X, show that ∑n=0∞P(X≤n)sn=P(s)1−s where P(s) is the probability generating function of X.

2006 · Paper I · Q2a · 20 marks

Solution

Note on the question. The result needs XX to be non-negative integer-valued, so that its p.g.f. P(s)=∑k≥0pkskP(s)=\sum_{k\ge0}p_ks^k is defined, with pk=P(X=k)p_k=P(X=k). We prove it for |s|<1|s|<1.

Proof. ∑n=0∞P(X≤n)sn=∑n=0∞∑k=0npksn.\sum_{n=0}^\infty P(X\le n)s^n=\sum_{n=0}^\infty\sum_{k=0}^np_ks^n. Change the order of summation. For fixed kk, nn runs from kk to ∞\infty: =∑k=0∞pk∑n=k∞sn=∑k=0∞pksk1−s=P(s)1−s.◼=\sum_{k=0}^\infty p_k\sum_{n=k}^\infty s^n=\sum_{k=0}^\infty p_k\frac{s^k}{1-s}=\frac{P(s)}{1-s}.\qquad\blacksquare

(Compare the 2009 question above: ∑nP(X>n)sn=1−P(s)1−s\sum_nP(X>n)s^n=\dfrac{1-P(s)}{1-s}. Adding the two gives ∑nsn=11−s\sum_ns^n=\dfrac1{1-s}, as it should.)

✓ Proof checked step by step Every step was checked: the interchange of the two summations is valid because all terms are non-negative for 0≤s<10\le s<1, and the series converge absolutely for |s|<1|s|<1.

↑ Back to the question list

Find the characteristic function of Y=aX+b where X has the p.i.f. f(x)=λnΓ(n)e−λxxn−10<x<∞,λ>0

2005 · Paper I · Q1c · 12 marks

Solution

C.f. of XX (Gamma with shape nn and rate λ\lambda): ϕX(t)=∫0∞eitxλnΓ(n)e−λxxn−1dx=λn(λ−it)n=(1−itλ)−n.\phi_X(t)=\int_0^\infty e^{itx}\frac{\lambda^n}{\Gamma(n)}e^{-\lambda x}x^{n-1}dx=\frac{\lambda^n}{(\lambda-it)^n}=\left(1-\frac{it}\lambda\right)^{-n}. (This uses ∫0∞e−cxxn−1dx=Γ(n)/cn\int_0^\infty e^{-cx}x^{n-1}dx=\Gamma(n)/c^n, valid for complex cc with positive real part.)

C.f. of Y=aX+bY=aX+b. ϕY(t)=E(eit(aX+b))=eibtϕX(at)=eibt(1−iatλ)−n.\phi_Y(t)=E\left(e^{it(aX+b)}\right)=e^{ibt}\phi_X(at)=e^{ibt}\left(1-\frac{iat}\lambda\right)^{-n}.

✓ Checked by computer We checked by simulation in Python (a = 2, b = 1, λ = 1.5, n = 3, 10⁶ draws): the empirical c.f. of Y at t = 0.7 matches eitb(1−iat/λ)−ne^{itb}(1-iat/\lambda)^{-n} to 0.001.

↑ Back to the question list

The characteristic function of a random variable X is (q+peit)n. Find the distribution of X.

2004 · Paper I · Q2c · 20 marks

Solution

Recognise the c.f. If X∼B(n,p)X\sim B(n,p), then E(eitX)=∑x=0n(nx)(peit)xqn−x=(q+peit)n.E\left(e^{itX}\right)=\sum_{x=0}^n\binom nx\left(pe^{it}\right)^xq^{n-x}=\left(q+pe^{it}\right)^n. (Expand (q+peit)n(q+pe^{it})^n by the binomial theorem: the coefficient of eitxe^{itx} is (nx)pxqn−x\binom nxp^xq^{n-x}, so this is exactly the binomial pmf.)

Uniqueness. A characteristic function determines the distribution uniquely. So X∼B(n,p):P(X=x)=(nx)pxqn−x,x=0,1,…,n(q=1−p).X\sim B(n,p):\qquad P(X=x)=\binom nxp^xq^{n-x},\quad x=0,1,\dots,n\quad(q=1-p).

✓ Answer checked step by step We checked this against the standard binomial c.f. and the uniqueness theorem.

↑ Back to the question list

Define characteristic function ϕ(t). State its properties. Examine whether the following relations are characteristic function: (i) ϕ(t)=(35eit+1).e5(eit−1).e5it−t2 (ii) ϕ(t)=e4it+t2

2003 · Paper I · Q1b · 12 marks

Solution

Definition. The characteristic function of XX is ϕ(t)=E(eitX)=∫eitxdF(x)\phi(t)=E\left(e^{itX}\right)=\int e^{itx}dF(x), t∈ℝt\in\mathbb R. It exists for every distribution.

Properties.

  1. ϕ(0)=1\phi(0)=1, and |ϕ(t)|≤1|\phi(t)|\le1 for all tt.
  2. ϕ(−t)=ϕ(t)¯\phi(-t)=\overline{\phi(t)}.
  3. ϕ\phi is uniformly continuous on ℝ\mathbb R.
  4. ϕaX+b(t)=eibtϕX(at)\phi_{aX+b}(t)=e^{ibt}\phi_X(at).
  5. If X,YX,Y are independent, ϕX+Y=ϕXϕY\phi_{X+Y}=\phi_X\phi_Y.
  6. If E|X|n<∞E|X|^n<\infty, ϕ\phi is nn times differentiable and ϕ(k)(0)=ikE(Xk)\phi^{(k)}(0)=i^kE(X^k) for k≤nk\le n.
  7. Uniqueness and inversion: ϕ\phi determines FF.
  8. ϕ\phi is real if and only if XX is symmetric about 0.
  9. ϕ\phi is non-negative definite (Bochner).

(i) At t=0t=0: ϕ(0)=(35+1)⋅e0⋅e0=85≠1.\phi(0)=\left(\tfrac35+1\right)\cdot e^0\cdot e^0=\tfrac85\ne1. So, as printed, this is not a c.f.

(If the first factor were meant to be 25+35eit\tfrac25+\tfrac35e^{it}, the product would be a c.f. It would be the sum of three independent variables: a Bernoulli(35\tfrac35), a Poisson(5), and an N(5,2)N(5,2), whose c.f. is e5it−t2e^{5it-t^2}.)

(ii) |ϕ(t)|=|e4it|et2=et2>1|\phi(t)|=|e^{4it}|\,e^{t^2}=e^{t^2}>1 for t≠0t\ne0. This violates |ϕ(t)|≤1|\phi(t)|\le1, so it is not a c.f. (e4it−t2e^{4it-t^2} would be: it is the c.f. of N(4,2)N(4,2).)

✓ Proof checked step by step Every step was checked: each function fails a necessary property of every c.f. (ϕ(0)=1\phi(0)=1 in (i), and |ϕ(t)|≤1|\phi(t)|\le1 in (ii)).

↑ Back to the question list

Show that, for any characteristic function ϕ(t), Re(1−ϕ(t))≥1/4Re(1−ϕ(2t))

2002 · Paper I · Q1c · 12 marks

Solution

Write both sides as expectations. If ϕ\phi is the c.f. of XX, then Reϕ(t)=Ecos(tX)\text{Re}\,\phi(t)=E\cos(tX). So Re(1−ϕ(t))=E[1−cos(tX)],Re(1−ϕ(2t))=E[1−cos(2tX)].\text{Re}\,\big(1-\phi(t)\big)=E\big[1-\cos(tX)\big],\qquad\text{Re}\,\big(1-\phi(2t)\big)=E\big[1-\cos(2tX)\big].

A pointwise inequality. For any real θ\theta, 1−cos2θ=2sin2θ=2(1−cosθ)(1+cosθ)≤4(1−cosθ),1-\cos2\theta=2\sin^2\theta=2(1-\cos\theta)(1+\cos\theta)\le4(1-\cos\theta), since 1+cosθ≤21+\cos\theta\le2 and 1−cosθ≥01-\cos\theta\ge0.

Take expectations. With θ=tX\theta=tX: 14[1−cos(2tX)]≤1−cos(tX)⇒14Re(1−ϕ(2t))≤Re(1−ϕ(t)).◼\tfrac14\left[1-\cos(2tX)\right]\le1-\cos(tX)\quad\Rightarrow\quad\tfrac14\,\text{Re}\big(1-\phi(2t)\big)\le\text{Re}\big(1-\phi(t)\big).\qquad\blacksquare

(Repeating the step gives Re(1−ϕ(2nt))≤4nRe(1−ϕ(t))\text{Re}\big(1-\phi(2^nt)\big)\le4^n\,\text{Re}\big(1-\phi(t)\big). This is a useful tool in limit theorems.)

✓ Proof checked step by step Every step was checked. We also tested the inequality in Python on random discrete distributions at random t: it held every time.

↑ Back to the question list

Let X be a standard normal variate with p.d.f. f(x)=12πe−x2/2,−∞<x<∞ Find the characteristic function of X.

2002 · Paper I · Q2b · 20 marks

Solution

ϕ(t)=E(eitX)=12π∫−∞∞eitxe−x2/2dx.\phi(t)=E\left(e^{itX}\right)=\frac1{\sqrt{2\pi}}\int_{-\infty}^\infty e^{itx}e^{-x^2/2}dx.

Method 1: a differential equation. ff is even, so ϕ(t)=∫cos(tx)f(x)dx\phi(t)=\displaystyle\int\cos(tx)f(x)\,dx is real. Differentiate under the integral (allowed, since ∫|x|f(x)dx<∞\int|x|f(x)dx<\infty): ϕ′(t)=−∫xsin(tx)f(x)dx.\phi'(t)=-\int x\sin(tx)f(x)\,dx. Since xf(x)=−f′(x)xf(x)=-f'(x), integrating by parts gives ϕ′(t)=[sin(tx)f(x)]−∞∞−t∫cos(tx)f(x)dx=−tϕ(t).\phi'(t)=\Big[\sin(tx)f(x)\Big]_{-\infty}^{\infty}-t\int\cos(tx)f(x)\,dx=-t\,\phi(t). So ϕ′ϕ=−t\dfrac{\phi'}{\phi}=-t, and logϕ(t)=−t22+c\log\phi(t)=-\dfrac{t^2}2+c. Since ϕ(0)=1\phi(0)=1, c=0c=0.

Method 2: completing the square. itx−x22=−12(x−it)2−t22itx-\dfrac{x^2}2=-\dfrac12(x-it)^2-\dfrac{t^2}2, and ∫e−12(x−it)2dx=2π\displaystyle\int e^{-\frac12(x-it)^2}dx=\sqrt{2\pi}.

Answer. ϕ(t)=e−t2/2.\phi(t)=e^{-t^2/2}.

✓ Derivation checked step by step Every step was checked; the result agrees with the numerical inversion in the 2026 question above.

↑ Back to the question list

Match X with Y:

X Y
(i) Random experiment (a) Characteristic function
(ii) Sufficient (b) Non-parametric method
(iii) Inversion theorem (c) Probability theory
(iv) Kolmogorov test for goodness of fit (d) Estimate

Solution

X Y Reason
(i) Random experiment (c) Probability theory The basic notion on which probability theory is built
(ii) Sufficient (d) Estimate Sufficiency is a property of a statistic used for estimation
(iii) Inversion theorem (a) Characteristic function It recovers the distribution from its c.f.
(iv) Kolmogorov test for goodness of fit (b) Non-parametric method The K–S test is distribution-free

Answer: (i)–(c), (ii)–(d), (iii)–(a), (iv)–(b).

✓ Answer checked step by step Each match was checked against standard usage.

2001 · Paper I · Q1b · 12 marks

↑ Back to the question list

(i) Obtain the probability generating function of the Poisson distribution. (ii) Write the probability mass function of the negative binomial distribution. (iii) Define a Uniformly Most Powerful Test (UMPT). (iv) Write the expression for ASN function in sequential probability ratio test (SPRT).

2001 · Paper I · Q1d · 12 marks

Solution

(i) P.g.f. of the Poisson. P(s)=∑x=0∞e−λλxx!sx=e−λeλs=eλ(s−1).P(s)=\sum_{x=0}^\infty e^{-\lambda}\frac{\lambda^x}{x!}s^x=e^{-\lambda}e^{\lambda s}=e^{\lambda(s-1)}.

(ii) Negative binomial p.m.f. The number of failures XX before the rr-th success, with success probability pp: P(X=x)=(x+r−1r−1)prqx,x=0,1,2,…,q=1−p.P(X=x)=\binom{x+r-1}{r-1}p^rq^x,\qquad x=0,1,2,\dots,\quad q=1-p.

(iii) Uniformly most powerful test. To test H0:θ∈Θ0H_0:\theta\in\Theta_0 against H1:θ∈Θ1H_1:\theta\in\Theta_1 at level α\alpha, a test ϕ*\phi^* is UMP if

  1. supθ∈Θ0Eθϕ*≤α\sup_{\theta\in\Theta_0}E_\theta\phi^*\le\alpha, and
  2. for every other level-α\alpha test ϕ\phi, Eθϕ*≥EθϕE_\theta\phi^*\ge E_\theta\phi for all θ∈Θ1\theta\in\Theta_1.

That is, it has the highest power at every alternative at once.

(iv) ASN function of the SPRT. Let z=logf(x;θ1)f(x;θ0)z=\log\dfrac{f(x;\theta_1)}{f(x;\theta_0)}, the boundaries A≈1−βαA\approx\dfrac{1-\beta}\alpha and B≈β1−αB\approx\dfrac\beta{1-\alpha}, and L(θ)L(\theta) the OC function. Wald’s approximation is Eθ(N)≈L(θ)logB+(1−L(θ))logAEθ(z),Eθ(z)≠0.E_\theta(N)\approx\frac{L(\theta)\log B+\big(1-L(\theta)\big)\log A}{E_\theta(z)},\qquad E_\theta(z)\ne0.

✓ Answer checked step by step Each part was checked against the standard definitions and results.

↑ Back to the question list

Obtain the Moment Generating Function of the standard Normal distribution.

2001 · Paper I · Q4iv · 15 marks

Solution

M(t)=E(etX)=12π∫−∞∞etx−x2/2dx.M(t)=E\left(e^{tX}\right)=\frac1{\sqrt{2\pi}}\int_{-\infty}^\infty e^{tx-x^2/2}\,dx. Complete the square: tx−x22=−12(x−t)2+t22tx-\dfrac{x^2}2=-\dfrac12(x-t)^2+\dfrac{t^2}2. So M(t)=et2/2⋅12π∫−∞∞e−12(x−t)2dx=et2/2,M(t)=e^{t^2/2}\cdot\frac1{\sqrt{2\pi}}\int_{-\infty}^\infty e^{-\frac12(x-t)^2}dx=e^{t^2/2}, since the last integral is that of the N(t,1)N(t,1) density, which is 1.

Answer. M(t)=et2/2M(t)=e^{t^2/2} for all real tt.

(From the series et2/2=∑t2k2kk!e^{t^2/2}=\sum\dfrac{t^{2k}}{2^kk!}, the odd moments are 0 and E(X2k)=(2k)!2kk!E(X^{2k})=\dfrac{(2k)!}{2^kk!}; for example E(X2)=1E(X^2)=1 and E(X4)=3E(X^4)=3.)

✓ Derivation checked step by step Every step was checked: completing the square in the exponent.

↑ Back to the question list

Let P(S1,S2)=exp[−λ1−λ2−μ+λ1S+λ2S2+μS1S2],(λ1,λ2,μ)>0 be bivariate probability generating function (PGF) of (X, Y). Find the marginal PGF of X and Y. Find also the PGF of X + Y. Examine whether X and Y are independent.

2000 · Paper I · Q1a · 12 marks

Solution

Note on the question. “λ1S\lambda_1S” in the exponent should read λ1S1\lambda_1S_1.

Marginal p.g.f.s. Put S2=1S_2=1 to get the p.g.f. of XX: PX(S1)=P(S1,1)=exp[−λ1−μ+(λ1+μ)S1]=e(λ1+μ)(S1−1).P_X(S_1)=P(S_1,1)=\exp\big[-\lambda_1-\mu+(\lambda_1+\mu)S_1\big]=e^{(\lambda_1+\mu)(S_1-1)}. So X∼X\sim Poisson(λ1+μ\lambda_1+\mu). Similarly, PY(S2)=e(λ2+μ)(S2−1)P_Y(S_2)=e^{(\lambda_2+\mu)(S_2-1)} and Y∼Y\sim Poisson(λ2+μ\lambda_2+\mu).

P.g.f. of X+YX+Y. Put S1=S2=sS_1=S_2=s: PX+Y(s)=exp[−λ1−λ2−μ+(λ1+λ2)s+μs2].P_{X+Y}(s)=\exp\big[-\lambda_1-\lambda_2-\mu+(\lambda_1+\lambda_2)s+\mu s^2\big]. This is not a Poisson p.g.f., because of the s2s^2 term. X+Y=dU+V+2WX+Y\overset d=U+V+2W with U,V,WU,V,W independent Poisson(λ1\lambda_1), Poisson(λ2\lambda_2), Poisson(μ\mu).

Independence. PX(S1)PY(S2)=exp[−λ1−λ2−2μ+(λ1+μ)S1+(λ2+μ)S2].P_X(S_1)P_Y(S_2)=\exp\big[-\lambda_1-\lambda_2-2\mu+(\lambda_1+\mu)S_1+(\lambda_2+\mu)S_2\big]. This differs from P(S1,S2)P(S_1,S_2) whenever μ>0\mu>0: the ratio is eμ(1−S1)(1−S2)≠1e^{\mu(1-S_1)(1-S_2)}\ne1. So XX and YY are not independent. Indeed X=U+WX=U+W and Y=V+WY=V+W share the common part WW, and Cov(X,Y)=∂2P∂S1∂S2|(1,1)−E(X)E(Y)=μ>0.\text{Cov}(X,Y)=\frac{\partial^2P}{\partial S_1\partial S_2}\Big|_{(1,1)}-E(X)E(Y)=\mu>0.

✓ Checked by computer We checked by simulation in Python (λ₁ = 1, λ₂ = 2, μ = 0.5, 10⁶ draws), using X = U + W, Y = V + W: means 1.501 and 2.498, covariance 0.499.

↑ Back to the question list

Apply a suitable inversion theorem to obtain the probability density function of the random variable whose characteristic function is given by ϕ(t)=1−|t|≤1

2000 · Paper I · Q1b · 12 marks

Solution

Note on the question. The c.f. is printed garbled. It is meant to be ϕ(t)={1−|t|,|t|≤10,|t|>1,\phi(t)=\begin{cases}1-|t|,&|t|\le1\\0,&|t|>1,\end{cases} as in the 2020 and 2022 questions.

Inversion theorem. If ∫|ϕ(t)|dt<∞\int|\phi(t)|\,dt<\infty, then XX has the continuous density f(x)=12π∫e−itxϕ(t)dtf(x)=\dfrac1{2\pi}\displaystyle\int e^{-itx}\phi(t)\,dt. Here ∫|ϕ|=1\int|\phi|=1.

Evaluate. ϕ\phi is even, so f(x)=1π∫01(1−t)cos(tx)dt.f(x)=\frac1\pi\int_0^1(1-t)\cos(tx)\,dt. Integrating by parts gives ∫01(1−t)cos(tx)dt=1−cosxx2\displaystyle\int_0^1(1-t)\cos(tx)\,dt=\frac{1-\cos x}{x^2}.

Answer. f(x)=1−cosxπx2=2sin2(x/2)πx2,−∞<x<∞(f(0)=12π).f(x)=\frac{1-\cos x}{\pi x^2}=\frac{2\sin^2(x/2)}{\pi x^2},\qquad-\infty<x<\infty\quad\left(f(0)=\tfrac1{2\pi}\right).

✓ Derivation checked step by step Every step was checked; the result is the same density as in the 2020 and 2022 questions above, which we verified numerically there.

↑ Back to the question list

State a necessary and sufficient condition for a function ϕ(t) on a real line to be the characteristic function of a random variable. Prove that it is necessary.

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

Solution

Statement (Bochner’s theorem). A function ϕ:ℝ→ℂ\phi:\mathbb R\to\mathbb C is the characteristic function of a random variable if and only if:

  1. ϕ(0)=1\phi(0)=1;
  2. ϕ\phi is continuous (at 0, and hence everywhere);
  3. ϕ\phi is non-negative definite: for every nn, all real t1,…,tnt_1,\dots,t_n and all complex z1,…,znz_1,\dots,z_n, ∑j=1n∑k=1nϕ(tj−tk)zjz‾k≥0.\sum_{j=1}^n\sum_{k=1}^n\phi(t_j-t_k)\,z_j\bar z_k\ge0.

Proof of necessity. Let ϕ(t)=E(eitX)\phi(t)=E\left(e^{itX}\right).

(1) ϕ(0)=E(1)=1\phi(0)=E(1)=1.

(2) Continuity. |ϕ(t+h)−ϕ(t)|=|E[eitX(eihX−1)]|≤E|eihX−1|.|\phi(t+h)-\phi(t)|=\left|E\left[e^{itX}\left(e^{ihX}-1\right)\right]\right|\le E\left|e^{ihX}-1\right|. As h→0h\to0, |eihX−1|→0|e^{ihX}-1|\to0 pointwise and is bounded by 2. By dominated convergence, E|eihX−1|→0E|e^{ihX}-1|\to0. The bound does not involve tt, so ϕ\phi is even uniformly continuous.

(3) Non-negative definiteness. ∑j,kϕ(tj−tk)zjz‾k=E[∑j,kzjeitjXzkeitkX¯]=E|∑jzjeitjX|2≥0.◼\sum_{j,k}\phi(t_j-t_k)z_j\bar z_k=E\left[\sum_{j,k}z_je^{it_jX}\,\overline{z_ke^{it_kX}}\right]=E\left|\sum_jz_je^{it_jX}\right|^2\ge0.\qquad\blacksquare

(Sufficiency is the harder half of Bochner’s theorem. It is not asked here.)

✓ Proof checked step by step Every step of the necessity proof was checked: non-negative definiteness, continuity by dominated convergence, and ϕ(0)=1\phi(0)=1.

↑ Back to the question list

Show that a distribution is symmetric about the origin iff its characteristic function is real-valued and even.

1999 · Paper I · Q3c · 20 marks

Solution

Definitions. XX is symmetric about the origin if X=d−XX\overset d=-X, that is, F(x)=1−F(−x−)F(x)=1-F(-x-) for all xx. Its c.f. is ϕ(t)=E(eitX)\phi(t)=E\left(e^{itX}\right), and ϕ−X(t)=E(e−itX)=ϕ(−t)=ϕ(t)¯\phi_{-X}(t)=E\left(e^{-itX}\right)=\phi(-t)=\overline{\phi(t)}.

Only if. If X=d−XX\overset d=-X, then ϕ(t)=ϕ−X(t)=ϕ(t)¯\phi(t)=\phi_{-X}(t)=\overline{\phi(t)}, so ϕ\phi is real. And ϕ(−t)=ϕ(t)¯=ϕ(t)\phi(-t)=\overline{\phi(t)}=\phi(t), so ϕ\phi is even. Explicitly, ϕ(t)=Ecos(tX)+iEsin(tX),Esin(tX)=0\phi(t)=E\cos(tX)+i\,E\sin(tX),\qquad E\sin(tX)=0 because sin\sin is odd and XX is symmetric.

If. Suppose ϕ\phi is real (and so even, since ϕ(−t)=ϕ(t)¯=ϕ(t)\phi(-t)=\overline{\phi(t)}=\phi(t)). Then ϕ−X(t)=ϕ(−t)=ϕ(t)=ϕX(t)for all t.\phi_{-X}(t)=\phi(-t)=\phi(t)=\phi_X(t)\quad\text{for all }t. By the uniqueness theorem, −X-X and XX have the same distribution, so XX is symmetric about 0. ◼\blacksquare

(For a c.f., “real” already implies “even”, since ϕ(−t)=ϕ(t)¯\phi(-t)=\overline{\phi(t)}. Examples: N(0,1)N(0,1) has e−t2/2e^{-t^2/2} and U(−1,1)U(-1,1) has sintt\frac{\sin t}t, both real and even, while Exp(1) has 11−it\frac1{1-it}, which is not real.)

✓ Proof checked step by step Every step was checked: the “if” direction uses the uniqueness theorem for characteristic functions.

↑ Back to the question list

Discuss discrete and continuous random variable with examples. Indicate the distributions for the flowing moment generating functions M1(t)=(1+et)532,M2(t)=e14(et−1),M3(t)=e2t+12t2

1998 · Paper I · Q2c(i) · 20 marks

Solution

Discrete and continuous random variables.

  • A random variable is discrete if it takes a finite or countable set of values x1,x2,…x_1,x_2,\dots with probabilities pi>0p_i>0, ∑pi=1\sum p_i=1. Its d.f. is a step function. Examples: the number of heads in 5 tosses (binomial), the number of calls at an exchange in a minute (Poisson).
  • It is continuous if its d.f. is F(x)=∫−∞xf(u)duF(x)=\int_{-\infty}^xf(u)\,du for a density f≥0f\ge0, so P(X=x)=0P(X=x)=0 for every single point. Examples: the height of a student (normal), the lifetime of a bulb (exponential).

Identify the m.g.f.s (each m.g.f. determines its distribution uniquely).

  • M1(t)=(12+12et)5M_1(t)=\left(\dfrac12+\dfrac12e^t\right)^5 is the binomial m.g.f. (q+pet)n(q+pe^t)^n with n=5n=5, p=12p=\tfrac12. So X∼B(5,12)X\sim B(5,\tfrac12).
  • M2(t)=e14(et−1)M_2(t)=e^{\frac14(e^t-1)} is the Poisson m.g.f. eλ(et−1)e^{\lambda(e^t-1)} with λ=14\lambda=\tfrac14. So X∼P(14)X\sim P(\tfrac14).
  • M3(t)=e2t+12t2M_3(t)=e^{2t+\frac12t^2} is the normal m.g.f. eμt+σ2t2/2e^{\mu t+\sigma^2t^2/2} with μ=2\mu=2, σ2=1\sigma^2=1. So X∼N(2,1)X\sim N(2,1).

✓ Answer checked step by step Each m.g.f. was matched against the standard binomial, Poisson and normal m.g.f.s.

↑ Back to the question list

Let X be an integer-valued random variable with probability generating function (pgf) P(s). If Y=aX+b, where a and b are non-negative integers, then find the pgf of Y. Hence obtain E(Y) and V(Y).

1997 · Paper I · Q2c · 20 marks

Solution

P.g.f. of YY. (XX takes non-negative integer values, and a,ba,b are non-negative integers, so YY does too.) PY(s)=E(saX+b)=sbE[(sa)X]=sbP(sa).P_Y(s)=E\left(s^{aX+b}\right)=s^b\,E\left[(s^a)^X\right]=s^bP(s^a).

Mean. PY′(s)=bsb−1P(sa)+asa+b−1P′(sa)P_Y'(s)=bs^{b-1}P(s^a)+as^{a+b-1}P'(s^a). At s=1s=1, with P(1)=1P(1)=1: E(Y)=PY′(1)=b+aP′(1)=aE(X)+b.E(Y)=P_Y'(1)=b+aP'(1)=aE(X)+b.

Variance. Differentiate again and put s=1s=1: PY″(1)=b(b−1)+2abP′(1)+a(a−1)P′(1)+a2P″(1).P_Y''(1)=b(b-1)+2abP'(1)+a(a-1)P'(1)+a^2P''(1). Then V(Y)=PY″(1)+PY′(1)−[PY′(1)]2V(Y)=P_Y''(1)+P_Y'(1)-[P_Y'(1)]^2. Writing m=P′(1)m=P'(1), the terms in bb cancel, leaving V(Y)=a2[P″(1)+m−m2]=a2V(X).V(Y)=a^2\left[P''(1)+m-m^2\right]=a^2V(X).

✓ Derivation checked step by step Every step was checked against the p.g.f. derivative formulas; the results agree with E(aX+b)=aE(X)+bE(aX+b)=aE(X)+b and V(aX+b)=a2V(X)V(aX+b)=a^2V(X).

↑ Back to the question list

Define the probability generating function of a random variable. Find the pgf of a geometric distribution and hence find its mean and variance.

1996 · Paper I · Q4a · 20 marks

Solution

Definition. For a random variable XX on {0,1,2,…}\{0,1,2,\dots\}, the probability generating function is P(s)=E(sX)=∑k=0∞P(X=k)sk,|s|≤1.P(s)=E\left(s^X\right)=\sum_{k=0}^\infty P(X=k)\,s^k,\qquad|s|\le1. It determines the distribution, since P(X=k)=P(k)(0)/k!P(X=k)=P^{(k)}(0)/k!. Also E(X)=P′(1)E(X)=P'(1) and V(X)=P″(1)+P′(1)−[P′(1)]2V(X)=P''(1)+P'(1)-[P'(1)]^2.

Geometric distribution. P(X=k)=pqkP(X=k)=pq^k, k=0,1,2,…k=0,1,2,\dots (the number of failures before the first success). P(s)=∑k=0∞pqksk=p1−qs,|s|<1q.P(s)=\sum_{k=0}^\infty pq^ks^k=\frac p{1-qs},\qquad|s|<\frac1q.

Mean and variance. P′(s)=pq(1−qs)2,P″(s)=2pq2(1−qs)3.P'(s)=\frac{pq}{(1-qs)^2},\qquad P''(s)=\frac{2pq^2}{(1-qs)^3}. E(X)=P′(1)=qp,V(X)=2q2p2+qp−q2p2=qp2.E(X)=P'(1)=\frac qp,\qquad V(X)=\frac{2q^2}{p^2}+\frac qp-\frac{q^2}{p^2}=\frac q{p^2}. (For the form P(X=k)=pqk−1P(X=k)=pq^{k-1}, k=1,2,…k=1,2,\dots, the number of trials, we get P(s)=ps1−qsP(s)=\dfrac{ps}{1-qs}, mean 1p\dfrac1p and the same variance qp2\dfrac q{p^2}.)

✓ Checked by computer We differentiated the p.g.f. symbolically in SymPy and confirmed mean q/pq/p and variance q/p2q/p^2.

↑ Back to the question list

State the properties of a characteristic function and show that it is uniformly continuous.

1996 · Paper I · Q4b · 15 marks

Solution

Properties of a characteristic function ϕ(t)=E(eitX)\phi(t)=E\left(e^{itX}\right):

  1. ϕ(0)=1\phi(0)=1 and |ϕ(t)|≤E|eitX|=1|\phi(t)|\le E|e^{itX}|=1.
  2. ϕ(−t)=ϕ(t)¯\phi(-t)=\overline{\phi(t)}.
  3. ϕ\phi is uniformly continuous (proved below).
  4. ϕaX+b(t)=eibtϕ(at)\phi_{aX+b}(t)=e^{ibt}\phi(at).
  5. If X,YX,Y are independent, ϕX+Y(t)=ϕX(t)ϕY(t)\phi_{X+Y}(t)=\phi_X(t)\phi_Y(t).
  6. If E|X|n<∞E|X|^n<\infty, then ϕ(k)(0)=ikE(Xk)\phi^{(k)}(0)=i^kE(X^k) for k≤nk\le n.
  7. ϕ\phi is real if and only if XX is symmetric about 0.
  8. Uniqueness and inversion: ϕ\phi determines the distribution.
  9. ϕ\phi is non-negative definite.

Uniform continuity. For any tt and hh, |ϕ(t+h)−ϕ(t)|=|E[eitX(eihX−1)]|≤E|eihX−1|=:δ(h).|\phi(t+h)-\phi(t)|=\left|E\left[e^{itX}\left(e^{ihX}-1\right)\right]\right|\le E\left|e^{ihX}-1\right|=:\delta(h). The bound δ(h)\delta(h) does not depend on tt. As h→0h\to0, |eihX−1|→0|e^{ihX}-1|\to0 for every outcome, and |eihX−1|≤2|e^{ihX}-1|\le2. By the dominated convergence theorem, δ(h)→0\delta(h)\to0.

So for every ε>0\varepsilon>0 there is an h0h_0 such that |ϕ(t+h)−ϕ(t)|<ε|\phi(t+h)-\phi(t)|<\varepsilon for all |h|<h0|h|<h_0 and all tt. Hence ϕ\phi is uniformly continuous on ℝ\mathbb R. ◼\blacksquare

✓ Proof checked step by step Every step of the uniform continuity proof was checked; the bound does not depend on t, by dominated convergence.

↑ Back to the question list

Define the characteristic function of a random variable. Determine the characteristic function of a Poisson variable. Are the following functions characteristic functions? (i) exp[−t4] (ii) exp[itc] (iii) ϕ(t)=1 for all t.

1995 · Paper I · Q4a · 20 marks

Solution

Definition. The characteristic function of a random variable XX with d.f. FF is ϕ(t)=E(eitX)=∫−∞∞eitxdF(x),t∈ℝ.\phi(t)=E\left(e^{itX}\right)=\int_{-\infty}^\infty e^{itx}\,dF(x),\qquad t\in\mathbb R. It always exists, since |eitx|=1|e^{itx}|=1.

Poisson(λ\lambda). ϕ(t)=∑x=0∞eitxe−λλxx!=e−λ∑x=0∞(λeit)xx!=eλ(eit−1).\phi(t)=\sum_{x=0}^\infty e^{itx}e^{-\lambda}\frac{\lambda^x}{x!}=e^{-\lambda}\sum_{x=0}^\infty\frac{(\lambda e^{it})^x}{x!}=e^{\lambda(e^{it}-1)}.

(i) exp(−t4)\exp(-t^4): not a c.f. Its expansion near 0 is 1−t4+⋯1-t^4+\cdots, so ϕ″(0)=0\phi''(0)=0. A c.f. that is twice differentiable at 0 has E(X2)=−ϕ″(0)E(X^2)=-\phi''(0). So E(X2)=0E(X^2)=0, which makes X≡0X\equiv0 with c.f. ≡1\equiv1. This contradicts e−t4≠1e^{-t^4}\ne1.

(ii) exp(itc)\exp(itc): a c.f. It is the c.f. of the degenerate variable X≡cX\equiv c, since E(eitc)=eitcE(e^{itc})=e^{itc}.

(iii) ϕ(t)=1\phi(t)=1: a c.f. It is the case c=0c=0 of (ii): the c.f. of X≡0X\equiv0.

✓ Proof checked step by step Every step was checked against the necessary properties of characteristic functions.

↑ Back to the question list

State the condition when the moment sequence of a random variable defines a unique distribution. A random variable X has moments about origin given by μn′=cc+n,n=1,2,…, where c>0. Show that the pdf is given by f(x)=cxc−1,0<x<1.

1995 · Paper I · Q4b · 20 marks

Solution

When moments determine the distribution. A moment sequence μn′\mu_n' determines the distribution uniquely if any of these holds:

  • the m.g.f. ∑nμn′tn/n!\sum_n\mu_n't^n/n! converges in a neighbourhood of 0;
  • (Carleman) ∑n(μ2n′)−1/(2n)=∞\sum_n\left(\mu_{2n}'\right)^{-1/(2n)}=\infty;
  • the distribution has bounded support (Hausdorff moment problem).

Here. 0<μn′=cc+n<10<\mu_n'=\dfrac c{c+n}<1 for all nn. So ∑nμn′tn/n!\sum_n\mu_n't^n/n! converges for every tt (it is bounded by e|t|e^{|t|}, since |μn′|≤1|\mu_n'|\le1). The m.g.f. exists, so the moments determine the distribution uniquely.

The given density has these moments. For f(x)=cxc−1f(x)=cx^{c-1}, 0<x<10<x<1 (it integrates to 1): ∫01xn⋅cxc−1dx=c[xc+nc+n]01=cc+n=μn′.\int_0^1x^n\cdot cx^{c-1}\,dx=c\left[\frac{x^{c+n}}{c+n}\right]_0^1=\frac c{c+n}=\mu_n'.

Conclusion. The density f(x)=cxc−1f(x)=cx^{c-1} on (0,1)(0,1) has exactly the moments μn′\mu_n', and only one distribution has them. So XX has p.d.f. f(x)=cxc−1f(x)=cx^{c-1}, 0<x<10<x<1. ◼\blacksquare (This is a Beta(cc, 1) distribution.)

✓ Proof checked step by step Every step was checked. We also integrated xn⋅cxc−1x^n\cdot cx^{c-1} numerically in Python for c = 2.5 and n = 1, 2, 3: the results match c/(c+n)c/(c+n).

↑ 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