Metraipolis › archive › dc_4302abda33aa
Kolmogorov–Smirnov test — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-07T19:45:59.795Z
- SHA-256 of the archived text
83794af6d0cfc21390599274ff30907b9642fbf12f260f30ffcca72f10d424d8- Stable URL of this page
https://metraipolis.com/documento/dc_4302abda33aa
How to cite
Kolmogorov–Smirnov test — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_4302abda33aa (Metraipolis archive dc_4302abda33aa, sha256 83794af6d0cfc21390599274ff30907b9642fbf12f260f30ffcca72f10d424d8)
BibTeX
@misc{dc4302abda33aa,
title = {Kolmogorov–Smirnov test — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_4302abda33aa; sha256 83794af6d0cfc21390599274ff30907b9642fbf12f260f30ffcca72f10d424d8},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In statistics, the Kolmogorov–Smirnov test (also K–S test or KS test) is a nonparametric test of the equality of continuous (or discontinuous, see Section 2.2), one-dimensional probability distributions. It can be used to test whether a sample came from a given reference probability distribution (one-sample K–S test), or to test whether or not two samples came from the same distribution (two-sample K–S test). It is named after Andrey Kolmogorov and Nikolai Smirnov, who developed it in the 1930s. The Kolmogorov–Smirnov statistic quantifies a distance between the empirical distribution function of the sample and the cumulative distribution function of the reference distribution, or between the empirical distribution functions of two samples. The null distribution of this statistic is calculated under the null hypothesis that the sample is drawn from the reference distribution (in the one-sample case) or that the samples are drawn from the same distribution (in the two-sample case). In the one-sample case, the distribution considered under the null hypothesis may be continuous (see Section 2), purely discrete or mixed (see Section 2.2). In the two-sample case (see Section 3), the common distribution considered under the null hypothesis is otherwise unrestricted; it is classically assumed continuous, but the test can also be applied when this distribution is purely discrete or mixed, in which case tied observations may be present. The two-sample K–S test is one of the most useful and general nonparametric methods for comparing two samples, as it is sensitive to differences in both location and shape of the empirical cumulative distribution functions of the two samples. The Kolmogorov–Smirnov test can be modified to serve as a goodness of fit test. In the special case of testing for normality of the distribution, samples are standardized and compared with a standard normal distribution. This is equivalent to setting the mean and variance of the reference distribution equal to the sample estimates, and it is known that using these to define the specific reference distribution changes the null distribution of the test statistic (see Test with estimated parameters). Various studies have found that, even in this corrected form, the test is less powerful for testing normality than the Shapiro–Wilk test or Anderson–Darling test. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «statistical inference»). Fonte: Wikipedia in inglese, voce «Kolmogorov–Smirnov test» — https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test Wikidata Q575766 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q575766 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1376605359, consultata il 2026-10-07T19:07:11.092Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 267e574886371359b8c7a3e57242300e6b51dc2bc342a8c5ed0f6de6abf0dc5e