Hi Statalisters:
Running the following code:
ivreghdfe depvar (var1 = var2), cl(id year) a(id year) first
returns an error message "estimates post: matrix has missing values". Also, it does not allow to cluster at the interaction of id and year though it allows to cluster at more than two levels if I generate a new variable id_year = group(id year). Is it the same?
Running the following code:
xtivreg2 depvar (var1 = var2), fe cl(id) first
works well. But this code does not allow to control year fixed effect and cluster at more than one level.
Many thanks,
Linghui
Related Posts with How to make ivreghdfe work for reporting first stage results?
Strange behavior of Stata with Classes and Python interactionDear All, I have encountered a rather strange behavior of Stata: Array Basically after obtaining …
destringDear Statalist experts, I have the following dataset, all variables are strings, my question is, how…
year fixed effects in a difference in differences modelHello everyone, this is my first post here and I hope to do everything well to have some help about …
Randomizing years and statesHi , I have a variable of interest which is an indicator variable (LAW) that equals 1 if a firm is …
Summary Statistics with Esttab: Don't display valuesHi. I am making a simple table with summary statistics where I want to show the mean and median for…
Subscribe to:
Post Comments (Atom)
0 Response to How to make ivreghdfe work for reporting first stage results?
Post a Comment