Cramer-von Mises Test

From GM-RKB
(Redirected from Cramer-Von Mises Test)
Jump to navigation Jump to search

A Cramer-von Mises Test is a hypothesis test that compares the goodness-of-fit of a cumulative distribution function to an empirical distribution function.



References

2016

[math]\displaystyle{ \omega^2 = \int_{-\infty}^{\infty} [F_n(x)-F^*(x)]^2\,\mathrm{d}F^*(x) }[/math]
In one-sample applications [math]\displaystyle{ F^* }[/math] is the theoretical distribution and [math]\displaystyle{ F_n }[/math] is the empirically observed distribution. Alternatively the two distributions can both be empirically estimated ones; this is called the two-sample case. The criterion is named after Harald Cramér and Richard Edler von Mises who first proposed it in 1928–1930.

1962

[math]\displaystyle{ \omega^2=\in_{-\infty}^{\infty}[F_N(x)−F(x)]^2\,dF(x) \quad(1) }[/math]
where [math]\displaystyle{ F_N(x) }[/math] is the empirical distribution function of the sample; that is, [math]\displaystyle{ FN(x)=k/N }[/math] if exactly [math]\displaystyle{ k }[/math] observations are less than or equal to [math]\displaystyle{ x(k=0,1,⋯,N) }[/math]. If there is a second sample, [math]\displaystyle{ y_1,\cdots,y_M }[/math] a test of the hypothesis that the two samples come from the same (unspecified) continuous distribution can be based on the analogue of [math]\displaystyle{ N\omega^2 }[/math], namely
[math]\displaystyle{ T=[NM/(N+M)]\int^\infty_{−\infty}[F_N(x)−G_M(x)]^2dH_{N+M}(x), \quad (2) }[/math]
where [math]\displaystyle{ GM(x) }[/math] is the empirical distribution function of the second sample and [math]\displaystyle{ H_{N+M(x)} }[/math] is the empirical distribution function of the two samples together [that is, [math]\displaystyle{ (N+M)H_{N+M}(x)=NF_N(x)+MG_M(x)] }[/math]. The limiting distribution of [math]\displaystyle{ N\omega^2 }[/math] as [math]\displaystyle{ N\rightarrow \infty }[/math] has been tabulated [2], and it has been shown ([3], [4a], and [7]) that TT has the same limiting distribution as [math]\displaystyle{ N\rightarrow \infty }[/math], [math]\displaystyle{ M\rightarrow \infty }[/math], and [math]\displaystyle{ N/M\rightarrow \lambda }[/math], where [math]\displaystyle{ \lambda }[/math] is any finite positive constant. In this note we consider the distribution of [math]\displaystyle{ T }[/math] for small values of [math]\displaystyle{ N }[/math] and [math]\displaystyle{ M }[/math] and present tables to permit use of the criterion at some conventional significance levels for small values of [math]\displaystyle{ N }[/math] and [math]\displaystyle{ M }[/math] . The limiting distribution seems a surprisingly good approximation to the exact distribution for moderate sample sizes (corresponding to the same feature for [math]\displaystyle{ N\omega^2 }[/math] [6]). The accuracy of approximation is better than in the case of the two-sample Kolmogorov-Smirnov statistic studied by Hodges [4].

1928