Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2010/ii/paper-2/28j/solution

Let . The Kolmogorov-Smirnov statistic is , often reported as . Under the simple null, the probability integral transform makes independent uniform variables on . Strict monotonicity and continuity identify the empirical distribution under this change of coordinates, so
Its null law is therefore independent of .
For the composite null, the joint density is . Its parameter dependence is only through , proving sufficiency by the Fisher-Neyman factorization theorem; the larger statistic is sufficient too. Ties have probability zero. For fixed , the density of is , , because the other coordinates range independently over . Dividing the joint density by this marginal gives conditional density
Thus the remaining observations are conditionally independent .
For , discard the maximum and apply the Kolmogorov-Smirnov test to the ratios , , against . Use the ordinary null critical values for sample size . Its conditional, hence unconditional, level is independent of . Keeping the fitted maximum and using the ordinary -sample critical values would not have that justification.

New to topics? Read the docs here!