All 32 questions UPSC has asked on likelihood ratio tests and confidence bounds in the Statistics Optional (Paper I, Statistical Inference) from 1995 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Statistical Inference topic-wise PYQs page.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (Python with NumPy/SciPy) and matched.
- ✓ Proof checked step by step for “prove that” and “examine whether” questions, every step was checked against the definitions and the standard theorems.
- ✓ Derivation checked step by step for derivations and approximations, every step was checked, and the result was also tested numerically.
- ✓ Answer checked step by step for descriptive questions, every point was checked against the standard theory.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 1e 2023 · 4b 2023 · 4c 2019 · 4a 2015 · 1d 2015 · 3a 2014 · 1c 2014 · 1e 2012 · 3b 2012 · 4c 2011 · 3b 2010 · 4b 2009 · 1f 2009 · 2b 2009 · 3c 2007 · 1f 2007 · 4c 2005 · 3b 2004 · 4c 2003 · 1e 2003 · 4c 2000 · 1e 2000 · 4b(ii) 1999 · 6c 1999 · 7b 1998 · 5c(ii) 1998 · 7a 1998 · 7b 1997 · 5c 1997 · 8a 1996 · 7a 1995 · 7a
Obtain the likelihood ratio test (LRT) for testing against , using a random sample of size taken from .
Solution
Likelihood. For a Poisson sample with , maximised over all at .
Restricted maximum over . is concave with its peak at :
- if , the maximum over is at ;
- if , it is at .
Likelihood ratio.
is decreasing in for .
LRT. Reject when (), which is equivalent to , that is, Under , , so and satisfy The power of this test increases with , so its size over all of is attained at . (This LRT coincides with the UMP test, since the Poisson family has MLR in .)
✓ Derivation checked step by step Every step was checked: the restricted and unrestricted maxima, and the monotonicity of λ in x̄ when x̄ > θ₀.
A survey of 400 families with four children each have the following distribution:
| Number of boys | 0 | 1 | 2 | 3 | 4 |
| Number of families | 16 | 89 | 145 | 118 | 32 |
Is this result consistent with the hypothesis that male and female births are equally probable at 5% level of significance? It is given that for 4 degrees of freedom and for 5 degrees of freedom .
Solution
Hypothesis. : boys and girls are equally likely, so the number of boys in a family of four is .
Expected frequencies. :
| Boys | 0 | 1 | 2 | 3 | 4 | Total |
|---|---|---|---|---|---|---|
| Observed | 16 | 89 | 145 | 118 | 32 | 400 |
| Expected | 25 | 100 | 150 | 100 | 25 | 400 |
| 3.240 | 1.210 | 0.167 | 3.240 | 1.960 | 9.817 |
Degrees of freedom. 5 classes, and is given (not estimated), so df .
Decision. . We reject at the 5% level.
Conclusion. The data are not consistent with equally probable male and female births. (The rejection is narrow: there are more three- and four-boy families than expected.)
✓ Checked by computer We computed the expected frequencies and χ² = 9.817 in Python.
Define Likelihood Ratio Test. In , where is unknown, find out LR test for testing against , where is the parametric space for . is the size of the test.
Solution
Likelihood ratio test. For against , the LR statistic is The LRT rejects when , with chosen so that .
Normal mean, variance unknown. Parameters .
- Unrestricted: , , so .
- Under : , , so .
where
Test. is a decreasing function of , so . Under , . So the size- LRT is This is the familiar two-sided one-sample -test.
✓ Derivation checked step by step Every step was checked: the two maximised likelihoods and the reduction of λ to a decreasing function of t².
Suppose are i.i.d beta and are i.i.d beta . ’s are independent of ’s. (i) Find a Likelihood Ratio Test (LRT) of vs. . (ii) Show that the test in part (i) can be based on the statistic (iii) Find the distribution of , when is true and then show how to get a test of size .
Solution
Set-up. The beta density is , . Let Then .
(i) LRT.
- Unrestricted MLEs: , .
- Under (): .
At both maxima the exponential factor equals , so Reject when .
(ii) Based on . Note . So The function rises to a maximum at and then falls. So is equivalent to
(iii) Distribution of under . is exponential with rate , so and , independent. When , which does not depend on .
Size- test. Choose with using the Beta distribution. A simple near-equivalent is the equal-tails test with the and points of Beta. Equivalently, since , we can use an -test.
Example: , , : the LRT cut-offs are and (the equal-tails points are 0.177 and 0.649).
✓ Checked by computer We checked by simulation (n = 6, m = 9) that T follows Beta(6, 9) under H₀, and solved for the equal-likelihood cut-offs (0.180, 0.653) at α = 0.05.
Let and be independent random samples from and respectively. Find a confidence Interval for at confidence level .
Solution
Pivot. The means are known (3 and 2), so we use Then and , independently, so No degrees of freedom are lost, because the means are not estimated.
Interval. Let and be the upper and lower points. Then Solving for the ratio, the confidence interval for is using .
✓ Derivation checked step by step Every step was checked: with known means, each sum of squares over σ² is χ² with full degrees of freedom, and their ratio is F.
A trial can result in one of three possible outcomes with probabilities , and respectively. Construct the Likelihood Ratio test of against the alternative that these probabilities are different from . The test needs to be constructed on the basis of n-trials.
Solution
Note. forces , so is simple.
Likelihood. With counts (),
- Unrestricted MLEs: .
- Under : .
LR statistic.
Test. Reject when is small, that is, when is large. The full model has 2 free parameters and has none, so for large (Wilks’ theorem), For example, at the cut-off is . (A term with contributes 0.) For large , is close to Pearson’s .
✓ Derivation checked step by step Every step was checked: the multinomial MLEs, the form of λ, and the Wilks degrees of freedom (2 − 0 = 2).
Construct a 95% confidence interval for in from the following observed sample: .
Solution
Interval. is known, , and The 95% confidence interval for is
(Note: the four values are very spread out. Their sample variance is 72.7, far above the assumed . If the variance were not known, the -interval would be much wider. We follow the question and use .)
✓ Checked by computer We checked: x̄ = 3, and 3 ± 1.96 × 2/√4 = (1.04, 4.96). The sample variance is 72.7.
A tourist resort is visited by tourists from many countries. The resort operator has the following data in the month of January, 2014:
| Country | USA | UK | Canada | Italy | Germany | France | Japan |
| No. of tourists | 22 | 12 | 18 | 10 | 20 | 18 | 30 |
The resort operator has a hypothesis that the proportion of tourists visiting in the month of January of any year is 2 : 1 : 2 : 1 : 2 : 2 : 3. Test this hypothesis at 5% level of significance (Given ).
Solution
Expected numbers. Total . The ratio has total 13, so one share is .
| Country | USA | UK | Canada | Italy | Germany | France | Japan |
|---|---|---|---|---|---|---|---|
| 22 | 12 | 18 | 10 | 20 | 18 | 30 | |
| 20 | 10 | 20 | 10 | 20 | 20 | 30 | |
| 0.2 | 0.4 | 0.2 | 0 | 0 | 0.2 | 0 |
Decision. , so we do not reject . The data agree well with the operator’s hypothesis .
✓ Checked by computer We computed the expected frequencies and χ² = 1.00 in Python.
When will the Neyman-Pearson test and likelihood ratio test be the same? Obtain the likelihood ratio test for testing against based on a random sample from the binomial, .
Solution
When the NP test and the LRT coincide. When both hypotheses are simple: , , with . Then For any , , which is the Neyman–Pearson region with . So the LRT is the MP test. (Also, in one-parameter MLR families, the one-sided LRT reduces to the UMP test.)
LRT for against (Bernoulli sample). Let and . , as a function of , is concave with its maximum () at . So with chosen (with randomisation if needed) so that , and .
Large . By Wilks’ theorem, so reject if . This is approximately the same as .
✓ Derivation checked step by step Every step was checked: with Ω = {θ₀, θ₁} the LRT region is a Neyman–Pearson region, and the Bernoulli λ is computed from the MLE p̂ = x̄.
Describe the relationship between confidence interval estimation and testing of hypothesis. Let be a random sample from , known. Obtain a confidence interval for .
Solution
Confidence intervals and tests. There is a one-to-one correspondence between them.
- From tests to intervals. For each , let be the acceptance region of a size- test of . Then is a confidence set with confidence coefficient , because .
- From intervals to tests. Given a confidence set , the test “accept iff ” has size .
- Optimal tests give optimal sets: UMP tests give uniformly most accurate (UMA) sets, and UMPU tests give UMA unbiased sets.
In practice: we reject at level exactly when lies outside the confidence interval.
Confidence interval for , known. Let . Then . So where is the upper point. Inverting: This uses all degrees of freedom because is known.
✓ Derivation checked step by step Every step was checked: the inversion of the acceptance region, and the χ²ₙ pivot with known mean.
It is desired to test if average percentage of family income spent on food is the same in selected blocks of a district. Assuming the underlying populations to be normal and homoscedastic, indicate how you would use likelihood ratio test for the purpose. Show that the resultant test boils down to the usual -test.
Solution
Set-up. Let be the percentage of income spent on food by family in block (; ; ). Assume We test against : not all equal.
Maximum under (all free). , and
Maximum under . (the grand mean), and
Likelihood ratio. Using , with : where
The test is the -test. is a decreasing function of , so . Under , and , independently. So
In practice. Compute block means and the grand mean, form the between-block and within-block sums of squares, and set out the one-way ANOVA table. A large means the blocks differ in average food share.
✓ Derivation checked step by step Every step was checked: the MLEs under Ω and ω, the decomposition of the total sum of squares, and the reduction of λ to a decreasing function of F.
A random observation belongs to a population having probability density function . Describe likelihood ratio test for testing against based on a single observation, when and
Solution
LR statistic. Both hypotheses are simple, so with : For , . So the LRT is the Neyman–Pearson test.
The ratio. which increases with .
LRT. Reject when is far from 1: with chosen so that .
- If , then , and the test is simply .
- At , : reject if or . The power under is .
The test rejects in the regions where the Laplace density is higher than the normal: at the centre and in the tails.
✓ Checked by computer We checked: with Ω = {f₁, f₂} the LRT region is the Neyman–Pearson region ||x| − 1| > a, and at α = 0.05 a = 0.9950 (size confirmed by simulation, 0.050).
A group of 20 short distance runners were subjected to a month-long training. Discuss how you would examine if the training was at all effective based on their timings to clear 100 meters before and after the training, clearly mentioning the underlying assumptions, if any, the null and the alternative hypotheses, as also the size- critical region.
Solution
Design. For each runner , let be the 100 m time before training and the time after. The same runner is measured twice, so the samples are paired. We work with the differences
Assumptions.
- The differences are independent (runners do not affect each other).
- , with unknown.
- No other systematic change (conditions, timing equipment) between the two trials.
Hypotheses. Training is effective if times go down:
Test statistic.
Size- critical region. If falls in , we conclude that the training reduced the timings.
(If normality is doubtful, use the Wilcoxon signed-rank test, or the sign test, on the .)
✓ Answer checked step by step Every step was checked: the paired design, the assumptions, and the one-sided t critical region with 19 df.
In sampling from , unknown, derive shortest confidence interval for .
Solution
Pivot. With , . For any with the interval has confidence . Its length is
Minimise the length. Treat as a function of through the constraint. Differentiating : Then
Conditions for the shortest interval. These are solved numerically. The shortest interval is .
(Since , the first condition says that the density takes equal values at and .)
Example: (9 df), :
| Shortest | 3.284 | 26.08 | 0.266 |
| Equal tails | 2.700 | 19.02 | 0.318 |
The shortest interval is about 16% shorter.
✓ Checked by computer We solved a²g(a) = b²g(b) numerically for 9 df and 95%: a = 3.284, b = 26.08. The length factor is 0.266, against 0.318 for equal tails.
Show that the likelihood ratio test, for the hypothesis that the means of independent normal populations with common variance are identical, boils down to -test.
Solution
(This is essentially the 2011 question above. The worked solution is repeated here, with the blocks read as populations.)
Set-up. Let be observation from population (; ; ). Assume We test against : not all equal.
Maximum under (all free). , and
Maximum under . (the grand mean), and
Likelihood ratio. Using , with : where
The test is the -test. is a decreasing function of , so . Under , and , independently. So
In practice. This is the one-way analysis of variance. A large means the population means differ.
✓ Derivation checked step by step Same derivation as the 2011 question: the MLEs under Ω and ω, the decomposition of the total sum of squares, and the reduction of λ to a decreasing function of F.
Briefly describe the likelihood ratio test for equality of variances of k univariate normal populations.
Solution
Set-up. Samples of sizes from , . Test
Maxima. Let .
- Under : , .
- Under : , .
LR statistic. By the AM–GM inequality, , with equality when all are equal.
Test. removes parameters, so for large samples . Reject if .
Bartlett’s modification (the version used in practice). Replace by the degrees of freedom and use the unbiased , pooled , : Then even for moderate samples, and the modified test is unbiased.
Remark. The test is sensitive to non-normality: a large may signal heavy tails rather than unequal variances. Levene’s test is more robust.
✓ Answer checked step by step Every step was checked: the MLEs under Ω and ω give λ, and Wilks’ theorem gives k − 1 degrees of freedom. Bartlett’s correction was checked against the standard form.
Define a family of UMA confidence sets of an unknown parameter at confidence level . State a result giving a one-one correspondence between the family of UMA confidence sets and the family of acceptance regions of relevant UMP tests at level .
Solution
Confidence sets. A family of subsets of is a family of confidence sets at level if
UMA confidence sets. For each , let be the set of “false” values that we wish to exclude. (For a lower bound, ; for the two-sided case, .) A level- family is uniformly most accurate (UMA) if, for every other level- family , That is, among all sets that cover the true value with probability at least , covers each false value least often.
Correspondence theorem.
For each , let be the acceptance region of a level- test of . Then is a family of confidence sets at level . Conversely, given such a family , the regions are acceptance regions of level- tests.
If, for each , is the acceptance region of a UMP level- test of against the alternatives , then is a UMA family at level .
Why: the key identity is So minimising the probability of covering a false value is the same as maximising the power of the test of . UMP tests correspond exactly to UMA sets.
✓ Proof checked step by step Every step was checked: the definition, and the correspondence between acceptance regions and confidence sets in both directions.
Given a random sample from , where both and are unknown, find the uniformly most accurate unbiased confidence interval .
Solution
Note on the question. Read as “the UMA unbiased (UMAU) confidence interval for ”.
Pivot. With , , and (together with ) is sufficient.
UMPU test. For against , the UMPU test accepts when where (from and the unbiasedness condition , with ): using . Together, these are equivalent to
UMAU interval. Inverting the acceptance regions of the UMPU tests: By the correspondence between unbiased tests and unbiased confidence sets, this is the uniformly most accurate among unbiased intervals at level .
Example: , :
| Interval | ||
|---|---|---|
| UMAU | 2.953 | 20.30 |
| Equal tails | 2.700 | 19.02 |
| Shortest length | 3.284 | 26.08 |
The usual equal-tails interval is slightly biased.
✓ Checked by computer We solved the UMAU conditions numerically for 9 df and 95% (c₁ = 2.953, c₂ = 20.30), and checked that they give equal χ²₁₁ densities. These differ from the equal-tails and shortest-length cut-offs.
For each , let be the acceptance region of the level- UMP test for against all alternatives. Show that defined by is, for varying [?] a family of UMA confidence sets at the level .
Solution
Note on the question. The “[?]” is a garbled mark in the source. We read the statement as: , for , is a family of UMA confidence sets at level .
Step 1: confidence level. For every , because is the acceptance region of a level- test of . So is a family of confidence sets at level .
Step 2: most accurate. Let be any other family at level , and define Then , so is the acceptance region of a level- test of .
Take any true value and any false value . Since belongs to the UMP test of against all alternatives (including ), its power at is at least that of the test with acceptance region : Therefore
So covers every false value with the smallest possible probability. It is a family of UMA confidence sets at level .
✓ Proof checked step by step Every step was checked: the coverage probability equals the acceptance probability, and the probability of covering a false value equals one minus the power of the corresponding UMP test.
Explaining the notations describe Chi-square good-ness of fit test.
Solution
Purpose. To test whether observed data agree with a hypothesised distribution.
Notation.
- The data are grouped into classes (cells).
- = observed frequency in class , with .
- = probability of class under the hypothesised distribution .
- = expected frequency under .
- = number of parameters estimated from the data (to compute the ).
Test statistic (Karl Pearson):
Distribution. For large , under , One degree of freedom is lost because , and one more for each parameter estimated (by ML or minimum from grouped data).
Decision. Reject at level if . A large value shows poor agreement between the data and the hypothesised distribution.
Conditions.
- The observations are independent, and is reasonably large (say at least 50).
- Each expected frequency . Pool adjacent classes if necessary, and count the classes after pooling.
- The constraints on the cell frequencies must be linear, such as .
Example uses: testing whether data follow a binomial, Poisson or normal distribution, or whether frequencies follow a stated ratio such as .
✓ Answer checked step by step Every point was checked against the standard form of Pearson’s test: the statistic, the degrees of freedom and the conditions for its use.
Define likelihood ratio test and discuss its consistency.
Solution
Likelihood ratio test. To test against , compute and reject when , with chosen so that . Small means the data are much better explained by some outside .
Consistency. A sequence of tests is consistent if, for every fixed , the power tends to 1 as .
The LRT is consistent under regularity conditions (identifiable model, consistent MLE, smooth log-likelihood). For a simple (the general case is similar, using ):
Step 1: the critical value stays bounded. Under , (Wilks). So the size- cut-off for tends to and stays bounded.
Step 2: under a fixed alternative , . Since maximises , where is the Kullback–Leibler divergence, positive because the model is identifiable. So in probability.
Step 3. Hence . The LRT is consistent.
(The LRT is also invariant under reparametrisation, coincides with the MP or UMP test in simple cases, and is asymptotically optimal in a broad sense. It need not be unbiased in small samples.)
✓ Proof checked step by step Every step was checked: the definition of the LRT, and the consistency argument via the law of large numbers for the log-likelihood ratio.
Bring out the relation between uniformly most accurate (UMA) confidence sets of confidence coefficient and uniformly most powerful non-randomized tests of level .
Solution
The relation. UMA confidence sets of confidence coefficient and UMP non-randomised tests of level correspond one to one, through where is the acceptance region of the test of .
Why non-randomised. A confidence set must be a definite set for each . So the tests must have acceptance regions, not test functions taking values between 0 and 1.
The key identity. For any true and false ,
- The confidence level of equals one minus the size of the tests: .
- The accuracy of (a low chance of covering false values) equals the power of the tests.
Theorem. If, for each , is the acceptance region of a UMP level- test of against the relevant alternatives, then is UMA at level . Conversely, a UMA family yields UMP tests.
Examples.
- : the UMP test of against accepts when . Inverting gives the UMA lower bound .
- No UMP test exists for , so no two-sided UMA interval exists. The UMPU test gives the UMA unbiased interval .
✓ Proof checked step by step Every step was checked: the identity linking coverage of a false value with the power of the test at that value.
Suppose are i.i.d. observations where is known. Obtain the uniformly most accurate (UMA) sets for
Solution
Sufficient statistic. , with . The family has MLR in .
UMA lower confidence bound. The UMP test of against accepts when Inverting, the set of accepted is So is the UMA lower confidence bound at level . It has the smallest chance of falling below any value smaller than the true .
UMA upper confidence bound. The UMP test against accepts when , giving
Two-sided. There is no UMP test of against , so there is no UMA two-sided interval. The UMPU test (accept when , with and ) gives the UMA unbiased interval .
✓ Derivation checked step by step Every step was checked: Σ(xᵢ − μ)² has MLR, the one-sided UMP tests are inverted into the UMA bounds, and no two-sided UMA set exists.
Derive the likelihood ratio test for testing the hypothesis against on the basis of a random sample of size m from a normal distribution with mean and variance unity.
Solution
Likelihood. For , maximised at .
LR statistic. Using :
Test. . Under , , so exactly. The size- LRT is At : reject if .
✓ Checked by computer We checked: −2 log λ = m(x̄ − μ₀)² exactly, and by simulation (m = 8) the test has size 0.050.
Given a random sample of size n from the p.d.f. derive the UMA confidence interval for .
Solution
Sufficient statistic. . is exponential with rate :
UMP test of against . The region is
- Size: and .
- Against : on , is constant, and below . The power of any level- test is at most , and attains this.
- Against : includes all of , which has probability 0 under . On , . So any level- test has power at most , and attains this.
So is UMP against every (as in the uniform case).
Invert the acceptance region. We accept when
UMA confidence interval. By the correspondence between UMP tests and UMA sets, is the UMA confidence interval for at level . Check: .
✓ Proof checked step by step Every step was checked: the UMP test of μ = μ₀ against μ ≠ μ₀ based on X₍₁₎, and its inversion. A simulation (n = 5, α = 0.1) gave coverage 0.900.
, then
Solution
Note on the question. As printed, the lower limit is larger than (because ), so the interval would be empty. The intended statement is that is, the lower limit is . We prove this.
Distribution of . For ,
Proof.
So is a confidence interval for . (It is the UMA interval: see the 1999 question on this page.)
✓ Checked by computer We checked the coverage by simulation (n = 5, α = 0.1): 0.900 for the interval [X₍₁₎ + (1/n) log α, X₍₁₎].
State the properties of L-R test and suggest the conditions where has the asymptotic chi-square distribution.
Solution
Properties of the LR test.
- Simple vs simple: the LRT is the Neyman–Pearson MP test.
- MLR families, one-sided: the LRT coincides with the UMP test.
- Invariance: does not change under one-to-one reparametrisation, or under transformations of the data that leave the problem unchanged.
- Sufficiency: depends on the data only through a sufficient statistic.
- Consistency: under regularity conditions, the power against any fixed alternative tends to 1 as .
- Large-sample distribution: is approximately under (below), so approximate critical values are easy to find.
- Asymptotic optimality: the LRT is asymptotically equivalent to the Wald and score tests, and is locally most powerful in large samples.
- It is not always unbiased or UMP in small samples.
When is asymptotically ? (Wilks’ theorem.) Under , provided:
- the observations are i.i.d. (or satisfy similar conditions), and ;
- the regularity (Cramér) conditions hold: the support does not depend on ; is three times differentiable with bounded third derivatives; the Fisher information is finite and positive definite;
- the true parameter is an interior point of and (not on the boundary);
- is a smooth -dimensional subset of the -dimensional , for example defined by independent restrictions ;
- the MLEs under and are consistent.
Where it fails: (the support depends on ), mixture models (the true value is on the boundary), or testing a variance component equal to 0 (the limit is then a mixture of and ).
✓ Answer checked step by step Every property and condition was checked against the standard theory of likelihood ratio tests (Wilks’ theorem).
Let be a random sample from [?]. Determine the L-R test of against Examine, whether the test is unbiased.
Solution
Note on the question. The “[?]” is a stray mark in the source. We read the mean as known, .
LR statistic. Let and . The unrestricted MLE is , so As a function of , rises to its maximum at and then falls. So or , with
LRT: reject if or .
Is it unbiased? Yes, here. The UMPU test for (from the exponential family with natural statistic ) has the same form, with conditions Using , these two conditions together are equivalent to , that is, which is exactly the LRT condition. So the LRT is the UMPU test, and in particular it is unbiased.
Example (, ): and , compared with the equal-tails values 3.247 and 20.48.
| 0.7 | 0.9 | 1.0 | 1.1 | 1.5 | |
|---|---|---|---|---|---|
| Power of LRT | 0.111 | 0.056 | 0.050 | 0.055 | 0.159 |
| Power of equal-tails test | 0.087 | 0.048 | 0.050 | 0.063 | 0.194 |
The equal-tails test is biased (power below 0.05 at ); the LRT is not. (When is unknown, the LRT exponent is but the statistic has degrees of freedom, and the LRT is then slightly biased.)
✓ Checked by computer We solved the LRT conditions numerically for n = 10 and α = 0.05 (c₁ = 3.516, c₂ = 21.73). The power was at least 0.05 at every σ² tried, while the equal-tails test had power 0.048 at σ²/σ₀² = 0.9.
Obtain 95% confidence interval for based on a random sample , from .
Solution
Pivot. The mean is known to be 0, so
95% interval. With and the upper 2.5% and 97.5% points: Inverting:
Example: for , the points are 20.48 and 3.247, so the interval is .
(For large , is approximately , giving the approximate interval .)
✓ Checked by computer We computed the χ² percentage points with SciPy (for example, 3.247 and 20.48 for n = 10).
Let be i.i.d. random variables. Obtain a level Likelihood Ratio test of against .
Solution
Likelihood. With and , is concave with its peak at .
LR statistic.
is decreasing in for . Writing ,
LRT of level . () . Since has power increasing in , the size is attained at : (Without randomisation, choose the smallest with , giving a conservative test of level .) This LRT is the same as the UMP test for this problem.
✓ Derivation checked step by step Every step was checked: the restricted maximum is at θ₀ when x̄ > θ₀, and λ is then decreasing in T.
Let X be a variable, where both the parameters are unknown. Determine the LR test of against based on a sample of size n. Determine the power function of the test.
Solution
LRT. As shown for the one-sample problem with unknown, decreases in , so the size- LRT is the two-sided -test:
Power function. Under a general , which has the noncentral distribution with degrees of freedom and noncentrality . So The power depends on only through . It equals at and increases to 1 as .
Example (, ):
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| Power | 0.050 | 0.146 | 0.431 | 0.761 |
✓ Checked by computer We computed the power function from the noncentral t distribution with SciPy (n = 10: 0.146, 0.431, 0.761 at δ = 1, 2, 3).
Derive the asymptotic distribution of the LR test criterion for testing a simple null hypothesis in the one-parameter family of densities.
Solution
Set-up. i.i.d. , real, satisfying the Cramér regularity conditions. (simple). With and the consistent MLE,
Theorem. Under , .
Proof.
Step 1: Taylor expansion about . Since , with between and . So
Step 2: the second factor. (because is consistent). By the law of large numbers, and with the third derivative bounded by an integrable function,
Step 3: the first factor. By the asymptotic normality of the MLE,
Step 4: combine. By Slutsky’s theorem,
Use. For large , reject if (3.841 at 5%). With parameters and a simple , the same argument gives .
✓ Proof checked step by step Every step was checked: the Taylor expansion of the log-likelihood about the MLE, the order of the remainder, and the limit via the CLT and Slutsky’s theorem. A Poisson simulation (n = 50) gave size 0.052 for the χ²₁ cut-off.
More on Statistical Inference
- All Statistics PYQ solutions, topic by topic
- Statistical Inference topic-wise PYQs (questions only, for practice)
- Statistics PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Statistics booklist
Questions: UPSC Civil Services (Main) Examination, Statistics Paper I, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

