Summary - Non - Parametric Tests
Summary - Non - Parametric Tests
Email: [email protected]
Phone (office): 0379677681
One sample hypothesis testing procedure
Normal distribution, known mean μ and standard deviation σ (big
number of sample)
Z-Test
Step 2
Calculate each paired difference |D|.
Step 3
Rank the |D|, ignoring the signs (i.e. assign rank 1 to the smallest
|D|, rank 2 to the next etc.)
Step 4
Label each rank with its sign, according to the sign of |D|
Step 5
Calculate W+, the sum of the ranks of the positive |D|,
and W−, the sum of the ranks of the negative |D|
Step 6
Choose W = min(W−,W+)
Step 7
Use tables of critical values for the Wilcoxon signed rank sum test to
find the probability of observing a value of W or more extreme
If w > w = reject H0
The table below shows the hours of relief provided by two
analgesic drugs in 12 patients suffering from arthritis. Is there
any evidence that one drug provides longer relief than the
other?
Two sample hypothesis testing procedure
Normal distribution, known mean μ and standard deviation σ (big number of
sample)
In actuality, two sample z-tests are rarely used, because the estimate for the SE for
difference used here is biased. Instead, statisticians use a two-sample t-test.
Step 2:
Set the criterion
One-tail test or two-tail test? α=?
Step 3
Step 4
Calculate: wNA = sum of the ranks for observations from NA (the
smallest sample among the two)
wNA = 3+6+11+12+13+14+16 = 75
Step 5
Compare with value in the table
If wNA > wTable = reject H0
More than two sample hypothesis testing procedure
Assumed Normal distribution
ANOVA
F = MS(B) / MS(W)
𝑟𝑐
(𝑂𝑖 − 𝐸𝑖 )2 𝑎 2
χ2 = ~ χ (𝑟−1)(𝑐−1)
𝐸𝑖
𝑖=1
𝑛
𝑛[ 𝑎𝑑 − 𝑏𝑐 − ]2
χ2 = 2
(𝑎 + 𝑏)(𝑏 + 𝑑)(𝑎 + 𝑐)(𝑐 + 𝑑)
Table in Appendix is a condensed table of areas for the chi-
square distributions with various degrees of freedom
For a particular value of df, the entry in the table is the outcome
of χ2 df that cuts off the specified area in the upper tail of the
distribution
the df = (c-1)(r-1)