Hi Forum members,
My data is like the following.
I want to run panel regression for each industry(SIC) and Year ,and also save the beta coefficients of each regression. Can someone help me??
Thanks in Advance
It is just a representation image. Each SIC and Year have many observations
My data is like the following.
I want to run panel regression for each industry(SIC) and Year ,and also save the beta coefficients of each regression. Can someone help me??
Thanks in Advance
It is just a representation image. Each SIC and Year have many observations
Company | SIC | Year | DV | IV1 | IV2 |
A | 121 | 2000 | xxx | xxx | xxx |
A | 121 | 2001 | xxx | xxx | xxx |
A | 121 | 2002 | xxx | xxx | xxx |
B | 121 | 2000 | xxx | xxx | xxx |
B | 121 | 2001 | xxx | xxx | xxx |
B | 121 | 2002 | xxx | xxx | xxx |
C | 34 | 2000 | xxx | xxx | xxx |
C | 34 | 2001 | xxx | xxx | xxx |
C | 34 | 2002 | xxx | xxx | xxx |
D | 345 | 2000 | xxx | xxx | xxx |
D | 345 | 2001 | xxx | xxx | xxx |
D | 345 | 2002 | xxx | xxx | xxx |
E | 23 | 2000 | xxx | xxx | xxx |
E | 23 | 2001 | xxx | xxx | xxx |
E | 23 | 2002 | xxx | xxx | xxx |
F | 34 | 2000 | xxx | xxx | xxx |
F | 34 | 2001 | xxx | xxx | xxx |
F | 34 | 2002 | xxx | xxx | xxx |
Comment