Function to visualize the sampling distribution of \(D_n\) (the Kolmogorov-Smirnov one sample statistic) and to find simulated critical values.
ksdist(n = 10, sims = 10000, alpha = 0.05)
sample size
number of simulations to perform
desired \(\alpha\) level
ksdist(n = 10, sims = 15000, alpha =0.05)