KS statistic.zip

Test multiple samples for same distribution - probKS
638 Downloads
Updated 22 Sep 2014

View License

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 Linux
Version Published Release Notes
1.0.0.0