Neyman Welcomes You | ISI MStat 2018 PSB Problem 8

Join Trial or Access Free Resources

This is a problem from ISI MStat Examination,2018. It involves the construction of the most powerful test of size alpha using Neyman Pearson Lemma. The aim is to find its critical region in terms of quantiles of a standard distribution.

Problem

Let \( X_1 ,X_2,.. X_n \) be an i.i.d sample from \( f(x;\theta) , \theta \in {0,1 } \), with

\( f(x;0) =
\begin{cases}
1 & \text{if} \ 0<x<1 \\
0 & \text{otherwise} \\
\end{cases}
\)

and \(f(x,1)= \begin{cases}
\frac{1}{2 \sqrt{x}} & \text{if} \ 0<x<1 \\
0 & \text{otherwise} \\
\end{cases}
\)
Based on the above sample,obtain the most powerful test for testing \(H_0:\theta=0 \) against \(H_1: \theta=1 \), at level \( \alpha \), with \( 0 < \alpha <1 \).Find the critical region in terms of quantiles of a standard distribution.

Prerequisites

  1. The Fundamental Neyman Pearson Lemma

2. Useful Transformations of Random Variables

3. Properties of standard probability distributions (e.g. Normal,Chi-squared etc)

All these topics are included in the regular coursework of undergraduate statistics students. If not, one may refer standard texts like Casella Berger.

Solution

As, \( X_1,X_2,..X_n \) is a random sample, they are independent by definition.
So, their joint pdf when \( \theta=0 \) is given by \( f(\textbf{x},0)= 1 . \prod_{i=1}^{n} 1_{0<x_i<1} \), where \(1_{0<x_i<1} \) denotes the indicator function over the interval \( [0,1] \).

Similarly, the joint pdf when \( \theta=1 \) is given by:
\( f(\textbf{x},1)=\frac{1}{2^n \prod_{i=1}^{n}\sqrt{x_i}} . \prod_{i=1}^{n}1_{0 <x_i<1} \)

According to the Fundamental Neyman Pearson Lemma}, the most powerful size \(\alpha\) test for testing \( H_{0} \) vs \(H_{1}\) is given by the test function \(\phi\) as follows:

\(\phi=\begin{cases}
1 & \text{if} \ \frac{f(\textbf{x},1)}{f(\textbf{x},0)} > k \\
0 & \text{otherwise} \\
\end{cases} \)

where k is such that \(E_{H_0}(\phi)=\alpha \).

So, our test criterion is \(\frac{f(\textbf{x},1)}{f(\textbf{x},0)} > k \)
Plugging in the pdfs, we get the criterion as \(\prod_{i=1}^{n} X_i < \frac{1}{2^{2n }k^2} = \lambda \)(say)


Our aim now is to find the value of \( \lambda \) from the given size \(\alpha \) criterion,
Thus,

\( P_{H_0}(\prod_{i=1}^{n}X_i < \lambda)=\alpha \)

\( \iff P_{H_{0}}(\sum_{i=1}^{n} \ln{X_i} < \ln{\lambda}) =\alpha \)

\( \iff P_{H_{0}}(-2.\sum_{i=1}^{n} \ln{X_i} >-2. \ln{\lambda}) =\alpha \)

Now, we state a result: If \( X_i \sim U(0,1) \) ,then \( -2 \ln{X_i} \sim \chi^2_{2} \) distribution (Prove it yourself!)

As \(X_i \)'s are independent, due to reproductive property of chi-squared distribution, \(-2.\sum_{i=1}^{n} \ln{X_i} \sim \chi^2_{2n} \)
Hence , we simply need that value of \( \lambda \) such that the quantity \( P_{H_0}(\chi^2=-2.\sum_{i=1}^{n} \ln{X_i} > -2 \ln{\lambda})=\alpha \)
The obvious choice is \( -2 \ln{\lambda} = \chi^2_{2n , \alpha} \) , where \( \chi^2_{2n , \alpha}\) is the upper \( \alpha \) point of \( \chi^2_{2n} \) distribution.

So, we have \( -2 \ln{\lambda} = \chi^2_{\alpha,2n} \) implies \( \lambda =e^{-\frac{1}{2}\chi^2_{\alpha,2n}} \)
So, our critical region for this test is \(\prod_{i=1}^{n} X_i < e^{-\frac{1}{2} \chi^2_{\alpha,2n}} \)

Food For Thought

In this problem , look at the supports of the two distributions under the null and alternative hypotheses.
See that both the supports are the same and hence the quantity \( \frac{f_1}{f_0} \) is defined everywhere.
But suppose for a problem the two supports are not the same and they are not disjoint then try constructing a most powerful test using the Neyman Pearson Lemma.
For Example:
Let the family of distributions be \( {\theta:X \sim U(0,\theta)} \)
Find the most powerful test for testing \( H_0 : \theta=1 \) against \(H_1: \theta=2 \)
Note that the supports under null and alternative hypotheses are not the same in this case.
Give it a try!

More Posts
A Major Milestone in Young Research: Aaditya Punatar and Muskan Sadana Publish in JEI

A Major Milestone in Young Research: Aaditya Punatar and Muskan Sadana Publish in JEI

October 11, 2026

Publishing original scientific research in a peer-reviewed journal is an achievement many scholars work toward for years. Achieving this feat early in one's academic journey requires exceptional intellectual rigor, creativity, and persistence. Aaditya Punatar and Muskan Sadana have reached this remarkable milestone, successfully publishing their collaborative research paper in the prestigious Journal of Emerging Investigators […]

Read More
Prishaa Shrimali Named Grand Finalist at Regeneron ISEF 2026 for Quantum-Powered Urban Planning Research

Prishaa Shrimali Named Grand Finalist at Regeneron ISEF 2026 for Quantum-Powered Urban Planning Research

October 6, 2026

Her project on quantum-accelerated Steiner trees for 15-minute cities earned a place among the finalists at the world's largest pre-college STEM competition. Prishaa Shrimali of Marymount School of New York, was selected as a Grand Finalist at the 2026 Regeneron International Science and Engineering Fair (ISEF) in Phoenix, Arizona. Her project was Optimizing Urban Accessibility: […]

Read More
ISI M.Stat Entrance Success Story 2026

ISI M.Stat Entrance Success Story 2026

June 27, 2026

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

Read More
ISI B.Stat-B.Math and CMI BSc. Math Entrance Success Story 2026

ISI B.Stat-B.Math and CMI BSc. Math Entrance Success Story 2026

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2010 - 2025, Cheenta Academy. All rights reserved.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram