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.
Bill Whiten (2022). KS statistic.zip (https://www.mathworks.com/matlabcentral/fileexchange/47900-ks-statistic-zip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!