Hi,
I'm dealing with a problem of logistic regression and I am confused about including the categorical classification variable in the model.
The variables in the model are R Age S Ed Ex0 Ex1 LF M N NW U1 U2 W X respectively;
I have to fit the logistic regression model of high as a function of all variables using Age through X
and treat S as a categorical classification variable in the model.
Below are my codes
proc logistic data=uscrime;
class S /param=ref ref=first;
model high = Age S Ed Ex0 Ex1 LF M N NW U1 U2 W X;
ods select ModelInfo ParameterEstimates Type3 OddsRatios;
run;
Am I in the right way or is there any suggestions? Thanks!