data case3;
input trait $ 1 test $ 3 count;
datalines;
L C 22
L C 16
L C 21
L C 17
H C 21
H C 35
H C 33
H C 25
H C 25
H C 28
H T 20
H T 18
H T 22
H T 24
H T 23
H T 19
H T 21
H T 22
;
PROC GLM data=case3;
CLASS TRAIT TEST;
MODEL SCORE = TRAIT TEST;
RUN;
proc print;
run;
You do not have variable called SCORE in your data set
You mean
MODEL count = TRAIT TEST;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.