KS statistic.zip

Test multiple samples for same distribution - probKS


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 (2023). KS statistic.zip (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes