BoutrosLab.plotting.general (version 5.9.2)

ks.test.critical.value: Critical Value for Kolmogorov-Smirnov Test

Description

Takes a sample size and a confidence level and computes the corresponding critical value basing on the kolmogorov-smirnov test

Usage

ks.test.critical.value(n, conf, alternative = "two.sided");

Arguments

n

The sample size

conf

The confidence level

alternative

Indicates the alternative hypothesis and must be one of "two.sided"(default), "one-sided".

Value

The corresponding critical value

Examples

Run this code
# NOT RUN {
ks.test.critical.value(10, 0.95);
ks.test.critical.value(100, 0.95, alternative = "one-sided");
# }

Run the code above in your browser using DataCamp Workspace