You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This was inspired by kstest2 from the matlab statistics toolbox.
Works from medium to large sample sizes, look at the references in the code.
Cite As
Juan Cardelino (2026). Two sample Cramer-von Mises hypothesis test (https://www.mathworks.com/matlabcentral/fileexchange/13407-two-sample-cramer-von-mises-hypothesis-test), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.4.0.0 (4.44 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0.0 | Corrected a bug in the rejection rule, as pointed out in the comments. Now it works as intented. Added an example along with an extensive test and comparison with the Kolgomorov-Smirnov test. |
||
| 1.3.0.0 | Corrected a bug in the rejection rule, as pointed out in the comments. Now it works as intented. Added an example along with an extensive test. |
||
| 1.2.0.0 | The boolean output of the test was reversed. Although the probability was correctly computed, the test rejected the null hypothesis when it had to accept it and vice versa. |
