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");

BoutrosLab.plotting.general documentation built on Nov. 2, 2023, 6:01 p.m.