/*In the study below, each participant was given four drugs and measured on three variables,
how nauseous they felt, how much pain they were in, and how easily they fell asleep, all rated on a scale
of 1 to 15. I am only interested in the nausea rating, so I conducted the analysis below. */
What did I do incorrectly here?
DATA sickstudy;
INPUT #1 @1 PARTICIPANT 2.
@5 DRUG 1.
@15 SLEEP 2.
DATALINES;
01 1 08 10 10
02 1 10 13 12
03 1 07 10 12
04 1 06 09 10
01 3 07 08 09
02 3 11 15 14
03 3 08 10 09
04 3 05 08 08
01 4 12 11 12
02 4 09 12 12
03 4 10 14 13
04 4 07 12 11
01 2 08 08 09
02 2 13 14 14
03 2 11 11 12
04 2 07 08 07
;
Title "Nausea test" ;
PROC GLM DATA=sickstudy;
CLASS GROUP;
MODEL NAUSEA = DRUG ;
RUN;