Menu Close

Bayes and minimax estimation: UPSC Statistics Optional PYQ Solutions (2002–2026)

All 10 questions UPSC has asked on Bayes and minimax estimation in the Statistics Optional (Paper I, Statistical Inference) from 2002 to 2026, solved step by step – latest first.

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

How we check these solutions

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

  • ✓ Checked by computer the numbers were worked out again independently in code (Python with NumPy/SciPy) and matched.
  • ✓ 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 · 4b 2023 · 1e 2016 · 3c 2015 · 1e 2014 · 3b 2013 · 3c 2012 · 1d 2010 · 4c 2005 · 1e 2002 · 3a

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 sample of size n is drawn from N(θ,σ2). Let the prior distribution of θ be N(μ,τ2), where σ2, μ and τ2 are known. Obtain the Bayes estimator for θ under (i) squared error loss function and (ii) absolute error loss function.

2026 · Paper I · Q4b · 15 marks

Solution

Posterior distribution. The likelihood depends on the data through x‾\bar x, and π(θ∣x)∝exp{−n(x‾−θ)22σ2}exp{−(θ−μ)22τ2}.\pi(\theta\mid x)\propto\exp\Big\{-\frac{n(\bar x-\theta)^2}{2\sigma^2}\Big\}\exp\Big\{-\frac{(\theta-\mu)^2}{2\tau^2}\Big\}. Collect the terms in θ\theta: −12[(nσ2+1τ2)θ2−2(nx‾σ2+μτ2)θ]+const.-\frac12\Big[\Big(\frac n{\sigma^2}+\frac1{\tau^2}\Big)\theta^2-2\Big(\frac{n\bar x}{\sigma^2}+\frac\mu{\tau^2}\Big)\theta\Big]+\text{const}. Completing the square, the posterior is normal: θ∣x∼N(μ1,τ12),1τ12=nσ2+1τ2,μ1=nx‾σ2+μτ2nσ2+1τ2=nτ2x‾+σ2μnτ2+σ2.\theta\mid x\ \sim\ N(\mu_1,\tau_1^2),\qquad\frac1{\tau_1^2}=\frac n{\sigma^2}+\frac1{\tau^2},\qquad\mu_1=\frac{\dfrac{n\bar x}{\sigma^2}+\dfrac\mu{\tau^2}}{\dfrac n{\sigma^2}+\dfrac1{\tau^2}}=\frac{n\tau^2\bar x+\sigma^2\mu}{n\tau^2+\sigma^2}.

(i) Squared error loss. The Bayes estimator is the posterior mean: θ̂B=nτ2nτ2+σ2X‾+σ2nτ2+σ2μ.\hat\theta_B=\frac{n\tau^2}{n\tau^2+\sigma^2}\,\bar X+\frac{\sigma^2}{n\tau^2+\sigma^2}\,\mu . This is a weighted average of the sample mean and the prior mean. The weights are the precisions n/σ2n/\sigma^2 and 1/τ21/\tau^2.

(ii) Absolute error loss. The Bayes estimator is the posterior median. A normal distribution is symmetric, so its median equals its mean: θ̂B=nτ2X‾+σ2μnτ2+σ2(the same estimator).\hat\theta_B=\frac{n\tau^2\bar X+\sigma^2\mu}{n\tau^2+\sigma^2}\quad\text{(the same estimator).}

As n→∞n\to\infty, or τ2→∞\tau^2\to\infty (a vague prior), θ̂B→X‾\hat\theta_B\to\bar X.

✓ Checked by computer We checked with SymPy that the posterior is normal with the stated mean and variance, and numerically that the posterior mean minimises the expected squared error and the posterior median minimises the expected absolute error.

↑ Back to the question list

Differentiate between prior and posterior distributions. In case of squared error loss function, find out the Bayes estimator for unknown parameter.

2023 · Paper I · Q1e · 10 marks

Solution

Prior distribution. Before the data are seen, our knowledge of the parameter θ\theta is described by a probability distribution π(θ)\pi(\theta). It may come from past experience or expert judgment, or it may be chosen to be vague.

Posterior distribution. After observing data xx, we update the prior with Bayes’ theorem: π(θ∣x)=f(x∣θ)π(θ)∫f(x∣θ)π(θ)dθ∝likelihood×prior.\pi(\theta\mid x)=\frac{f(x\mid\theta)\,\pi(\theta)}{\int f(x\mid\theta)\,\pi(\theta)\,d\theta}\ \propto\ \text{likelihood}\times\text{prior}.

Prior π(θ)\pi(\theta) Posterior π(θ∣x)\pi(\theta\mid x)
When before the data after the data
Based on belief and past information belief and the current sample
Role input to the analysis basis of all inference (estimates, intervals, tests)

Bayes estimator under squared error loss. With L(θ,a)=(θ−a)2L(\theta,a)=(\theta-a)^2, the Bayes estimator minimises the posterior expected loss ψ(a)=E{(θ−a)2∣x}=∫(θ−a)2π(θ∣x)dθ.\psi(a)=E\{(\theta-a)^2\mid x\}=\int(\theta-a)^2\,\pi(\theta\mid x)\,d\theta . Write m=E(θ∣x)m=E(\theta\mid x). Then ψ(a)=E{(θ−m)2∣x}+(m−a)2,\psi(a)=E\{(\theta-m)^2\mid x\}+(m-a)^2, because the cross term 2(m−a)E(θ−m∣x)2(m-a)E(\theta-m\mid x) is zero. The first term does not depend on aa, so ψ(a)\psi(a) is smallest when a=ma=m: θ̂B(x)=E(θ∣x)=∫θf(x∣θ)π(θ)dθ∫f(x∣θ)π(θ)dθ.\hat\theta_B(x)=E(\theta\mid x)=\frac{\int\theta f(x\mid\theta)\pi(\theta)d\theta}{\int f(x\mid\theta)\pi(\theta)d\theta}.

So under squared error loss, the Bayes estimator is the posterior mean. The minimum posterior expected loss is the posterior variance. Because the estimator minimises the posterior risk for every xx, it also minimises the Bayes risk ∫R(θ,δ)π(θ)dθ\int R(\theta,\delta)\pi(\theta)d\theta.

✓ Derivation checked step by step Every step was checked: Bayes’ theorem for the posterior, and the minimisation of the posterior expected loss.

↑ Back to the question list

The life of an electric bulb, X (in hours), follows the exponential distribution with mean life 1θ, where θ(>0) is an unknown parameter. The prior distribution of θ has a gamma distribution (α,λ) with mean 0.8 and standard deviation 2. The average life of a random sample of size 5 bulbs is 3.8 hours. Calculate the Bayes’ estimate of θ using the squared error loss function.

2016 · Paper I · Q3c · 15 marks

Solution

Prior parameters. Take the gamma prior with shape α\alpha and rate λ\lambda: π(θ)=λαΓ(α)θα−1e−λθ,E(θ)=αλ,V(θ)=αλ2.\pi(\theta)=\frac{\lambda^\alpha}{\Gamma(\alpha)}\theta^{\alpha-1}e^{-\lambda\theta},\qquad E(\theta)=\frac\alpha\lambda,\qquad V(\theta)=\frac\alpha{\lambda^2}. From α/λ=0.8\alpha/\lambda=0.8 and α/λ2=22=4\alpha/\lambda^2=2^2=4: λ=0.84=0.2,α=0.8×0.2=0.16.\lambda=\frac{0.8}4=0.2,\qquad\alpha=0.8\times0.2=0.16 .

Likelihood. n=5n=5 and ∑xi=5×3.8=19\sum x_i=5\times3.8=19: L(θ)=θ5e−19θ.L(\theta)=\theta^5e^{-19\theta}.

Posterior. The gamma prior is conjugate for the exponential: π(θ∣x)∝θ0.16−1e−0.2θ⋅θ5e−19θ=θ5.16−1e−19.2θ,\pi(\theta\mid x)\propto\theta^{0.16-1}e^{-0.2\theta}\cdot\theta^5e^{-19\theta}=\theta^{5.16-1}e^{-19.2\theta}, a gamma distribution with shape α+n=5.16\alpha+n=5.16 and rate λ+∑xi=19.2\lambda+\sum x_i=19.2.

Bayes estimate (squared error loss) = the posterior mean: θ̂B=α+nλ+∑xi=5.1619.2=0.269.\hat\theta_B=\frac{\alpha+n}{\lambda+\sum x_i}=\frac{5.16}{19.2}=0.269 .

00.20.40.60.811.201234θ (failures per hour)densityposterior mean 0.269priorposterior
The prior (shape 0.16, rate 0.2) is very diffuse. After five bulbs with total life 19 hours, the posterior (shape 5.16, rate 19.2) is concentrated around 0.27. The data dominate the prior.

So the estimated mean life is 1/0.269≈3.71/0.269\approx3.7 hours, close to the sample mean of 3.8, because the prior is very spread out. (The MLE of θ\theta would be 1/3.8=0.2631/3.8=0.263.)

✓ Checked by computer We checked in Python: the prior shape 0.16 and rate 0.2 give mean 0.8 and SD 2, and the posterior mean is 5.16/19.2 = 0.2688.

↑ Back to the question list

Consider n observations X1,X2,…,Xn from B(1,θ). Obtain the Bayes estimator for θ under quadratic loss function when a conjugate prior is assumed for θ.

2015 · Paper I · Q1e · 10 marks

Solution

Conjugate prior. The Bernoulli likelihood is L(θ)=θt(1−θ)n−t,t=∑i=1nxi.L(\theta)=\theta^{t}(1-\theta)^{n-t},\qquad t=\sum_{i=1}^nx_i . It has the form θ⋅(1−θ)⋅\theta^{\cdot}(1-\theta)^{\cdot}, so the conjugate prior is the beta distribution: π(θ)=θa−1(1−θ)b−1B(a,b),0<θ<1,a,b>0.\pi(\theta)=\frac{\theta^{a-1}(1-\theta)^{b-1}}{B(a,b)},\qquad0<\theta<1,\ a,b>0 .

Posterior. π(θ∣x)∝θt+a−1(1−θ)n−t+b−1,\pi(\theta\mid x)\propto\theta^{t+a-1}(1-\theta)^{n-t+b-1}, which is Beta(t+a,n−t+b)(t+a,\ n-t+b).

Bayes estimator under quadratic loss = the posterior mean. The mean of Beta(p,q)(p,q) is p/(p+q)p/(p+q), so θ̂B=∑Xi+an+a+b.\hat\theta_B=\frac{\sum X_i+a}{n+a+b}.

This can be written as a weighted average of the sample proportion and the prior mean: θ̂B=nn+a+bX‾+a+bn+a+b⋅aa+b.\hat\theta_B=\frac n{n+a+b}\,\bar X+\frac{a+b}{n+a+b}\cdot\frac a{a+b}. With the uniform prior (a=b=1a=b=1), it is (∑Xi+1)/(n+2)(\sum X_i+1)/(n+2).

✓ Derivation checked step by step Every step was checked: the beta prior is conjugate, and the posterior mean follows from the beta mean.

↑ Back to the question list

Let X∼N(μ,1) and the prior distribution of μ is N(0,1). Assuming squared error loss function, obtain the Bayes estimator for μ. Also obtain Bayes risk.

2014 · Paper I · Q3b · 15 marks

Solution

Posterior. With one observation xx: π(μ∣x)∝e−(x−μ)2/2e−μ2/2=exp{−12(2μ2−2xμ)+…}∝exp{−(μ−x2)2}.\pi(\mu\mid x)\propto e^{-(x-\mu)^2/2}\,e^{-\mu^2/2}=\exp\Big\{-\frac12\big(2\mu^2-2x\mu\big)+\dots\Big\}\propto\exp\Big\{-\Big(\mu-\frac x2\Big)^2\Big\}. So μ∣x∼N(x2,12).\mu\mid x\ \sim\ N\Big(\frac x2,\ \frac12\Big).

Bayes estimator (squared error loss) = the posterior mean: μ̂B=X2.\hat\mu_B=\frac X2 .

Bayes risk. The risk function of X/2X/2 is R(μ)=E(X2−μ)2=V(X2)+(μ2−μ)2=14+μ24.R(\mu)=E\Big(\frac X2-\mu\Big)^2=V\Big(\frac X2\Big)+\Big(\frac\mu2-\mu\Big)^2=\frac14+\frac{\mu^2}4 . Average over the prior μ∼N(0,1)\mu\sim N(0,1), with E(μ2)=1E(\mu^2)=1: r(π,μ̂B)=14+14=12.r(\pi,\hat\mu_B)=\frac14+\frac14=\frac12 . This equals the posterior variance 12\frac12, as it must under squared error loss.

✓ Checked by computer We checked by simulation (μ drawn from N(0, 1), then X from N(μ, 1), 10⁶ draws) that the average squared error of X/2 is 0.500.

↑ 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

Let X be distributed as Bin(n,p) and π(p)=1(0<p<1) be the prior probability density of p. Then obtain the Bayes estimator (under squared error loss) and the Bayes risk.

2013 · Paper I · Q3c · 15 marks

Solution

Posterior. With the uniform prior, π(p∣x)∝px(1−p)n−x,\pi(p\mid x)\propto p^x(1-p)^{n-x}, which is Beta(x+1,n−x+1)(x+1,\ n-x+1).

Bayes estimator (squared error loss) = the posterior mean: p̂B=X+1n+2.\hat p_B=\frac{X+1}{n+2}.

Risk function. E(X)=npE(X)=np and V(X)=np(1−p)V(X)=np(1-p), so R(p)=E(X+1n+2−p)2=V(X)+{E(X)+1−(n+2)p}2(n+2)2=np(1−p)+(1−2p)2(n+2)2.R(p)=E\Big(\frac{X+1}{n+2}-p\Big)^2=\frac{V(X)+\{E(X)+1-(n+2)p\}^2}{(n+2)^2}=\frac{np(1-p)+(1-2p)^2}{(n+2)^2}.

Bayes risk. Under the uniform prior, E{p(1−p)}=12−13=16E\{p(1-p)\}=\frac12-\frac13=\frac16 and E{(1−2p)2}=1−2+43=13E\{(1-2p)^2\}=1-2+\frac43=\frac13. So r=n6+13(n+2)2=n+26(n+2)2=16(n+2).r=\frac{\frac n6+\frac13}{(n+2)^2}=\frac{n+2}{6(n+2)^2}=\frac1{6(n+2)}.

✓ Checked by computer We checked with SymPy that the risk of (X+1)/(n+2) is [np(1 − p) + (1 − 2p)²]/(n+2)², and that its average over the uniform prior is 1/(6(n+2)). A simulation for n = 10 gave 0.0139, against 1/72 = 0.0139.

↑ Back to the question list

Assume that X follow the Binomial, B(n,θ), and that the prior distribution of θ is the Uniform, U(0,1). Find the Bayes’ estimator for θ using the squared error loss function.

2012 · Paper I · Q1d · 12 marks

Solution

Prior. π(θ)=1\pi(\theta)=1 for 0<θ<10<\theta<1.

Likelihood. For an observation xx from B(n,θ)B(n,\theta), L(θ)=(nx)θx(1−θ)n−xL(\theta)=\binom nx\theta^x(1-\theta)^{n-x}.

Posterior. π(θ∣x)=θx(1−θ)n−x∫01θx(1−θ)n−xdθ=θx(1−θ)n−xB(x+1,n−x+1),\pi(\theta\mid x)=\frac{\theta^x(1-\theta)^{n-x}}{\int_0^1\theta^x(1-\theta)^{n-x}d\theta}=\frac{\theta^x(1-\theta)^{n-x}}{B(x+1,n-x+1)}, the Beta(x+1,n−x+1)(x+1,\ n-x+1) distribution.

Bayes estimator under squared error loss = the posterior mean: θ̂B=B(x+2,n−x+1)B(x+1,n−x+1)=Γ(x+2)Γ(n+2)Γ(x+1)Γ(n+3)=x+1n+2.\hat\theta_B=\frac{B(x+2,n-x+1)}{B(x+1,n-x+1)}=\frac{\Gamma(x+2)\,\Gamma(n+2)}{\Gamma(x+1)\,\Gamma(n+3)}=\frac{x+1}{n+2}.

This is Laplace’s “rule of succession”. Unlike the MLE x/nx/n, it never gives 0 or 1.

✓ Derivation checked step by step Every step was checked: the posterior is a beta distribution, and its mean is the Bayes estimator.

↑ Back to the question list

X1,X2,…,Xn is a random sample from Bernoulli population with parameter θ. Consider that θ has beta prior distribution with hyper-parameters (a,b). Obtain Bayes estimator for θ under quadratic loss function and hence obtain min max estimator for θ.

2010 · Paper I · Q4c · 20 marks

Solution

Bayes estimator. With T=∑XiT=\sum X_i and the Beta(a,b)(a,b) prior, the posterior is Beta(T+a,n−T+b)(T+a,\ n-T+b), so under quadratic loss δa,b=T+an+a+b.\delta_{a,b}=\frac{T+a}{n+a+b}.

Risk function. E(T)=nθE(T)=n\theta and V(T)=nθ(1−θ)V(T)=n\theta(1-\theta). So R(θ,δa,b)=nθ(1−θ)+{a−(a+b)θ}2(n+a+b)2.R(\theta,\delta_{a,b})=\frac{n\theta(1-\theta)+\{a-(a+b)\theta\}^2}{(n+a+b)^2}. The numerator is θ2{(a+b)2−n}+θ{n−2a(a+b)}+a2.\theta^2\{(a+b)^2-n\}+\theta\{n-2a(a+b)\}+a^2 .

Make the risk constant. A Bayes estimator with constant risk is minimax. The risk is constant when both coefficients vanish: (a+b)2=n,2a(a+b)=n⇒a+b=n,a=b=n2.(a+b)^2=n,\qquad2a(a+b)=n\quad\Longrightarrow\quad a+b=\sqrt n,\quad a=b=\frac{\sqrt n}2 .

Minimax estimator. δ*=∑Xi+n2n+n,R(θ,δ*)=n/4(n+n)2=14(1+n)2 for all θ.\delta^*=\frac{\sum X_i+\frac{\sqrt n}2}{n+\sqrt n},\qquad R(\theta,\delta^*)=\frac{n/4}{(n+\sqrt n)^2}=\frac1{4(1+\sqrt n)^2}\ \text{ for all }\theta .

Why it is minimax. δ*\delta^* is Bayes for the Beta(n2,n2)(\frac{\sqrt n}2,\frac{\sqrt n}2) prior, and its risk is constant. For any other estimator δ\delta, supθR(θ,δ)≥∫R(θ,δ)π(θ)dθ≥∫R(θ,δ*)π(θ)dθ=supθR(θ,δ*).\sup_\theta R(\theta,\delta)\ \ge\ \int R(\theta,\delta)\pi(\theta)d\theta\ \ge\ \int R(\theta,\delta^*)\pi(\theta)d\theta=\sup_\theta R(\theta,\delta^*). So no estimator has a smaller maximum risk. ◼\blacksquare

(The MLE X‾\bar X has maximum risk 14n\frac1{4n}, which is larger than 14(1+n)2\frac1{4(1+\sqrt n)^2} for every nn. But X‾\bar X has smaller risk when θ\theta is near 0 or 1.)

✓ Checked by computer We checked with SymPy that the Bayes risk function is constant only when a = b = √n/2. By simulation (n = 16), the risk of the minimax estimator was 0.0100 at every θ tried, against 1/(4(1+√n)²) = 0.0100.

↑ Back to the question list

Explain the terms prior and posterior distributions. How are prior distributions selected? What is the role of conjugate prior distribution?

2005 · Paper I · Q1e · 12 marks

Solution

Prior distribution. In the Bayesian approach, the parameter θ\theta is treated as a random quantity. The prior π(θ)\pi(\theta) expresses what we know or believe about θ\theta before seeing the data.

Posterior distribution. After observing xx, Bayes’ theorem combines the prior with the likelihood: π(θ∣x)=f(x∣θ)π(θ)∫f(x∣θ)π(θ)dθ∝likelihood×prior.\pi(\theta\mid x)=\frac{f(x\mid\theta)\pi(\theta)}{\int f(x\mid\theta)\pi(\theta)d\theta}\ \propto\ \text{likelihood}\times\text{prior}. The posterior is the updated belief. All Bayesian inference (point estimates, credible intervals, tests) is based on it.

How priors are selected.

  1. Subjective (informative) priors: from past studies, expert opinion, or historical data. The prior’s mean and spread are matched to what is known (as in fitting a gamma prior with a given mean and SD).
  2. Conjugate priors: chosen from a family that makes the posterior easy to compute (see below).
  3. Non-informative (vague) priors: when little is known. Examples are the uniform prior, Jeffreys’ prior π(θ)∝I(θ)\pi(\theta)\propto\sqrt{I(\theta)} (invariant under reparametrisation), and improper flat priors such as π(μ)∝1\pi(\mu)\propto1.
  4. Empirical Bayes: prior parameters are estimated from the data of many similar units.
  5. Hierarchical priors: the prior’s own parameters are given a further (hyper)prior.

Role of the conjugate prior. A family of priors is conjugate to a likelihood if the posterior belongs to the same family. For example:

Likelihood Conjugate prior Posterior
Bernoulli / binomial (θ\theta) Beta(a,b)(a,b) Beta(a+t,b+n−t)(a+t,\ b+n-t)
Poisson (λ\lambda) Gamma(α,β)(\alpha,\beta) Gamma(α+∑x,β+n)(\alpha+\sum x,\ \beta+n)
Exponential (rate θ\theta) Gamma(α,λ)(\alpha,\lambda) Gamma(α+n,λ+∑x)(\alpha+n,\ \lambda+\sum x)
Normal (μ\mu, known σ2\sigma^2) Normal(μ0,τ2)(\mu_0,\tau^2) Normal (precision-weighted mean)

Conjugate priors:

  • give the posterior in closed form, so updating only changes the parameters;
  • let the prior parameters be read as “prior observations” (Beta(a,b)(a,b) is like aa successes and bb failures seen before);
  • make sequential updating easy: today’s posterior is tomorrow’s prior;
  • are flexible enough, by choice of parameters, to represent a wide range of beliefs.

Their limitation is that the family is chosen for convenience. It may not represent real prior knowledge well.

✓ Answer checked step by step Every point was checked against the standard treatment of prior selection and conjugate families.

↑ Back to the question list

Let X be a binomial variate with parameters n and p (0<p<1). Using a quadratic error loss function and a priori distribution of p as π(p)=1. obtain the Bayes’ estimate for p.

2002 · Paper I · Q3a · 20 marks

Solution

Posterior. With the uniform prior π(p)=1\pi(p)=1 on (0,1)(0,1) and an observation xx, π(p∣x)=px(1−p)n−x∫01px(1−p)n−xdp=(n+1)!x!(n−x)!px(1−p)n−x,0<p<1.\pi(p\mid x)=\frac{p^x(1-p)^{n-x}}{\int_0^1p^x(1-p)^{n-x}dp}=\frac{(n+1)!}{x!\,(n-x)!}\,p^x(1-p)^{n-x},\qquad0<p<1 .

Bayes estimate. Under quadratic error loss, the Bayes estimate minimises E{(p−a)2∣x}E\{(p-a)^2\mid x\}, so it is the posterior mean: p̂B=(n+1)!x!(n−x)!∫01px+1(1−p)n−xdp=(n+1)!x!(n−x)!⋅(x+1)!(n−x)!(n+2)!=x+1n+2.\hat p_B=\frac{(n+1)!}{x!\,(n-x)!}\int_0^1p^{x+1}(1-p)^{n-x}dp=\frac{(n+1)!}{x!\,(n-x)!}\cdot\frac{(x+1)!\,(n-x)!}{(n+2)!}=\frac{x+1}{n+2}.

For example, with n=10n=10 and x=0x=0: the MLE is 0, but the Bayes estimate is 112\frac1{12}.

✓ Derivation checked step by step Every step was checked: with π(p) = 1 the posterior is Beta(x + 1, n − x + 1), whose mean is (x + 1)/(n + 2).

↑ Back to the question list

More on Statistical Inference

Questions: UPSC Civil Services (Main) Examination, Statistics Paper I, 2002–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