BookmarkSubscribeRSS Feed
jmoseley
Quartz | Level 8

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;

2 REPLIES 2
mohamed_zaki
Barite | Level 11

You do not have variable called SCORE in your data set

You mean

 

MODEL count = TRAIT TEST;
jmoseley
Quartz | Level 8
Thank you so much mohamed. Very much appreciated.
Josie

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 1496 views
  • 0 likes
  • 2 in conversation