Hello,
I am relatively new here and trying to work on some homework. I've been doing rather well in my SAS class, however I just do not seem to understand macros. We have problem given to us and I honestly have no idea on where to begin.
Write a macro to fit a multiple regression model where Y is identified as one macro variable, and each X is identified as another macro variable. Your macro should do the following:
a.Fit the model.
b.Plot the residuals versus each X.
c.Plot the residuals versus Y.
The macro parameters should include the data set name, the response variable, the predictor variables, and a title.
The book I'm using is utterly useless in this regard, so any help would be greatly appreciated.
I am relatively new here and trying to work on some homework. I've been doing rather well in my SAS class, however I just do not seem to understand macros. We have problem given to us and I honestly have no idea on where to begin.
Write a macro to fit a multiple regression model where Y is identified as one macro variable, and each X is identified as another macro variable. Your macro should do the following:
a.Fit the model.
b.Plot the residuals versus each X.
c.Plot the residuals versus Y.
The macro parameters should include the data set name, the response variable, the predictor variables, and a title.
The book I'm using is utterly useless in this regard, so any help would be greatly appreciated.