HOMEWORK #4 due Tuesday 12-7
Arrange your answers in three parts in the following order:
Part I: Your answers to all questions, either written by hand or using a
word processor,
Part II: The SAS programs (*.sas files) that you used for all problems in
which you used SAS
Part III: The output from the SAS programs in Part II.
For all problems in which you use SAS, either copy or transcribe
answers from the SAS output to Part I or else refer in Part I to
specific pages in Part III by saying (for example) ``The scatterplot
or matrix for Problem 3 is on page 17 of the SAS output
(Part III).'' Make sure that you have consecutive page numbers on the
SAS output in Part III by adding your own page numbers to the SAS
output if necessary, so that (for example) you don't have several
different page 1s in Part III. If you like, you can number pages
as (for example) ``Page 3-2'' for the second page of output for
Problem 3.
1. The responses of 30 patients to three experimental drugs (named
B1
, B2
, and B3
) are given in the
following table. M
and F
stand for male and
female, respectively.
Table 1. Responses of 30 patients to three drugs Sex Drug Responses F B1 43 33 35 43 35 F B2 53 60 53 53 42 F B3 38 35 41 31 38 M B1 37 30 30 19 28 M B2 22 15 28 18 18 M B3 30 35 25 24 22These drugs are known to be more effective in female patients.
TwoWayInt.sas
and
MACorSinDogs.sas
for examples of interaction plots.)
2. A chemical engineer is interested in the efficiency of a chemical process as a function of three variables: Drubness, with three levels (Low,Med,High), Turgidity, with three levels (Turg1,Turg2,Turg3), and Time, with two levels (AM,PM). Two independent runs were made for each setting of the three variables, for a total of 3*3*2*2=36 observations. The resulting efficiencies are listed in Table 2.
Table 2. Efficiencies of a Chemical Process Low: AM PM Med: AM PM High: AM PM Turg1: 755, 370 192,815 1385,2118 458,557 732,1103 1023, 533 Turg2: 3049,1087 117,509 1407,3095 802,318 431, 592 533,8814 Turg3: 3289,1517 359,328 2118, 977 541,201 163, 364 1739,1227
ThreeRegIml.sas
for an example of
a residual plot. The output
command can be used in
proc glm
as well as in proc reg
.)
Problem 3. The Midwestern Chess Federation (MCF) conducts a survey to compare the MCF chess ratings of individuals in chess teams, each composed of 5 individual players, that are distributed across five midwestern states. The MCF ratings of individuals are determined by how well the players do in local chess tournaments and chess matches, including MCF team matches. The federation wants to know how how the variation of ratings is distributed, specifically whether most of the variation is within teams (so that most teams would be equally matched), between teams within states, or between states. The survey data is in Table 3.
Table 3 --- Chess rankings of individuals in 24 chess teams State1 Team1 97 87 96 115 92 Team2 97 100 97 103 110 Team3 88 84 105 98 81 Team4 105 92 107 101 92 Team5 110 91 100 97 100 State2 Team1 98 95 107 93 102 Team2 100 93 110 106 96 Team3 110 108 107 103 103 State3 Team1 99 92 100 102 101 Team2 104 110 99 94 90 Team3 96 96 104 101 96 Team4 115 104 116 113 109 Team5 97 108 91 96 98 Team6 104 97 96 99 101 Team7 102 99 97 107 92 Team8 103 83 91 87 100 Team9 101 89 98 102 94 State4 Team1 96 92 88 89 107 Team2 101 96 81 102 103 Team3 103 108 110 98 93 State5 Team1 110 100 92 111 102 Team2 95 87 98 100 98 Team3 102 99 98 107 111 Team4 101 98 89 99 97Note that ``Team1'' does not refer to the same team in different states, but only to the first team listed for that state.
NestedBatches.sas
on
the Math439 Web site. That example had data that was balanced in the sense
that each level of the outer factor had the same number of levels of the
nested factor, but that is not necessary for the analysis.)