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

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. Can be used with a variety of continuous distributions, including normal, lognormal, univariate mixtures of normals, uniform, loguniform, exponential, gamma, and Weibull distributions. Functions to generate random numbers and calculate density, distribution, and quantile functions are provided for use with the log uniform and mixture distributions.


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 BuildStatus (Travis CI)

This package is authored by Phil Novack-Gottshall (mailto:[email protected]) and Steve C. Wang (mailto:[email protected]) and offered under CC0.

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

News

KScorrect 1.2.4 (2018-08-14)

  • Silenced 'verbose' arg when calling 'mclust' functions

KScorrect 1.2.3 (2018-02-23)

  • Reformatted functions to Google / Hadley style

KScorrect 1.2.2 (2017-04-23)

  • Clarify text so better explains behavior based on 'mclust' package functions.

KScorrect 1.2.1 (2017-01-10)

  • Improved text, with corrected textual errors

KScorrect 1.2.0 (2016-03-19)

  • Text clarifications to Help files prior to posting to CRAN.
  • Removed calculation of standard error in LcKS.

KScorrect 1.1.0

  • Steve Wang re-wrote qmixnorm to improve performance and make the function more compatible with behavior in other quantile functions, such as qnorm.
  • Improved handling of extreme probabilities in qmixnorm, based on algorithm by Luca Scrucca.
  • Corrected behavior when single 'sd' specified in mixture model functions so that results in equal-variance mixture model, and calls warning to alert to behavior

KScorrect 1.0.0

  • First release (to GitHub).

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("KScorrect")

1.2.4 by Phil Novack-Gottshall, 8 months ago


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


Report a bug at https://github.com/pnovack-gottshall/KScorrect/issues


Browse source code at https://github.com/cran/KScorrect


Authors: Phil Novack-Gottshall , Steve C. Wang


Documentation:   PDF Manual  


Task views: Probability Distributions


CC0 license


Imports MASS, mclust


Imported by SEA.

Suggested by fitteR.


See at CRAN