Hello everyone,
I'm new to stata and I'm trying to run a linear probability model with 2 fixed effects in stata. my data is panel data and I found a lot of topics that said I can use xtreg, reghdfe or glm. Which one is the best? Is it possible to use reghdfe? I found the easiest to absorb fixed effects since my dataset has millions of observations and reghdfe is the fastest. My code is as follows
If it is correct do i interpret it as the interpretation of a normal regression? My dependent is a dummy and my independent is a log of a continuous variable.
Thank you all for your time
I'm new to stata and I'm trying to run a linear probability model with 2 fixed effects in stata. my data is panel data and I found a lot of topics that said I can use xtreg, reghdfe or glm. Which one is the best? Is it possible to use reghdfe? I found the easiest to absorb fixed effects since my dataset has millions of observations and reghdfe is the fastest. My code is as follows
Code:
eststo: reghdfe Y l.X, a(A B) vce(robust)
Thank you all for your time
Comment