Learn R Programming

PASWR2 (version 1.0.5)

ksdist: Simulated Distribution of \(D_n\) (Kolmogorov-Smirnov)

Description

Function to visualize the sampling distribution of \(D_n\) (the Kolmogorov-Smirnov one sample statistic) and to find simulated critical values.

Usage

ksdist(n = 10, sims = 10000, alpha = 0.05)

Arguments

n

sample size

sims

number of simulations to perform

alpha

desired \(\alpha\) level

See Also

ksldist

Examples

Run this code
# NOT RUN {
ksdist(n = 10, sims = 15000, alpha =0.05)
# }

Run the code above in your browser using DataLab