Lecture11 - Nonparametric Two - Sample Tests PDF
Lecture11 - Nonparametric Two - Sample Tests PDF
Nonparametric method
非參數化之方法;無母數之方法
normal distribution(s))
When the underlying distributions are very similar, but both
Population
m1 m2
Data (sample)
××× × ×× × × × × × × ×
× ×× ×× × × × ××
One-tailed and Two-tailed test
˙ One-tailed
H0: m1≦m2 (null) vs. Ha: m1> m2 (alternative)
˙ Two-tailed
H0: m1=m2 vs. Ha: m1 ≠m2
samples
Data:
▪ X1,X2,…,Xn ; Y1,Y2,…,Ym
▪ Pooled sample: Z1<Z2<Z3<Z4<…<Zn+m
▪ Rank: 1,2,3,4,…,(n+m)
(Wilcoxon’s) rank sum test:
If the smaller rank sum (of X-group or Y-group)=W, and the
=nS×( nS+nL+1)/2;
Approximate Z-score:
both large.
X1,X2,…,Xn ;
Y1,Y2,…,Yn
- : for di negative)
(Wilcoxon’s) signed rank test
If the smaller |rank sum|=T, (absolute value of rank sum)
Under null (H0)
E(T)=[n(n+1)/2]÷2=n(n+1)/4;
Var(T)=n(n+1)(2n+1)/24 (Homework) (Proof: see below*)
SE(T)=√[n(n+1)(2n+1)/24] (SE=standard error)
Approximate Z-score:
[T-E(T)]÷SE(T)~N(0,1), approximately, when n is large.
output
Appendix 11.1 (★)