Good morning.
I need to run a regression using both year and state fixed effects. I also need to cluster standard errors at a household level (variable ID). If possible, I would like to include family weights.
I have been using the command "reghdfe", but I just read online that this command cannot be used when the dependent variable is a binary variable. Is it true?
If it is, I should be using the "xtlogit" command which doesn't allow to have weights, and vcetype cluster is not allowed.
this is my initial command: reghdfe depvar indvars [weight=weight], absorb(year state) cluster(ID)
What would be the most correct approach?
Thank you!
I need to run a regression using both year and state fixed effects. I also need to cluster standard errors at a household level (variable ID). If possible, I would like to include family weights.
I have been using the command "reghdfe", but I just read online that this command cannot be used when the dependent variable is a binary variable. Is it true?
If it is, I should be using the "xtlogit" command which doesn't allow to have weights, and vcetype cluster is not allowed.
this is my initial command: reghdfe depvar indvars [weight=weight], absorb(year state) cluster(ID)
What would be the most correct approach?
Thank you!
Comment