Hello everybody,
I have a syntax problem and I don't see what I did wrong. Perhaps anyone could help me, that would be very kind!
Here is the dataset and the procedure :
data a;
input Block Treat Result;
datalines;
1 17 39
1 17 43
1 20 55
1 20 44
1 10 38
1 10 41
1 13 45
1 13 38
1 9 42
1 9 38
1 4 40
1 4 44
1 21 44
1 21 43
1 11 49
1 11 39
1 1 36
1 1 43
1 15 38
1 15 45
1 16 40
1 16 39
1 7 39
1 7 44
1 12 36
1 12 41
1 14 41
1 14 47
1 8 46
1 8 42
1 5 45
1 5 38
3 15 35
3 15 43
3 11 35
3 11 40
3 14 38
3 14 40
3 21 39
3 21 36
3 10 46
3 10 35
3 13 36
3 13 46
3 20 47
3 20 35
3 7 36
3 7 48
2 17 37
2 17 44
2 8 45
2 8 41
2 16 48
2 16 38
2 1 46
2 1 41
2 4 36
2 4 52
2 5 39
2 5 41
2 12 38
2 12 45
2 9 35
2 9 45
2 1 46
2 1 36
2 16 36
2 16 42
2 17 42
2 17 40
2 4 53
2 4 35
2 12 42
2 12 35
2 5 47
2 5 40
2 7 39
2 7 44
2 9 41
2 9 41
3 13 39
3 13 44
3 15 42
3 15 41
3 20 38
3 20 40
3 10 37
3 10 41
3 8 38
3 8 47
3 21 40
3 21 37
3 14 40
3 14 41
3 11 35
3 11 43
;
proc glimmix data a;
class Block Treat;
model Result = Block Treat/ddfm=KR;
random Block*Treat;
lsmeans Treat/adjust=TUKEY;
run;
can't find an error in the syntax, but Sas shows me in the log-field following note:
865 proc glimmix data a;
-
73
ERROR 73-322: Expecting an =.
866 class Block Treat;
867 model Result = Block Treat/ddfm=KR;
868 random Block*Treat;
869 lsmeans Treat/adjust=TUKEY;
870 run;
I would be very happy if someone could help me! Thanks in advance!
change this proc glimmix data a;
to this proc glimmix data = a;
Thank you, I didn't see this!
Thank you so much!:)
you are welcome
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.