Hi everyone,
I want to run a regression with several fixed effects. Specifically, I want to include fixed effects at the company level (including total assets, net income, and other firm characteristics) and at the shareholder level (including number of shares/ holdings, ...). However, I am not sure how to tell Stata that I have fixed effects at the company and the shareholder level. I have read about the group fixed effects, but I am not sure if this is the correct way of doing it. At the moment it would be sufficient to understand the example provided here (found at http://scorreia.com/help/reghdfe.html#examples):
Thank you in advance,
Julia
I want to run a regression with several fixed effects. Specifically, I want to include fixed effects at the company level (including total assets, net income, and other firm characteristics) and at the shareholder level (including number of shares/ holdings, ...). However, I am not sure how to tell Stata that I have fixed effects at the company and the shareholder level. I have read about the group fixed effects, but I am not sure if this is the correct way of doing it. At the moment it would be sufficient to understand the example provided here (found at http://scorreia.com/help/reghdfe.html#examples):
reghdfe citations funding, a(year inventor_id) group(patent_id) individual(inventor_id)Now for my usecase I need to find out how I can absorb additional variables that belong to the group patent_id and inventor_id. Can I just add them to the absorb function above? Additionally, I want to know if I need to add the comand vce(cluster patent_id) if I group by patent_id.
Thank you in advance,
Julia
Comment