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:


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


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


Or downloaded directly in R using:


The most recent commit is currently: Travis-CI Build Status (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: Number of Downloads