Prove the p-value is uniform under the null
Consider a test with continuous test statistic , rejecting for large values, with p-value where is the null CDF of .
Prove that when the null is true, explain what happens under the alternative, and describe how this fact is used in practice.
Show a hint
Compute directly, using the fact that for a continuous, strictly increasing CDF, has a familiar distribution (the probability integral transform).
Your answer
This one is open-ended. Work it through, then check your reasoning against the full solution.