alicia7
10-29-2010, 06:40 PM
Hi,
I have a panel dataset and I need to run individual regressions by "i", so I did:
by i: reg y x
Then I need to have a colum with the coefficients of each regression results.
that is for each "i" I will have coefficient that are constant overtime.
I tried to gen a matrix:
matrix A = e(b)
but it doesn't work.
What can I do?
Thanks
I have a panel dataset and I need to run individual regressions by "i", so I did:
by i: reg y x
Then I need to have a colum with the coefficients of each regression results.
that is for each "i" I will have coefficient that are constant overtime.
I tried to gen a matrix:
matrix A = e(b)
but it doesn't work.
What can I do?
Thanks