Smirnov Cramer Von Mises Test

버전 1.0.0.0 (2.14 KB) 작성자: G. Levin
Single sample Smirnov-Cramer-Von Mises goodness-of-fit hypothesis test.
다운로드 수: 4.3K
업데이트 날짜: 2003/6/13

라이선스 보기

Single sample Smirnov-Cramer-Von Mises goodness-of-fit hypothesis test.
H = MTEST(X,ALPHA) performs the particular case of Smirnov-Cramer-Von Mises test to determine whether the null hypothesis of composite normality CDF is a reasonable assumption regarding the population distribution of a random sample X with the desired significance level ALPHA. The Smirnov-Cramer-Von Mises test is based on interpolation procedure, so the significance level is restricted to
0.001 <= ALPHA <= 0.10.

H indicates the result of the hypothesis test according to the MATLAB rules of conditional statements:
H=1 => Do not reject the null hypothesis at significance level ALPHA.
H=0 => Reject the null hypothesis at significance level ALPHA.

Let S(x) be the empirical c.d.f. estimated from the sample vector X,
F(x) be the corresponding true normal population c.d.f., and CDF be a
normal c.d.f. with zero mean and unit standard deviation. The Smirnov-Cramer-Von Mises hypotheses and test statistic in this particular case are:

Null Hypothesis: F(x) is normal with zero mean and unit variance.
Alternative Hypothesis: F(x) is not normal with zero mean and unit variance.

Test Statistic: W^2 = integral from 0 to 1 of (S(x)-F(x))^2 dF(x)

The decision to reject the null hypothesis is taken when the test statistic exceeds the critical value.

X must be a row vector representing a random sample. ALPHA must be a scalar.
The function doesn't check the formats of X and ALPHA, as well as a number of the input and output parameters.

The asymptotic limit of the Smirnov-Cramer-Von Mises is reached when
LENGTH(X)>=3.

References:
W. T. Eadie, D. Drijard, F. E. James, M Roos and B. Sadoulet, "Statistical Methodsin Experimental Physics", North-Holland, Sec. Reprint, 1982.

인용 양식

G. Levin (2024). Smirnov Cramer Von Mises Test (https://www.mathworks.com/matlabcentral/fileexchange/3579-smirnov-cramer-von-mises-test), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R12.1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Open comments.