 |
Two sample inference
Two sample KS test
We have same set up as before. We want to test
H0: F = G Vs H1: F ≠ G
or
H0: F = G Vs H1: F G
or
H0: F = G Vs H1: F G
Let Fm and Gn denote the empirical distributions of
the X's and the Y's , respectively.
Define
D = supx |
Fm(x)-Gn(x) |
D+ = supx
(Fm(x)-Gn(x))
D = supx
(Gn(x)-Fm(x))
| Exercise 8.1:
Show that
D+ =
max{0, maxi(i/m -
Gn(X(i)))}
Here X(i) is the i-th order statistic of the X's.
|
| Exercise 8.2:
State and prove a similar result for D-
|
| Exercise 8.3:
Show that
D = max{ D-, D+}
|
| Exercise 8.4:
We want want to reject H0 for large values of the test
statistic. Which test statistic should we use for which H1?
|
The actual distributions of D, D-and D+ are
complicated. Here are the asymptotic distributions under H0.
|