Function to visualize the sampling distribution of \(D_n\) (the Kolmogorov-Smirnov one sample statistic) for simple and composite hypotheses
ksldist(n = 10, sims = 10000, alpha = 0.05)
sample size
number of simulations to perform
desired \(\alpha\) level
ksldist(n = 10, sims = 1500, alpha = 0.05)