09-17-2013 04:13 PM
What I have is the code and the error message.
How to fix this error? X has 3 groups with value assigned as 0, 1,2
proc glimmix data=aa;
model Y(event='1')=X /dist=bin;
lsmeans X /ilink CL adjust=bon oddsratio;
ERROR: Invalid reference value for X.
09-17-2013 06:08 PM
Does X actually take the character value of '0' in the data? If it is a numeric value then drop the quotes.
The value referenced needs to be an actual value of X.