Information Technology Reference
In-Depth Information
vehicle 1
and
drinks 1
, which corresponds to driving the car after consum-
ing one alcoholic drink; as you can see,
subid
1 committed four driving
errors on the course under those conditions. The other four rows hold
information regarding the other conditions in the study for
subid
1.
Note that the data have been entered into the Excel file in a systematic
fashion. The first three rows for each participant represent
vehicle 1
and
the last three rows represent
vehicle 2
. Within the each set of three rows,
the second within-subjects variable
drinks
is listed in the order
0, 1
, and
2
. The pattern is the same for each subject in the data file.
11.11.2 STRUCTURING THE DATA ANALYSIS
Import the data file from Excel into a new SAS project. Then from the
main menu select
Analyze
➜
ANOVA
➜
Mixed Models
.Thewindow
opens on the
Task Roles
tab. Drag
Outcome
to the icon for
Dependent
Va r i ab l e
and drag
vehicle, drinks
,and
subid
to the icon for
Classification
variables
. The result of this is shown in Figure 11.25.
Select
Fixed Effect Model
in the navigation panel as shown in Fig-
ure 11.26. In the
Class and quantitative variables
pane, select
vehicle
then click the
Main
pushbutton;
vehicle
will automatically appear in the
Figure 11.25
The
Task Roles
screen.