Learn R Programming

KScorrect R package for Lilliefors-corrected Kolmogorov-Smirnov goodness-of-fit tests

KScorrect implements the Lilliefors-corrected Kolmogorov-Smirnov test for use in goodness-of-fit tests, suitable when population parameters are unknown and must be estimated by sample statistics. P-values are estimated by simulation. Coded to complement stats::ks.test, it can be used with a variety of continuous distributions, including normal, lognormal, mixture of normals, uniform, loguniform, exponential, gamma, and Weibull distributions.

Functions are also provided to generate random numbers and calculate density, distribution, and quantile functions for the loguniform and normal mixture distributions.

The most recent public release of the code is on CRAN at:

http://cran.r-project.org/web/packages/KScorrect

You can install the most recent public release version in R using:

install.packages("KScorrect")

The latest pre-release version can be found at GitHub:

https://github.com/pnovack-gottshall/KScorrect

Or downloaded directly in R using:

library(devtools)
devtools::install_github("pnovack-gottshall/KScorrect")
library(KScorrect)

The most recent commit is currently: (Travis CI)

This package is authored by Phil Novack-Gottshall (mailto:pnovack-gottshall@ben.edu) and Steve C. Wang (mailto:scwang@swarthmore.edu) and offered under CC0.

The current total number of downloads of the ecospace package from the RStudio CRAN mirror is:

Copy Link

Version

Install

install.packages('KScorrect')

Monthly Downloads

1,193

Version

1.4.0

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Phil NovackGottshall

Last Published

July 3rd, 2019

Functions in KScorrect (1.4.0)

dmixnorm

The Normal Mixture Distribution
dlunif

The Log Uniform Distribution
ks_test_stat

Internal KScorrect Function.
LcKS

Lilliefors-corrected Kolmogorov-Smirnov Goodness-Of-Fit Test
KScorrect-package

KScorrect: Lilliefors-Corrected Kolmogorov-Smirnov Goodness-of-Fit Tests