SHAZAM Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Creating variables from saved coefficients

Hi all, Say I run 10 OLS simple regressions in a do-loop and I save the intercept and the slope of each regression with the COEF option. Been going crazy about this: How can I put the 10 intercepts saved into one vector (variable) and the 10 slopes saved into another vector (variable)??? Thanks in advance!

Creating variables from saved coefficients

Hi all, Say I run 10 OLS simple regressions in a do-loop and I save the intercept and the slope of each regression with the COEF option. Been going crazy about this: How can I put the 10 intercepts saved into one vector (variable) and the 10 slopes saved into another vector (variable)??? Thanks in advance!