Individual OLS regressions on a panel data set
Posted: Sun Jan 12, 2014 5:12 am
Hello everyone,
I have a panel data set of a few hundred companies over a 10-year time-span. For my analyses I need to have the yearly regression coefficients and standard errors of each company. I have been manually performing individual OLS regressions of each company's weekly data and saving the coefficients and SEs, however, you can imagine this will take a long time to do that for a few hundred companies over a 10-year timeperiod.
Is there a way of doing a whole string of OLS regressions at the same time and saving the output??
Any help would be greatly appreciated since it will save me an immense amount of much need time.
Thank you in advance!
Greets
I have a panel data set of a few hundred companies over a 10-year time-span. For my analyses I need to have the yearly regression coefficients and standard errors of each company. I have been manually performing individual OLS regressions of each company's weekly data and saving the coefficients and SEs, however, you can imagine this will take a long time to do that for a few hundred companies over a 10-year timeperiod.
Is there a way of doing a whole string of OLS regressions at the same time and saving the output??
Any help would be greatly appreciated since it will save me an immense amount of much need time.
Thank you in advance!
Greets