Regression Output
Posted: Wed Mar 24, 2010 3:07 pm
I have several equations, and I would like to create a loop that will output the regressor group, as well as the coefficients associated with each. It's easy to output the regressor group, and I created a matrix that put the unique coefficients above each regressor, but I have a few things I haven't been able to figure out:
1) I would like to have an output with:
Regressor Name_1 Regressor Name_2 .... Regressor Name_k
Coef_1 Coef_2 .... Coef_k
Value_1,1 Value 1,2 .... Value 1,k
.....
But I can't figure out how to do that
2) I have some variables in a PDL, and I would love to automate a function that could include the variables with the regressor group, as well as the number of lags, though I know that this is pretty ambitious.
Any help would be much appreciated.
1) I would like to have an output with:
Regressor Name_1 Regressor Name_2 .... Regressor Name_k
Coef_1 Coef_2 .... Coef_k
Value_1,1 Value 1,2 .... Value 1,k
.....
But I can't figure out how to do that
2) I have some variables in a PDL, and I would love to automate a function that could include the variables with the regressor group, as well as the number of lags, though I know that this is pretty ambitious.
Any help would be much appreciated.