Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Kolmogorov–Smirnov test
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Implementations== The Kolmogorov–Smirnov test is implemented in many software programs. Most of these implement both the one and two sampled test. * [[Mathematica]] has [https://reference.wolfram.com/language/ref/KolmogorovSmirnovTest.html KolmogorovSmirnovTest]. * [[MATLAB]]'s Statistics Toolbox has [https://de.mathworks.com/help/stats/kstest.html kstest] and [https://nl.mathworks.com/help/stats/kstest2.html kstest2] for one-sample and two-sample Kolmogorov–Smirnov tests, respectively. * The [[R (programming language)|R]] package "KSgeneral"<ref name=KSgeneral/> computes the KS test statistics and its p-values under arbitrary, possibly discrete, mixed or continuous null distribution. * [[R (programming language)|R]]'s statistics base-package implements the test as [https://stat.ethz.ch/R-manual/R-patched/library/stats/html/ks.test.html ks.test {stats}] in its "stats" package. * [[SAS (software)|SAS]] implements the test in its PROC NPAR1WAY procedure. * In [[Python (programming language)|Python]], the [[SciPy]] package implements the test in the scipy.stats.kstest function.<ref>{{cite web |url= https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.kstest.html |title=scipy.stats.kstest |work=SciPy v1.7.1 Manual |publisher=The Scipy community |access-date= 26 October 2021}}</ref> * [[SYSTAT (statistics)|SYSTAT]] (SPSS Inc., Chicago, IL) * [[Java (programming language)|Java]] has an implementation of this test provided by [[Apache Commons]].<ref>{{cite web |url=https://commons.apache.org/proper/commons-math/javadocs/api-3.5/org/apache/commons/math3/stat/inference/KolmogorovSmirnovTest.html |title=KolmogorovSmirnovTest|access-date= 18 June 2019}}</ref> * [[KNIME]] has a node implementing this test based on the above Java implementation.<ref>{{cite web |url=https://www.knime.com/whats-new-in-knime-37#new-statistics-nodes |title=New statistics nodes |access-date= 25 June 2020}}</ref> *[[Julia (programming language)|Julia]] has the package [https://juliastats.org/HypothesisTests.jl/stable/ HypothesisTests.jl] with the function ExactOneSampleKSTest(x::AbstractVector{<:Real}, d::UnivariateDistribution).<ref>{{Cite web|url=https://juliastats.org/HypothesisTests.jl/stable/nonparametric/#Kolmogorov-Smirnov-test-1|title = Nonparametric tests · HypothesisTests.jl}}</ref> *[[StatsDirect]] (StatsDirect Ltd, Manchester, UK) implements [https://www.statsdirect.com/help/nonparametric_methods/smirnov.htm all common variants]. * [[Stata]] (Stata Corporation, College Station, TX) implements the test in ksmirnov (Kolmogorov–Smirnov equality-of-distributions test) command.<ref> {{ cite web |url=https://www.stata.com/manuals15/rksmirnov.pdf|title=ksmirnov — Kolmogorov –Smirnov equality-of-distributions test |access-date= 18 June 2019}} </ref> * [[PSPP]] implements the test in its [https://www.gnu.org/software/pspp/manual/html_node/KOLMOGOROV_002dSMIRNOV.html KOLMOGOROV-SMIRNOV] (or using KS shortcut function). * The Real Statistics Resource Pack for [[Microsoft Excel|Excel]] runs the test as KSCRIT and KSPROB.<ref>{{cite web |url=http://www.real-statistics.com/tests-normality-and-symmetry/statistical-tests-normality-symmetry/kolmogorov-smirnov-test/|title=Kolmogorov–Smirnov Test for Normality Hypothesis Testing | access-date= 18 June 2019}}</ref>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Kolmogorov–Smirnov test
(section)
Add topic