07-25-2016 02:24 PM
A macro to run a simple linear regression with dependent and independent variables as macro parameters.
Dependent variable =msrp; Independent variables = enginesize, cylinders, horsepower
06-11-2018 01:05 PM - edited 06-11-2018 01:12 PM
In general you don't need macros to do regression.
You need macros when you want your code to be dynamic and do different things in different situations.
SUGGESTION to @Merlin: you get much better answers, and quicker answers, if you avoid these extremely succinct problem statements, and actually take the time to explain your question, and why you think there are situations where macros might be needed.