Professional Documents
Culture Documents
Nonparametric Methods: Analysis of Ranked Data: Mcgraw-Hill/Irwin
Nonparametric Methods: Analysis of Ranked Data: Mcgraw-Hill/Irwin
Chapter 18
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.
GOALS
18-2
The Sign Test
EXAMPLE
The Sign Test is based on the sign of a The director of information systems at Samuelson Chemicals
difference between two related recommended that an in-plant training program be instituted for
managers. The objective is to improve the knowledge of
observations. database usage in accounting, procurement, production, and so
Assumption regarding the shape of the on. A sample of 15 managers was selected at random. A panel of
population of differences is NOT necessary. database experts determined the general level of competence of
each manager with respect to using the database. Their
The binomial distribution is the test statistic competence and understanding were rated as being either
for small samples and the standard normal outstanding, excellent, good, fair, or poor. After the three-month
(z) for large samples. training program, the same panel of information systems experts
The test requires dependent (related) rated each manager again. The two ratings (before and after) are
shown along with the sign of the difference. A “+” sign indicates
samples. improvement, and a “-” sign indicates that the manager’s
competence using databases had declined after the training
Procedure to conduct the test: program.
Determine the sign (+ or -) of the difference
between pairs.
Did the in-plant training program effectively increase the competence
of the managers using the company’s database?
Determine the number of usable pairs.
Compare the number of positive (or
negative) differences to the critical value.
n is the number of usable pairs (without
ties), X is the number of pluses or minuses,
and the binomial probability
π = .5
18-3
The Sign Test –
Example
18-6
Wilcoxon Signed-Rank Test for
Dependent Samples - Example
Hypothesis:
H0: There is no difference in the
ratings of the two flavors.
H1: The spicy ratings are higher.
Decision Rule:
Reject H0 if the smaller of the
rank sums is 25 or less.
Computed T = 30
Critical T = 25
18-7
Wilcoxon Signed-Rank Test for Dependent
Samples - Example
18-8
Wilcoxon Rank-Sum Test for Independent
Samples
The Wilcoxon Rank-Sum Test is used to determine if two independent samples came from the same or equal populations.
No assumption about the shape of the population is required.
The data must be at least ordinal scale.
Each sample must contain at least eight observations.
To determine the value of the test statistic W, all data values are ranked from low to high as if they were from a single
population.
The sum of ranks for each of the two samples is determined.
The data are ranked as if the observations were part of a single sample.
The sum of ranks for each of the two samples is determined
If the null hypothesis is true, then the ranks will be about evenly distributed between the two samples, and the sum of the
ranks for the two samples will be about the same.
18-9
Wilcoxon Rank-Sum Test for Independent
Samples - Example
Dan Thompson, the president of CEO Set up Hypothesis and Decision Rule:
Airlines, recently noted an Hypothesis:
increase in the number of no- H0: The population distribution of no-shows is the same or
shows for flights out of Atlanta. less for Atlanta and Chicago.
He is particularly interested in H1: The population distribution of no-shows is larger for
determining whether there are Atlanta than for Chicago.
more no-shows for flights that Decision Rule: Reject H0 if: computed Z > critical Z
originate from Atlanta compared .05 level of significance = 1.65 critical Z
with flights leaving Chicago. A
sample of nine flights from
Atlanta and eight from Chicago Rank the observations from both samples as if they were a single
are reported on table. group.
At the .05 significance level, can we
conclude that there are more no-
shows for the flights originating
in Atlanta?
The Chicago flight with only 8 no-shows had the fewest, so it is assigned
a rank of 1. The Chicago flight with 9 no-shows is ranked 2, and so on.
18-10
Wilcoxon Rank-Sum Test for Independent
Samples - Example
The value of W is calculated for the Atlanta group and is found to be 96.5, which is the sum of the ranks for the
no-shows for the Atlanta flights.
The computed z value (1.49) is less than 1.65, the null hypothesis is not
rejected. It appears that the number of no-shows is the same in Atlanta as in Chicago.
18-11
Kruskal-Wallis Test:
Analysis of Variance by Ranks
EXAMPLE
A management seminar consists of executives from manufacturing, finance,
This is used to compare three or more samples to determine if they came
from equal populations.
and engineering. Before scheduling the seminar sessions, the seminar
leader is interested in whether the three groups are equally
The ordinal scale of measurement is required.
It is an alternative to the one-way ANOVA. knowledgeable about management principles. Plans are to take samples
The chi-square distribution is the test statistic.
Each sample should have at least five observations.
of the executives in manufacturing, in finance, and in engineering and to
The sample data is ranked from low to high as if it were a single administer a test to each executive. If there is no difference in the scores
group.
for the three distributions, the seminar leader will conduct just one
session. However, if there is a difference in the scores, separate
sessions will be given. We will use the Kruskal-Wallis test instead of
ANOVA because the seminar leader is unwilling to assume that (1) the
populations of management scores follow the normal distribution or (2)
the population standard deviations are the same.
18-12
Kruskal-Wallis Test:
Analysis of Variance by Ranks - Example
18-14
Rank-Order Correlation - Example
Conclusion:
The value of .726 indicates a strong positive association between the ratings of the on-campus recruiter and the
ratings of the training staff.
The graduates that received high ratings from the on-campus recruiter also tended to be the ones that received high
ratings from the training staff.
18-15