Hello,
I am documenting some code written by a former employee. I am not tremendously familiar with proc GLM, but I understand the basics. I am working with a statistician to make sure the code is doing what it should. What would putting class variables in the model statement achieve?
In our dataset, we have 3 independent variables, a1-a3, which are really just a^1, a^2, and a^3. We have three categorical variables, c1, c2, and c3. The procedure written is:
proc glm data = mydata;
class c2 c3;
model b=a1 a2 a3 c2*c3 /noint solution ss3;
lsmeans c2*c3;
by c1;
output out=myoutput p=predicted_value;
run;
Neither the statistician nor I could figure out what adding c2*c3 to the accomplish, since they are not continuous variables. Any insight would be very helpful!
Thank you,
Michael