Hi,
I'm trying to do an model with categorical variables. I have 4 categorical variables in my estimation dataset, run PROC GLM and get the model.
Now I want to apply that model into a much bigger dataset. I couldn't do it with proc score because the veriables are categorical. And those variables have about 40 discrete values in each, so make dummy variables may be painful. Any ideas on how should I do it?
My code:
proc GLM data=DataIn outstat=RegOut;
class A B C;
model ModelOut = A B C B*C/ solution;
output out=out p=yhat;
run;
quit;
What I wanna do is similar to this one (I couldn't do it because the variables are categorical)
proc
score data=DataTest score=RegOut out=DataOut;
var
A B C B*C;
run
;
Any suggestions are highly appreciated.
... View more