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

View source: R/critical.value.ks.test.R

critical.value.ks.testR Documentation

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

critical.value.ks.test(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

Author(s)

Ying Wu

Examples

critical.value.ks.test(10, 0.95);
critical.value.ks.test(100, 0.95, alternative = "one-sided");

uclahs-cds/public-R-BoutrosLab-plotting-general documentation built on June 10, 2025, 10:26 p.m.