Learn R Programming

Sim.DiffProc (version 2.5)

test_ks_df: Kolmogorov-Smirnov Tests (F Distribution)

Description

Performs one sample Kolmogorov-Smirnov tests.

Usage

test_ks_df(X, df1, df2)

Arguments

X
a numeric vector of data values.
df1
degrees of freedom. Inf is allowed.
df2
degrees of freedom. 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 <- rf(1000,10,20)
 test_ks_df(X, df1=10, df2=20)
 test_ks_df(X, df1=5, df2=15)
 test_ks_df(X, df1=15, df2=25)

Run the code above in your browser using DataLab