09-13-2014 06:39 PM
I understand that proc nlmixed do not have the class statement option. I need help to code a categorical variable Var5 with six levels: Ind_A, Ind_B, Ind_C, Ind_D, Ind_E, Ind_F.
The following is the code which uses 4 explanatory variables:
proc nlmixed data=data;
parms b0=x b1=x b2=x b3=x b4=x
random t~normal(0,1) subject=group;
predict ww out= output (keep=Y pred );
The model converges but I need to incorporate the categorical variable.
09-15-2014 08:17 AM
proc glmmod data=data outdesign=want;
model y=var1 var2 var3 var4 var5;
You'll probably want to go in and rename the variables in the 'want' dataset, as they will be named col1, col2, etc.