KS statistic.zip
Version 1.0.0.0 (51.2 KB) by
Bill Whiten
Test multiple samples for same distribution - probKS
Extends Kolmogorov-Smirnov test to two or more distribution sample vectors using maximum difference between the cumulative probabilities as the test statistic.
Data x has columns of sample vectors to be tested for same distribution.
pr=probKS(x) Probability for random samples to have statistic value greater than that for x.
Can also test data with different numbers samples given in a cell array.
Cite As
Bill Whiten (2026). KS statistic.zip (https://se.mathworks.com/matlabcentral/fileexchange/47900-ks-statistic-zip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Hypothesis Tests >
Find more on Hypothesis Tests in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
KS statistic/
KS statistic/html/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
