powered by
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
ksldist
# NOT RUN { ksdist(n = 10, sims = 15000, alpha =0.05) # }
Run the code above in your browser using DataLab