01-10-2014 05:51 AM
Hi everyone and thanks for read it,
I am trying to calculate the treatment effect with the next prog glm.
proc glm data=_aux_;
class treatmentn /ref=FIRST;
model _change = treatmentn /solution clparm;
lsmeans treatmentn / pdiff=all CL stderr TDIFF adjust=bonferroni;
For the unadjusted treatment effect I use the model, and for the adjusted I use it lsmeans.
The problem is that when I try to put ref='1' it give me error
ERROR 22-322: Syntax error, expecting one of the following: FIRST, LAST.
ERROR 76-322: Syntax error, statement will be ignored.
and ref='level' must be a valid value. Any idea?
Thanks for the help,
Need further help from the community? Please ask a new question.