Chapter 13 Text PDF
Chapter 13 Text PDF
13
case study
Introduction
Section 13.1 One-Way Analysis of Variance
starnes13_002-031hr.indd 2
4/11/11 2:16 PM
Analysis of
Variance
Do Pets or Friends Help Reduce Stress?
If you are a dog lover, perhaps having your dog along reduces the effect of stress. To examine how pets
affect people in stressful situations, researchers recruited 45 women who said they were dog lovers.
Fifteen of the subjects were randomly assigned to each of three groups: to do a stressful task alone
(control, C), with a good friend present (F), or with their dog present (pet, P). The stressful task was to
count backward by 13s or 17s. The subjects mean heart rate (in beats per minute) during the task is one
measure of the effect of stress. The table below shows the data.1
Group
Rate
Group
Rate
Group
Rate
Group
Rate
69.169
68.862
84.738
75.477
99.692
87.231
84.877
62.646
70.169
64.169
58.692
70.077
80.369
91.754
79.662
88.015
87.446
87.785
69.231
81.600
75.985
91.354
73.277
86.985
83.400
100.877
84.523
92.492
102.154
77.800
70.877
72.262
86.446
97.538
89.815
65.446
80.277
85.000
98.200
90.015
101.062
76.908
99.046
97.046
69.538
Mean
StDev
Control
15
82.524
9.242
Friend
15
91.325
8.341
Pet
15
73.483
9.970
starnes13_002-031hr.indd 3
4/11/11 2:16 PM
4 CHAPTER
13
Analysis of Variance
Introduction
Which of three exercise routines helps overweight people lose the most weight? Who
spends more time on the Internetfreshmen, sophomores, juniors, or seniors? Which
of six brands of AAA batteries lasts longest? In each of these settings, we wish to compare the mean response for several populations or treatments. The statistical technique for comparing several means is called analysis of variance, or simply ANOVA.
This brief chapter examines the big ideas and the computational details of ANOVA.
Activity
Come fly with me
MATERIALS: Three paper airplane pattern sheets (in the Teachers Resource Binder), scissors, masking
tape, tape measures, graphing calculator
The purpose of this Activity is to see which of three paper airplane models
A, B, or Cflies farthest. Specifically, the object is to determine whether there is
a significant difference in the average distance flown for the three plane models.
The null hypothesis is that there is no difference among the mean distances flown
by Models A, B, and C:
H0:mA = mB = mC
The alternative hypothesis is that there is a difference in the average flight distances.
1. a class, design an experiment to determine which of the three paper airAs
plane models flies the farthest. Be sure to follow the principles of experimental
design that you learned in Chapter 4.
2.
Carry out your plan and collect the necessary data.
3.
Compare the flight distances for the three models graphically and numerically.
Does it appear that all the means are about the same, or is at least one mean different from the other means?
Note: Keep these data handy for further analysis later in the chapter.
13.1
In Section 13.1,
youll learn about:
Comparing means: the
analysis of variance F test
The idea of analysis of
variance
Conditions for ANOVA
F distributions and
degrees of freedom
One-Way Analysis
of Variance
The two-sample t procedures of Chapter 10 compare the means of two populations or the mean responses to two treatments in an experiment. Of course, studies
dont always compare just two groups. In Chapter 11, we saw that a chi-square test
for homogeneity could be used to compare the proportion of successes among
several populations or treatments. We need a method for comparing any number
of means.
Heres an example that introduces the basic idea of a significance test involving
more than two means. As always, we begin with data analysis before proceeding
to inference.
ANOVA calculations
Putting it all together:
one-way ANOVA
starnes13_002-031hr.indd 4
4/11/11 2:16 PM
46.75
46.81
47.12
46.67
47.43
46.44
46.64
48.07
48.34
48.15
50.26
50.12
46.34
46.94
48.36
H. caribaea red
41.90
42.01
41.93
43.09
41.47
41.69
39.78
40.57
39.63
42.18
40.66
37.87
39.16
37.40
38.20
38.07
38.10
37.97
38.79
38.23
38.87
37.78
38.01
H. caribaea yellow
36.78
37.02
36.52
36.11
36.03
35.45
38.13
35.17
36.82
36.66
35.68
36.03
34.57
37.10
34.63
Lets follow the strategy we learned way back in Chapter 1: use graphs and numerical summaries to compare the three distributions of flower length. Figure 13.1 is
a side-by-side stemplot of the data. The lengths have been rounded to the nearest
tenth of a millimeter.
bihai
34
35
36
37
38
39
40
41
42
43
44
45
46 3 4 6 7 8 8 9
47 1 1 4
48 1 2 3 4
49
50 1 3
red
34
35
36
37 4 8
38 0 0
39 2 6
40 6 7
41 57
42 0 2
43 1
44
45
46
47
48
49
50
9
1 12289
8
99
yellow
34 6 6
35 2 5 7
36 0 0 1 5 7 8 8
37 0 1
38 1
39
40
41
42
43
44
45
46
47
48
49
50
FIGURE 13.1
Side-by-side stemplots comparing the lengths in
millimeters of random samples of flowers from three varieties of
Heliconia.
starnes13_002-031hr.indd 5
Variety
Sample
size
Mean
length
Standard
deviation
bihai
16
47.60
1.213
Red
23
39.71
1.799
Yellow
15
36.18
0.975
4/11/11 2:16 PM
6 CHAPTER
13
Analysis of Variance
H0:m1 = m2 = m3
The alternative hypothesis is that there is some difference. That is, not all three
population means are equal:
Ha: not all of m1, m2, and m3 are equal
As with the chi-square test for homogeneity, the alternative hypothesis is no longer
one-sided or two-sided. It is many-sided because it allows any relationship other
than all three equal. For example, Ha includes the case in which m2 = m3 but m1
has a different value.
When the conditions for inference are met, the appropriate significance test for
comparing means is the analysis of variance F test. Analysis of variance is usually
abbreviated as ANOVA.
starnes13_002-031hr.indd 6
4/11/11 2:16 PM
(b)
One-way ANOVA
Analysis of variance
F statistic
starnes13_002-031hr.indd 7
It is one of the oddities of statistical language that methods for comparing means
are named after the variance. The reason is that the test works by comparing two
kinds of variation. Analysis of variance is a general method for studying sources of
variation in responses. Comparing several means is the simplest form of ANOVA,
called one-way ANOVA.
The analysis of variance F statistic for testing the equality of several means has
this form:
F=
Well give more details about how to calculate this test statistic shortly. For now,
note that the F statistic can take only values that are zero or positive. It is zero only
when all the sample means are identical and gets larger as they move farther apart.
Large values of F are evidence against the null hypothesis H0 that all population
or treatment means are the same. Although the alternative hypothesis Ha is manysided, the ANOVA F test is one-sided because any violation of H0 tends to produce
a large value of F.
4/11/11 2:16 PM
8 CHAPTER
13
Analysis of Variance
Robust
The first three conditions should be somewhat familiar from our study of the
two-sample t procedures for comparing two means. As usual, the design of the
data production is the most important condition for inference. Biased sampling or
confounding can make any inference meaningless. If we do not actually
draw separate random samples from each population or carry out a randomized comparative experiment, our scope of inference is very limited.
Because no real population has an exactly Normal distribution, the usefulness
of inference procedures that assume Normality depends on how sensitive they are
to departures from Normality. As long as there are no outliers or strong skewness,
the ANOVA F test is fairly robust against non-Normality. This is especially true
when the sample sizes are equal. In this setting, ANOVA becomes safer as the
sample sizes get larger.
The fourth condition is annoying: ANOVA assumes that the variability of observations, measured by the standard deviation, is the same for all populations or
treatments. The t test for comparing two means (Chapter 10) does not require
equal standard deviations. Unfortunately, the ANOVA F test for comparing more
than two means is less broadly valid. It is not easy to check the condition that the
populations (or treatments) have equal standard deviations. You must either seek
expert advice or rely on the robustness of ANOVA.
How serious are unequal standard deviations? ANOVA is not too sensitive to
violations of the condition, especially when all samples have the same or similar
sizes and no sample is very small. When designing a study, try to use samples or
groups of about the same size. The sample standard deviations estimate the population standard deviations, so check before doing ANOVA that the sample standard deviations are similar to each other. We expect some variation among them
due to chance. Here is a rule of thumb that is safe in almost all situations.
starnes13_002-031hr.indd 8
4/11/11 2:16 PM
Bihai
Red
Yellow
starnes13_002-031hr.indd 9
4/11/11 2:16 PM
10 CHAPTER
13
Analysis of Variance
Bromeliads are tropical flowering plants. Many are epiphytes that attach to trees and
o
btain moisture and nutrients from air and rain. Their leaf bases form cups that collect water and are home to the larvae of many insects. As a preliminary step to a study of changes
in the nutrient cycle, Jacqueline Ngai and Diane Srivastava examined the effects of adding
fertilizer in the form of nitrogen, phosphorus, or both to the cups. They randomly assigned
8 bromeliads growing in Costa Rica to each of four treatment groups, including an unfertilized control group. A monkey destroyed one of the plants in the control group, leaving
7 bromeliads in that group. Here are the numbers of new leaves on each plant over the
7 months following fertilization:3
Nitrogen
Phosphorus
Both
Neither
15
14
14
11
14
14
16
13
15
14
15
16
16
11
14
15
17
13
14
15
18
12
13
11
17
15
17
12
13
15
14
1.
State hypotheses for an ANOVA F test in this setting. Be sure to define your parameters.
2.
Check conditions for carrying out the test in Question 1.
To find the P-value for this statistic, we must know the sampling distribution of F
when the null hypothesis (all population or treatment means are equal) is true and
F distribution the conditions are satisfied. This sampling distribution is an F distribution.
The F distributions are a family of right-skewed distributions that take only values greater than 0. The density
curves in Figure 13.3 illustrate their shapes. A specific F
F(9, 10)
F(2, 51)
distribution is determined by the degrees of freedom of
density curve
density curve
thenumerator and denominator of the F statistic. When
describing an F distribution, always give the numerator
degrees of freedom first. Our brief notation will be F (df1,
df2) for the F distribution with df1 degrees of freedom
in the numerator and df2 degrees of freedom in the
0
3.02
0
3.18
denominator. Interchanging the degrees of freedom changes the distribution, so the order is
FIGURE 13.3
Density curves for two F distributions. Both
important.
are right-skewed and take only positive values. The upper
5% critical values are marked under the curves.
starnes13_002-031hr.indd 10
4/11/11 2:16 PM
EXAMPLE
Refer to the previous Check Your Understanding. Find the degrees of freedom for the
ANOVA F test in the bromeliad study. Show your work.
ANOVA Calculations
Now we will give the actual formula for the ANOVA F statistic. Suppose the
Random condition is met. Subscripts from 1 to k tell us which sample or group a
statistic refers to:
Population
Sample size
Sample mean
x1
s1
n2
x2
starnes13_002-031hr.indd 11
n1
nk
xk
s2
sk
4/11/11 2:16 PM
12 CHAPTER
13
Analysis of Variance
You can find the F statistic from just the sample sizes ni, the sample means xi, and
the sample standard deviations si. You dont have to go back to the individual
observations.
As weve already seen, the ANOVA F statistic has the form
F=
Mean squares
n1( x1 x )2 + n2 ( x2 x )2 + + nk ( xi x )2
k 1
The mean square in the denominator of F measures variation among individual observations in the same sample. For any one sample, the sample variance
si2 does this job. For all k samples together, we use an average of the individual
sample variances. It is another weighted average, in which each si2 is weighted
by its degrees of freedom ni - 1. The resulting mean square is called the mean
square for error (MSE):
MSE =
2
2
( n1 1)s1 + ( n2 1)s2 + + ( nk 1)si2
N k
Error doesnt mean a mistake has been made. Its a traditional term for chance
variation.
starnes13_002-031hr.indd 12
4/11/11 2:16 PM
MSG
MSE
n1( x1 x )2 + n2 ( x2 x )2 + + nk ( xi x )2
k 1
2
2
( n1 1)s1 + ( n2 1)s2 + + ( nk 1)si2
N k
When H0 is true and the Random, Normal, Independent, and Same SD conditions are met, the F statistic has the F distribution with k - 1 and N - k
degrees of freedom.
Sums of squares
ANOVA table
The denominators in the formulas for MSG and MSE are the two degrees of
freedom k - 1 and N - k of the F test. The numerators are called sums of squares,
from their algebraic form. It is usual to present the results of ANOVA in an
ANOVA table. Output from software usually includes an ANOVA table, like the
one in Figure 13.4 for the Heliconia study. You can check that each mean square
MS is the corresponding sum of squares SS divided by its degrees of freedom df,
and that the F statistic is MSG divided by MSE.
FIGURE 13.4
Minitab output from a one-way ANOVA for the flower length data.
starnes13_002-031hr.indd 13
4/11/11 2:16 PM
14 CHAPTER
13
Analysis of Variance
We can use tables of F critical values to get the P-value for an ANOVA F test.
Doing so is awkward, however, because we need a separate table for every pair of
degrees of freedom df1 and df2. Fortunately, software gives you P-values for the
ANOVA F test without the need for a table. That leaves us free to interpret the
results of the test.
EXAMPLE
Problem:
(a)Interpret the P-value in context.
(b)What conclusion would you draw? Justify your answer.
Solution:
(a)If the null hypothesis H0 : m1 = m2 = m3 of no difference in the population mean flower lengths
is true, the probability of getting a difference among the sample mean flower lengths as large as or
larger than the one observed in the study just by the chance involved in the random sampling is less
than 1 in 10,000.
(b)Because the P-value is so small (less than any of our usual a levels), we would reject H0.
There is very strong evidence that the three varieties of flowers do not all have the same population
mean length.
For Practice Try Exercise 13
The F test doesnt say which of the three means are significantly different. It
appears from our earlier data analysis that bihai flowers are distinctly longer than
red or yellow. Red and yellow are closer in length, but the red flowers tend to be
longer. The Minitab output in Figure 13.4 gives confidence intervals for all three
means that help us see which means differ and by how much. None of the intervals overlap, and bihai is far above the other two. Note: These are 95%
confidence intervals for each mean separately. We are not 95% confident
that all three intervals cover the three means. This is another example of
the peril of multiple comparisons.
The figure at the top of page 15 shows Minitab ANOVA output for the bromeliad study
described in the Check Your Understanding on page 10.
1.
Interpret the P-value in context.
2.
What conclusion would you draw?
starnes13_002-031hr.indd 14
4/11/11 2:16 PM
THINK
ABOUT
IT
sp
ni
Use the critical value t* from the t distribution with N - k degrees of freedom.
For the bihai variety, our 95% confidence interval for the population mean
length is
47.598 2.008
1.446
= 47.598 0.726 = ( 46.872, 48.324)
4
16
using df = 54 - 3 = 51. This is the confidence interval for bihai that appears in
the Minitab ANOVA output of Figure 13.4.
starnes13_002-031hr.indd 15
4/11/11 2:16 PM
16 CHAPTER
13
Analysis of Variance
As the following example shows, it is possible to calculate the F statistic directly
from the formulas. But its pretty unpleasant to do so! We recommend using
technology.
x=
MSG =
1082.996
= 541.50
2
MSE =
MSG 541.50
=
= 259.09
MSE
2.09
Our work differs slightly from the output in Figure 13.4 because of roundoff
error.
You can carry out a one-way ANOVA test on the TI-83/84 and TI-89, as long as
you are given the raw data (TI-83/84) and are comparing no more than six means.
The following Technology Corner shows you how.
starnes13_002-031hr.indd 16
4/11/11 2:16 PM
TI-83/84
TI-89
The results of the one-way ANOVA are shown in the following screens. The
calculator reports that the F statistic is 259.12 and the P-value is 1.92 1027.
The numerator degrees of freedom are k - 1 = 2, and by scrolling down, you
see that the denominator degrees of freedom are N - k = 54 - 3 = 51.
If you know the F statistic and the numerator and denominator degrees
offreedom, you can find the P-value with the command Fcdf, under the DISTR menu on the TI-83/84, and in the CATALOG under FlashApps on the TI89. The syntax is Fcdf (leftendpoint,rightendpoint,df numerator,df
denominator). See the following screen shots.
starnes13_002-031hr.indd 17
4/11/11 2:16 PM
18 CHAPTER
13
Analysis of Variance
AP
PLET
The One-Way ANOVA applet displays the observations in three groups, with the
group means highlighted by black dots. When you open or reset the applet, the
scale at the bottom of the display shows that for these groups the ANOVA F statistic is F = 31.74, with P < 0.001. (The P-value is marked by a red dot that moves
along the scale.)
starnes13_002-031hr.indd 18
4/11/11 2:16 PM
3.
Use the mouse to slide the Pooled Standard Error at the top of the display
to the right. You see that the group means do not change, but the spread of the
observations in each group increases. What happens to F and P as the spread
among the observations in each group increases? What are the values of F and P
when the slider is all the way to the right? This is similar to Figure 13.2(a): variation within groups hides the differences among the group means.
4.
Leave the Pooled Standard Error slider at the extreme right of its scale, so
that spread within groups stays fixed. Use the mouse to move the group means
apart. What happens to F and P as you do this?
Remember what you learned earlier about significance tests: a fail to reject
H0 conclusion does not mean that H0 is true. All it says is that the data do
not provide convincing evidence against the null hypothesis. In the case
of the ANOVA F test, failing to reject H0 says that there is not enough evidence
to conclude that the population/treatment means differ. As with other kinds of tests,
we sometimes make a Type I or a Type II error as a result of an ANOVA F test.
Here is a final example that shows the entire one-way ANOVA process.
As always, we follow the familiar four-step process.
STEP
starnes13_002-031hr.indd 19
One-way ANOVA
Kathleen Vohs of the University of Minnesota and her coworkers carried out several randomized comparative experiments on the effects of thinking about money.
Heres an outline of one of the experiments. Ask student subjects to unscramble
30 sets of five words to make a meaningful phrase from four of the five. The control group unscrambled phrases like cold it desk outside is into it is cold outside. The play money group unscrambled similar sets of words, but a stack of
Monopoly money was placed nearby. The money prime group unscrambled
phrases that led to thinking about money, turning high a salary desk paying into
a high-paying salary. Then each subject worked a hard puzzle, knowing that
they could ask for help.
4/11/11 2:16 PM
20 CHAPTER
13
Analysis of Variance
The table below shows the time in seconds that each subject worked on the puzzle before asking for help.4 Psychologists think that money tends to make people
self-sufficient. If so, the two groups that were encouraged in different ways to think
about money should take longer on average to ask for help. Do the data support
this idea?
Group
Time
Group
Time
Group
Time
Prime
609
Play
455
Control
118
Prime
444
Play
100
Control
272
Prime
242
Play
238
Control
413
Prime
199
Play
243
Control
291
Prime
174
Play
500
Control
140
Prime
55
Play
570
Control
104
Prime
251
Play
231
Control
55
Prime
466
Play
380
Control
189
Prime
443
Play
222
Control
126
Prime
531
Play
71
Control
400
Prime
135
Play
232
Control
92
Prime
241
Play
219
Control
64
Prime
476
Play
320
Control
88
Prime
482
Play
261
Control
142
Prime
362
Play
290
Control
141
Prime
69
Play
495
Control
373
Prime
160
Play
600
Control
156
Play
67
starnes13_002-031hr.indd 20
4/11/11 2:16 PM
7
6 7
4 4 5
4 7 8 8
Play
0
7
1
0
2
2
3
2
4
6
5
0
6
0
7
2 3 3 4 4 6 9
8
0 7
Control
0 6 6 9 9
1 0 2 3 4 4 4 6 9
2 7 9
3 7
4 0 1
5
6
FIGURE 13.5
Side-by-side stemplots comparing the time until subjects asked for help with
a puzzle under each of the three treatments.
IndependentThe random assignment yields independent groups. If the experiment was conducted
properly, individual times to ask for help should also be independent: knowing one subjects time
should give no additional information about another subjects time.
Same SDThe Minitab ANOVA output shows that the group standard deviations easily satisfy our
rule of thumb: the largest (172.8) is no more than twice the smallest (118.1).
DO: From the computer output, we have
Test statistic F = 3.73
P-value 0.031 using the F distribution with degrees of freedom k - 1 = 2 and
N - k = 49.
CONCLUDE: Since the P-value (0.031) is less than a = 0.05, we reject H0. The experiment gives
convincing evidence that there is a difference in the true mean amount of time until people like the
ones in this study ask for help under the three treatments.
Although the ANOVA F test in the previous example doesnt tell us which
means are different, the data suggest that reminding people of money in either of
two ways does make them less likely to ask others for help. This is consistent with
the idea that money makes people feel more self-sufficient.
starnes13_002-031hr.indd 21
4/11/11 2:16 PM
22 CHAPTER
13
Analysis of Variance
case closed
Do Pets or Friends Help
Reduce Stress?
In the chapter-opening Case Study (page 2), we described details of an
e
xperiment investigating whether the presence of a pet or a friend affects subjects heart rates during a stressful task. Comparing the mean heart rates in
the three groups calls for one-way analysis of variance. Figure 13.6 gives the
Minitab ANOVA output for these data.
FIGURE 13.6
Minitab output for the heart rate data (beats per minute) during stress. The control group
worked alone, the Friend group had a friend present, and the Pet group had a pet dog present.
STEP
starnes13_002-031hr.indd 22
4/11/11 2:16 PM
starnes13_002-031hr.indd 23
4/11/11 2:16 PM
24 CHAPTER
13
Analysis of Variance
Summary
Section 13.1
starnes13_002-031hr.indd 24
4/11/11 2:16 PM
Exercises
Blue
16
11
20
21
14
Green
37
32
20
29
37
32
White
21
12
14
17
13
20
Yellow
45
59
48
46
38
47
a)
( State hypotheses for an ANOVA F test in this
s
etting. Be sure to define your parameters.
b)
( Check conditions for carrying out the test in
part (a).
2. More rain for California? The changing climate
will probably bring more rain to California, but we
dont know whether the additional rain will come
during the winter wet season or extend into the long
dry season in spring and summer. Kenwyn Suttle
of the University of California at Berkeley and his
coworkers randomly assigned plots of open grassland
to three treatments: added water equal to 20% of
annual rainfall either during January to March
(winter) or during April to June (spring), and no
added water (control). Here are some of the data, for
plant biomass (in grams per square meter) produced
by each plot in a single year.6
Long-Lived Wife
Short-lived husband
Insects Trapped
Short-Lived Wife
Group A
Group C
Long-lived husband
Group B
Group D
Section 13.1
74
72
70
68
B
Winter
Spring
Control
264.1514
318.4182
129.0538
187.7312
281.6830
144.6578
291.1431
288.8433
172.7772
176.2879
382.6673
113.2813
141.7525
326.8877
142.1562
169.9737
293.8502
117.9808
a)
( State hypotheses for an ANOVA F test in this
s
etting. Be sure to define your parameters.
b)
( Check conditions for carrying out the test in
part (a).
starnes13_002-031hr.indd 25
Married
Divorce
Widowed
ni
337
7,730
126
42
xi
$21,384
$26,873
$25,594
$26,936
si
$5,731
$7,159
$6,347
$8,119
4/11/11 2:16 PM
26 CHAPTER
13
Analysis of Variance
244
2.22
3.11
30 to 55 years
734
1.33
2.21
Over 55 years
364
0.66
1.60
a)
( State hypotheses for an ANOVA F test in this
s
etting. Be sure to define your parameters.
b)
( Show that the Random, Independent, and Same
SD conditions are met.
c)
( Data from the study confirms that the Normal
condition is met. Explain what this means.
6. Do fruit flies sleep? Mammals and birds sleep.
Insects such as fruit flies rest, but can this rest be
considered sleep? Biologists now think that insects
do sleep. One experiment gave caffeine to fruit flies
to see if it affected their rest. We know that caffeine
reduces sleep in mammals, so if it reduces rest in fruit
flies, thats another hint that the rest is really sleep.
The paper reporting the study contains a bar graph
similar to the one below.10
600
Rest (min)
400
200
0
Control
1 mg/ml
2.5 mg/ml
5 mg/ml
Caffeine
a)
( The explanatory variable is amount of caffeine,
in milligrams per milliliter (mg/ml) of blood. The
response variable is minutes of Statistics, 4E
Starnes/Yates/Moore: The Practice of rest (measured by an
infrared motion Perm. during a
New Fig.: 13UN15 sensor)Fig.: 13026 12-hour dark period.
First Pass: 2011-02-24
starnes13_002-031hr.indd 26
4/11/11 2:16 PM
starnes13_002-031hr.indd 27
sx
African American
809
2.57
1.40
1860
2.32
1.36
Asian/Pacific Islander
White
654
2.63
1.32
HIspanic
883
2.51
1.31
Native American
207
2.51
1.28
a)
( Show that the Random, Independent, and Same
SD conditions for ANOVA are met.
b)
( Data from the study confirm that the Normal
condition is met. Explain what this means.
c)
( Calculate the overall mean response x, the mean
squares MSG and MSE, and the F statistic.
d)
( Which F distribution would you use to find
the P-value of the ANOVA F test? Software gives
P < 0.001. What do you conclude from this
study?
6. Exercise and weight loss What conditions help
1
overweight people exercise regularly? Subjects
were randomly assigned to three treatments: a
single long exercise period 5 days per week; several
10-minute exercise periods 5 days per week; and
several 10-minute periods 5 days per week on a
home treadmill that was provided to the subjects.
The study report contains the following information
about weight loss (in kilograms) after six months of
treatment:14
Treatment
sx
37
10.2
4.2
36
9.3
4.5
42
10.2
5.2
a)
( Show that the Random, Independent, and Same
SD conditions for ANOVA are met.
b)
( Data from the study confirm that the Normal
condition is met. Explain what this means.
c)
( Calculate the overall mean response x, the mean
squares MSG and MSE, and the F statistic.
d)
( Which F distribution would you use to find
the P-value of the ANOVA F test? Software says that
P = 0.634. What do you conclude from this study?
Exercises 17 and 18 refer to the following setting. How
does logging in a tropical rain forest affect the forest in
later years? Researchers compared forest plots in Borneo
that had never been logged (Group 1) with similar plots
nearby that had been logged 1 year earlier (Group 2)
and 8 years earlier (Group 3). Although the study was
4/11/11 2:16 PM
28 CHAPTER
13
Analysis of Variance
Logged
1 Year Ago
Logged
8 Years Ago
Trees
Species
Trees
Species
Trees
Species
27
22
12
11
18
17
22
18
12
11
22
18
29
22
15
14
15
14
21
20
18
18
19
15
20
18
19
15
33
21
18
15
22
15
16
13
17
15
12
10
20
13
14
12
12
12
24
19
14
13
27
13
17
15
28
19
19
19
15
19. Can you hear these words? To test whether a hearing aid is right for a patient, audiologists play a tape
on which words are pronounced at low volume. The
patient tries to repeat the words. There are several
different lists of words that are supposed to be equally
difficult. Are the lists equally difficult when there is
background noise? To find out, an experimenter had
subjects with normal hearing listen to four lists with a
noisy background. The response variable was the percent of the 50 words in a list that the subject repeated
correctly. The data set contains 96 responses.16 Here
are two study designs that could produce these data:
Design A: The experimenter assigns 96 subjects to
four groups at random. Each group of 24 subjects
listens to one of the lists. All individuals listen
and respond separately.
Design B: The experimenter has 24 subjects. Each
subject listens to all four lists in random order.
All individuals listen and respond separately.
Does Design A allow use of one-way ANOVA to compare the lists? Does Design B allow use of one-way
ANOVA to compare the lists? Briefly explain your
answers.
starnes13_002-031hr.indd 28
4/11/11 2:16 PM
starnes13_002-031hr.indd 29
42.05
41.44
42.27
41.12
41.49
40.98
40.88
41.30
41.28
41.66
41.50
41.39
41.27
41.68
41.65
42.30
42.04
42.25
Method C:
41.83
41.27
Method B:
41.72
41.99
41.72
41.97
23. Python weights A study of the effect of nest temperature on the development of water pythons separated
python eggs at random into nests at three temperatures:
cold, neutral, and hot. Exercise 33 in Chapter 11
(page 725) shows that the proportions of eggs that
hatched at each temperature did not differ significantly. Now we will examine the weights of the little
pythons. In all, 16 eggs hatched at the cold temperature, 38 at the neutral temperature, and 75 at the hot
temperature. The report of the study summarizes the
data in the common form mean standard error of
the mean as follows:18
Temperature
Weight (grams)
at Hatching
Propensity
to Strike
Cold
18
28.89 8.08
6.40 5.67
Neutral
38
32.93 5.61
5.82 4.24
Hot
75
32.27 4.10
4.30 2.70
4/11/11 2:16 PM
30 CHAPTER
13
Analysis of Variance
Mutual companies
ni
13
17
xi
$2.31
$2.37
si
$0.38
$0.58
starnes13_002-031hr.indd 30
c)
( How close are the two P-values? (The square
root of the F statistic is a t statistic with N - k =
n1 + n2 -2 degrees of freedom. This is the pooled
two-sample t mentioned on page 645. So F for k = 2
is exactly equivalent to a t statistic, but it is a slightly
different t from the one we use.)
Multiple choice: Select the best answer for
Exercises 26 to 29.
26. A study of the effects of smoking classifies subjects as
nonsmokers, moderate smokers, or heavy smokers.
The investigators interview a random sample of 200
people in each group. Among the questions is How
many hours do you sleep on a typical night? The
degrees of freedom for the ANOVA F statistic comparing mean hours of sleep are
a) and 197. (d) and 597.
( 2
3
b) and 199. (e) and 599.
( 2
3
c) and 597.
( 2
27. The alternative hypothesis for the ANOVA F test in
the previous exercise is
a) mean hours of sleep in the groups are all the
( the
same.
b) mean hours of sleep in the groups are all
( the
d
ifferent.
c) mean hours of sleep in the groups are not all
( the
the same.
d) mean hours of sleep is highest for the
( the
n
onsmokers.
e)
( there is an association between sleep and smoking
status.
Exercises 28 and 29 refer to the following setting. The
air in poultry-processing plants often contains fungus
spores. Large spore concentrations can affect the health
of the workers. To measure the presence of spores, air
samples are pumped to an agar plate and colonyforming units (CFUs) are counted after an incubation
period. Here are data from the kill room of a plant
that slaughters 37,000 turkeys a day, taken at
four seasons of the year. Each bservation was made
o
on a different day. The units are CFUs per cubic meter
of air.20
Fall
Winter
Spring
Summer
1231
1254
384
2105
3175
104
701
2526
752
251
2947
1763
1088
97
842
1090
4/11/11 2:16 PM
starnes13_002-031hr.indd 31
4/11/11 2:16 PM
32 CHAPTER
13
Analysis of Variance
Section 13.1
Notes
starnes13_002-031hr.indd 32
4/11/11 2:16 PM