Professional Documents
Culture Documents
Procedures
4
The Kruskal-Wallis Test
Let N = Ji, the total number of observations in the data
set, and suppose we rank all N observations from 1
(the smallest Xij) to N (the largest Xij).
When
H0: 1 = 2 = · · · = 1
is true, the N observations all come from the same
distribution, in which case all possible assignments of the
ranks 1, 2, . . . , N to the I samples are equally likely and
we expect ranks to be intermingled in these samples.
5
The Kruskal-Wallis Test
If, however, H0 is false, then some samples will consist
mostly of observations having small ranks in the combined
sample, whereas others will consist mostly of observations
having large ranks.
6
The Kruskal-Wallis Test
The Kruskal-Wallis test statistic is a measure of the extent
to which the Ri’s deviate from their common expected
value (N + 1)/2, and H0 is rejected if the computed value of
the statistic indicates too great a discrepancy between
observed and expected rank averages.
7
The Kruskal-Wallis Test
Test Statistic
(15.15)
I>3 Ji 5 (i = 1, . . . , I )
12
Friedman’s Test for a Randomized
Block Experiment
13
Friedman’s Test for a Randomized Block Experiment
Suppose
Xij = + i + j + ij,
Then to test
H0: 1 = 2 = · · · = 1 = 0,
15
Friedman’s Test for a Randomized Block Experiment
Test Statistic
16
Friedman’s Test for a Randomized Block Experiment
17
Example 10
The article “Physiological Effects During Hypnotically
Requested Emotions” (Psychosomatic Med., 1963:
334–343) reports the following data (Table 15.7) on skin
potential (mV) when the emotions of fear, happiness,
depression, and calmness were requested from each of
eight subjects.
Thus
fr = (1686) – 3(8)(5)
= 6.45
19