boywonder410
Instructor
I am doing bivariate research and I run about four or five (depending upon my mood) probits on a set of data, the probits send their results to a sas dataset (using ODS) and then I merge the datasets, eventually going to be thrown into an excel file.
here's the problem, my code is WAY long, each probit being written manually, even though the independent variables dont change, and I already have them all running off of a macro variable &independentvariables.
My question is, if ARRAY can only be used in data sets, isn't there any way to just make a list of independent variables and have the same code executed with respect to a number of different independent variables?
here's the problem, my code is WAY long, each probit being written manually, even though the independent variables dont change, and I already have them all running off of a macro variable &independentvariables.
My question is, if ARRAY can only be used in data sets, isn't there any way to just make a list of independent variables and have the same code executed with respect to a number of different independent variables?