Cramer-von Mises goodness-of-fit test for simple Null Hypothesis
"CramervonMisesPVal_SimpleH0" function estimates p-value of acceptance of a simple Null Hypothesis: "CDF with specific parameters estimated on a sample", via the Monte-Carlo simulations. "CramervonMisesPVal_SimpleH0" function is based on a Cramer-von Mises g.o.f. test that is a good alternative to the ChiSquare g.o.f. test when a sample has a length too short for Chi2gof (say < 50). Cramer-von Mises test puts the same weight on an entire range of X (unlike the Anderson-Darling test putting more weight on tails of a distribution).
Cite As
Isabella Osetinsky-Tzidaki (2026). Cramer-von Mises goodness-of-fit test for simple Null Hypothesis (https://in.mathworks.com/matlabcentral/fileexchange/64124-cramer-von-mises-goodness-of-fit-test-for-simple-null-hypothesis), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Hypothesis Tests >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 3.5.0.0 |
