Learn R Programming

Sim.DiffProc (version 2.5)

test_ks_dt: Kolmogorov-Smirnov Tests (Student t Distribution)

Description

Performs one sample Kolmogorov-Smirnov tests.

Usage

test_ks_dt(X, df)

Arguments

X
a numeric vector of data values.
df
degrees of freedom (> 0, maybe non-integer). df = Inf is allowed.

Value

  • A list with class "htest" containing the following components:
  • statisticthe value of the test statistic.
  • p.valuethe p-value of the test.
  • alternativea character string describing the alternative hypothesis.
  • data.namea character string giving the name(s) of the data.

Details

see detail ks.test.

Examples

Run this code
X <- rt(1000,15)
 test_ks_dt(X, df=15)
 test_ks_dt(X, df=10)

Run the code above in your browser using DataLab