My genius folks,
I am trying to run the same PROC LOGISTIC for 25 variables separately. I am sure there are ways to do this by not writing 25 separate models for each variable.
I would appreciate if someone could help me to find a way to run a single PROC LOGISTIC for all variable.
Please see this article
Are all your variable the same type, ie continuous or categorical?
mixed of both types of variable.
Well, you'll have to deal with them separately, since categorical variables also need to be included in the CLASS statement.
CALL EXECUTE I guess.
data _null_;
set sashelp.vcolumn(where=(libname='WORK' and memname='HAVE')) ;
call execute(...........)
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.