Lind 18e Chap016 PPT
Lind 18e Chap016 PPT
16-1 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education.
Learning Objectives
LO16-1 Use the sign test to compare two dependent
populations
LO16-2 Test a hypothesis about a median
LO16-3 Test a hypothesis of dependent populations
using the Wilcoxon signed-rank test
LO16-4 Test a hypothesis of independent populations
using the Wilcoxon rank-sum test
LO16-5 Test a hypothesis of several independent
populations using the Kruskal-Wallis test
LO16-6 Test and interpret a nonparametric hypothesis
test of correlation
16-2 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Sign Test
The sign test is based on the sign difference between two
related observations
No assumptions need to be made about the shape of the
two populations
For small samples, find the number of + or – signs and
refer to the binomial distribution for the critical value
Example
A dietitian wishes to see if by taking a certain mineral, a
person’s cholesterol level decreases
She measures the individuals before and after
If there has been an decrease “+,” an increase “−”
16-3 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Sign Test Example
The director of information systems at Samuelson Chemicals recommended that an
in-plant training program be instituted for certain managers in Payroll, Accounting, and
Production Planning. A sample of 15 managers is randomly selected from the three
departments and rated on their technology knowledge.Then, after a 3 month training
program, the same assessment rated the managers knowledge again. A “+” sign
indicates an improvement, and a “−” sign indicates a decline in technology competence.
16-4 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Sign Test Example Continued
Step 2: Select the level of significance; we select .10
Step 3: Decide on the test statistic; it is the number of “+” signs
Step 4: Formulate a decision rule; if the number of pluses in the sample is 10 or more,
the null hypothesis is rejected and the alternate hypothesis accepted
Step 5: Make a decision; reject H0, the number of pluses is 11
Step 6: Interpret, we conclude the three-month training course was effective. It
increased the technology knowledge of the managers
16-5 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Testing a Hypothesis about a Median
The median test is used to test a hypothesis about a
population median
Find μ and σ for a binomial distribution
The z distribution is used as the test statistic
The value of z is computed from formula 16-1, where x is
the number of observations above or below the median
A value above the median is assigned a “+”
A value below the median is assigned a “−”
A value that is the same as the median is dropped from
the analysis
16-6 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Testing a Hypothesis about a Median
Example
The U.S. Bureau of Labor Statistics reported in 2018 that the median amount spent
eating out by American families is about $3,000 annually.The food editor of the Portland
Tribune wishes to know if the citizens of Portland differ. She selected a random sample
of 22 families and found 15 spent more than $3,000 last year eating out, 5 spent less
than that, and 2 spent exactly $3,000. Is it reasonable to conclude that the median
amount spent this year in Portland, Oregon is not equal to $3,000?
Step 1: State the null and the alternate hypothesis
H0: Median = $3,000
H1: Median ≠ $3,000
Step 2: Select the level of significance; we select 0.05
Step 3: Decide on the test statistic; it is based on count
The strategy here is similar to the strategy used for the sign test.
1.We use the binomial distribution as the test statistic.
2.The number of trials is 20.
3.The hypothesized probability of a success is .50.
16-7 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Testing a Hypothesis about a Median
Example Continued
Step 4: Formulate the decision rule; if the count is 5 or less, or 15 or more, reject the
null hypothesis.
Step 5: Make decision; reject the null hypothesis, 15 families spent more than $3,000
Step 6: Interpret; the food editor should conclude that there is a difference in the
median amount spent in Portland from that reported by the BLS in 2018
16-8 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Wilcoxon Signed-Rank Test for
Dependent Populations
The Wilcoxon sign-rank test is a nonparametric test for
differences between two dependent populations
The assumption of normally distributed populations is not
required
The steps to conduct the test are
1. Rank absolute differences between the related
observations
2. Apply the sign of the differences to the ranks
3. Sum negative ranks and positive ranks
4. The smaller of the two sums is the computed T value
5. Refer to Appendix B.8 for the critical value, and make
a decision regarding H0
16-9 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Wilcoxon Signed-Rank Test for
Dependent Populations Example
Fricker’s is a family restaurant chain located primarily in the southeastern part of the
United States. It offers a full menu, but its specialty is chicken. Recently, the owner,
Bernie Frick, developed a new spicy flavor for the batter in which the chicken is
cooked. Before replacing the current flavor, he wants to be sure that patrons will like
the spicy flavor.To begin the taste test, he selects a random sample of 15 customers.
Each customer is given a piece of the current chicken and asked to rate it on a scale of
1 to 20 and then the customer is given a piece of spicy chicken and asked to rate it.
Is it reasonable to
conclude that the spicy
flavor is preferred?
16-10 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Wilcoxon Signed-Rank Test for
Dependent Populations Example Continued
Step 1: State the null and the alternate hypothesis
H0:There is no difference in the ratings of the two flavors
H1:The spicy ratings are higher
Step 2: Select the level of significance; we select .05
Step 3: Select the test statistic; we’ll use T
Step 4: Formulate the decision rule; reject the null hypothesis if the smaller of the rank
sums is 25 or less
16-11 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Wilcoxon Signed-Rank Test for
Dependent Populations Example Concluded
Step 5: Make decision; in this case the smaller rank sum is 30, do not reject H0
Step 6: Interpret; we cannot conclude there is a difference in the flavor ratings between
the current and the spicy.
16-12 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Wilcoxon Rank-Sum Test
The Wilcoxon rank-sum test is used to test whether two
independent samples came from equivalent populations
The assumption of normally distributed populations is not
required
The population variances need not be equal either
The data must be at least ordinal scale
If each sample contains at least 8 observations, use the
standard normal distribution as the test statistic
16-13 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Wilcoxon Rank-Sum Test Example
Dan Thompson, the president of OTG airlines, recently noted an increase in the
number of bags that were checked in at the gate in Atlanta. He is interested in
determining whether there are more gate-checked bags from Atlanta compared with
flights leaving Chicago. A sample of nine flights from Atlanta and eight from Chicago are
reported in the table.
16-14 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Wilcoxon Rank-Sum Test Example
Continued
Step 1: State the null and alternate hypothesis
H0:The number of gate-checked bags for Atlanta is the same or less than the
number of gate checked bags for Chicago
H1:The number of gate-checked bags for Atlanta is more than the number of
gate-checked bags for Chicago
Step 2: Select the level of significance; we select .05
Step 3: Select the test statistic; we use z
Step 4: Formulate the decision rule;reject H0 if z > 1.645
16-15 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Wilcoxon Rank-Sum Test Example
Continued
Step 6: Interpret; it appears that the number of checked bags in Atlanta are the same as
those in Chicago
MegaStat output:
16-16 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Kruskal-Wallis Test: ANOVA by Ranks
The Kruskal-Wallis one-way ANOVA by ranks is used to
test whether several populations are the same
The assumption of normally distributed populations is not
required
There are three requirements for this test:
The samples are from independent populations
The population variances must be equal
The samples are from normal populations
The test statistic follows the chi-square distribution, if
there are at least five observations in each sample
16-17 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Kruskal-Wallis Test: ANOVA by Ranks
To compute the Kruskal-Wallis test statistic
All the samples are combined
The combined values are ordered from low to high
The ordered values are replaced by ranks, starting with 1 for
the smallest value
Compute the value of the test statistic from the following
16-18 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Kruskal-Wallis Test: ANOVA by Ranks
Example
The Hospital Systems of the Carolinas operate three hospitals in the Greater
Charlotte area: St. Luke’s Memorial, Swedish Medical Center, and Piedmont Hospital.
The director of administration is concerned about the waiting time of patients with
non-life-threatening injuries that arrive during weekday evenings at the three hospitals.
16-19 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
The Kruskal-Wallis Test: ANOVA by Ranks
Example
Step 1: State the null and alternate hypothesis
H0: The population distributions of waiting times are the same for the three
hospitals
H1: The population distributions of waiting times are not all the same for the
three hospitals
Step 2: Select the level of significance; he selects .05
Step 3: Select the test statistic; he’ll use chi-square
Step 4: Formulate the decision rule, reject H 0 if H > 5.991
Step 5: Calculate H; make decision, do not reject H0
Step 6: Interpret; there is not enough evidence to conclude that there are differences in
wait times
16-20 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Rank-Order Correlation
Spearman’s coefficient of rank correlation is a measure of
the association between two ordinal-scale variables
It can range from −1 up to 1
A value of −1 indicates perfect negative correlation
A value 1 indicates perfect positive correlation
A value of 0 indicates there is no association between
the variables
Example
Two university staff members are asked to rank 10 faculty
research proposals for funding purposes. Do the staff
members rank the same proposals in the same way?
16-21 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Rank-Order Correlation Continued
There are several conditions when it is not appropriate
or can be misleading.
Those conditions include:
1. When the scale of measurement of one of the two variables
is ordinal (ranked).
2. When the relationship between the variables is not linear.
3. When one or more of the data points are quite different
from the others.
16-22 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Spearman’s Coefficient Continued
The value of rs is computed from the following formula
16-23 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Spearman’s Coefficient Example
Recent studies focus on the relationship between the age of online shoppers and the
number of minutes spent browsing on the Internet.The table below shows a sample of
15 online shoppers who actually made a purchase last week. Included is their age and
time, in minutes, spent browsing on the Internet last week.
16-24 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Spearman’s Coefficient Example Continued
4. Find the coefficient of rank correlation.
16-25 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Spearman’s Coefficient Example Concluded
5. Conduct a test of hypothesis to determine if there is a negative association
between the ranks.
Step 6: Interpret; there is evidence of a negative association between the age of the
Internet shopper and the time spent browsing the Internet
16-26 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Chapter 16 Practice Problems
16-28 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Question 5 LO16-2
16-29 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Question 7 LO16-3
16-30 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Question 13 LO16-4
Tucson State University offers two MBA programs. In the first program, the
students meet two nights per week at the university’s main campus in
downtown Tucson. In the second program, students only communicate online
with the instructor.The director of the MBA experience at Tucson wishes to
compare the number of hours studied last week by the two groups of
students.A sample of 10 on-campus students and 12 online students revealed
the following information.
Do not assume the two distributions of study times (in hours) follow a
normal distribution. At the .05 significance level, can we conclude the online
students spend more time studying?
16-31 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Question 19 LO16-5
Davis Outboard Motors Inc. recently developed an epoxy painting process to
protect exhaust components from corrosion. Bill Davis, the owner, wishes to
determine whether the durability of the paint was equal for three different
conditions: saltwater, freshwater without weeds, and freshwater with a heavy
concentration of weeds. Accelerated-life tests were conducted in the
laboratory, and the number of hours the paint lasted before peeling was
recorded. Five boats were tested for each condition.
Use the Kruskal-Wallis test and the .01 level to determine whether the
number of hours the paint lasted is the same for the three water conditions.
16-32 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.
Question 23 LO16-6
Ten new sales representatives for Clark Sprocket and Chain, Inc. were
required to attend a training program before being assigned to a regional sales
office. At the end of the program, the representatives took a series of tests
and the scores were ranked. For example, Arden had the lowest test score
and is ranked 1; Arbuckle had the highest test score and is ranked 10.At the
end of the first sales year, the representatives’ ranks based on test scores
were paired with their first year sales.
16-33 Copyright ©2021 McGraw-Hill Education. All rights reserved. No reproduction or distribution without
the prior written consent of McGraw-Hill Education.