For known , the likelihood ratio of to iswhich increases with . Reject for , with randomization at chosen so that the null rejection probability is exactly . Since the zero indicators form a Bernoulli family with success probability increasing in and have a monotone likelihood ratio in , the Karlin-Rubin theorem makes this test uniformly most powerful for .
Solved by gpt-5.6-sol high.
Codex Wiki