2018-10-24
Uses directions of differences
One-sample case: compares to fixed value
Paired two-sample case: compares medians
Simple - few assumptions thus widely applicable
Significance threshold can be adjusted
Can be used for quick assessment of direction
Alternative to sign test
Calculate differences for each pair
Rank the paired differences by magnitude
Calculate sum of positive ranks: \(W^+\)
Calculate sum of negative ranks: \(W^-\)
Compare smaller of and \(W^+\) and \(W^-\) to the critical value from the tables
Conclusion: there is no evidence of a change in urine production before and after the drug
Statistics | Group 1 | Group 2 |
---|---|---|
Minimum | 9.03 | 0.4 |
Median | 9.94 | 9.94 |
Maximum | 19.48 | 10.85 |
Mann-Whitney U=303, p=0.03
\[ U_1 = n_1n_2 + \frac{n_1(n_1+1)}{2} - R_1 \]
\[ U_2 = n_1n_2 + \frac{n_2(n_2+1)}{2} - R_2 \]
\(U = min (U_1, U_2)\)
\[ U_1 = 8 \times 10 + \frac{8 (8+1)}{2} - 101 = 15 \]
\[ U_2 = 8 \times 10 + \frac{10 (10+1)}{2} - 70 = 65 \]
\[ U - min(U_1,U_2) = min(15,65) = 15\]
Sensitive to central tendencies of scores