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?
range function generating over 400 missing valuesHello, I am trying to make a Stata variable that stores 20 numbers between 0 and 1. I am using the …
stata command unrecognized r(199) errorHello, I am trying to run the Stata code below, and everything runs except at the very end I am gett…
Wrong coefficient in a fixed effects panel regressionHello, I'm trying to regress the impact that fiscal rules might have on the Primary Balance of a Co…
Fixed effects (in Accelerated Failure Time Survival Model), Cross-sectionalHi, For my research I am examining private equity strategies and their subsequent exit-types. My da…
Is it possible to use the Stata-python integration module inside of foreach Stata loop?Hello, I am trying to execute the code below and it is giving me an error, mainly because the Stata…
Subscribe to:
Post Comments (Atom)
0 Response to How to make ivreghdfe work for reporting first stage results?
Post a Comment