Programming the statistical procedures from SAS

Unable to obtain correct SAS syntax using GLM code. Please help!

Reply
Contributor
Posts: 46

Unable to obtain correct SAS syntax using GLM code. Please help!

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;

Super Contributor
Posts: 490

Re: Unable to obtain correct SAS syntax using GLM code. Please help!

You do not have variable called SCORE in your data set

You mean

 

MODEL count = TRAIT TEST;
Contributor
Posts: 46

Re: Unable to obtain correct SAS syntax using GLM code. Please help!

Thank you so much mohamed. Very much appreciated.
Josie
Ask a Question
Discussion stats
  • 2 replies
  • 197 views
  • 0 likes
  • 2 in conversation