Dear All,
Here I have a question about variale selection. Say I have the following data set:
Age Sex weight Pass
15 0 70 1
17 1 - 0
16 - 60 1 ;
And I want to use logistic regression to predice pass using age, sex and weight . also I want to use backwards variable selection to selsect significant covariate. So I coded as following:
proc logistic data=have descending;
model pass= age sex weight /selection=backward fast;
run;
However, since I have missing data here. The program only use the entry that has complete observation based on full model, therefore the first enrty.
But I want it to enclude more observation as eleminate covariates, that is when model only with age and sex, i want it to use first two entries. Is there a way to realize this in SAS?
Thank you very much!!!
Best,
HereH
... View more