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