Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

Logistic regression with predictor variables with both categorical & actual values

$
0
0
I've got a data set with 40 variables with 30 variables each having certain observations that are coded (i.e. have values) from 1-6 describing certain situations and some values that provide real values for what each of those variables represent as well. i.e. the variables are partially categorical. This issue relates only to independent/predictor variables.

I wish to run a logistic regression on the model- the dependent variable is binary.

Could someone please let me know how to proceed on this issue and what the actual code would be in generic terms? Below is what the code would look like somewhat -but your input would be greatly appreciated.


proc logistic data="c:\Documents\Dataset" descending;
class var1 var2 / param=ref ;
model good = var1 var2 var3 var4 .....var 40;
run;

Thank you !!!!!!

Viewing all articles
Browse latest Browse all 310

Trending Articles