Dear Tom, I successfully ran your code I, then tried the point no. 2 as mentioned in the initial question - "to use proc logistic and get the desired output as given in the 'step 2' tab of the excel". proc summary data=Experiment ; var _numeric_; output out=means (drop=_type_ _freq_); run; proc transpose data=means out=vertical; id _Stat_; run; proc sql ; select _name_ into :varlist separated by ' ' from vertical where mean > 0.02 ; quit; %put varlist=&varlist; PROC LOGISTIC DATA=?? descending; MODEL detractor = ?? ; RUN; I am trying to figure out, how do I assign only those independent variables which have a mean value greater than 0.02 and more importantly get the desired output as shown in the step 2 tab of the excel attached. I believe there would some selection (forward backward etc).. Thank you so much for taking out time to read all this
... View more