Dear Stata Users,
I am working with a panel dataset and I need to add firm fixed effects in my regression models.
I do not know how to calculate them. Usually, I adopt the following command to generate for example year fe:
tab Year, gen(year), then I include them in the models. I do not think I can do the same with firms since I have thousands of id in the dataset.
Is there an alternative approach to include firm fixed effects in the models?
Thank you in advance for your support,
Regards,
N
I am working with a panel dataset and I need to add firm fixed effects in my regression models.
I do not know how to calculate them. Usually, I adopt the following command to generate for example year fe:
tab Year, gen(year), then I include them in the models. I do not think I can do the same with firms since I have thousands of id in the dataset.
Is there an alternative approach to include firm fixed effects in the models?
Thank you in advance for your support,
Regards,
N

Comment