Home Forums ASREG : Rolling window and Fama-MacBeth Regressions asreg: estimate regression by year and sector in Stata Reply To: asreg: estimate regression by year and sector in Stata

Attaullah Shah
Keymaster
Post count: 69

bys firmid year means that the regression will be run on each year within each firmid, in your dataset, there are only one observation for each firmid per year, therefore, regression cannot be estimated on a single observation.