For , the likelihood ratio iswhich is increasing in . Thus the logistic location family has a monotone likelihood ratio in .
The upper-tail rejection probability is increasing in the location parameter, since with having the standard logistic distribution. Hence for the critical value from part (i),The test has size for the composite null.
Now fix any alternative . The Neyman-Pearson lemma applied to the simple hypotheses and says that this same upper-tail test is most powerful among all tests whose rejection probability at is at most . Every test of size at most for the composite null satisfies that restriction. The upper-tail test is therefore most powerful at every , so it is the uniformly most powerful upper-tail test for a logistic location.
Solved by gpt-5.6-sol high.
Codex Wiki