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?
margins for mvregHi, I did a mvreg on 2 continuous outcomes variables y1 y2 with 3 continuous predictors x1 x2 x3*x4…
Generate new variable(s) conditional on different variables taking a specific valueDears, I would generate new variables every time that corr_tof* takes the same value as tof. Here b…
Find the the variable with highest value and mark this as 1, while the other variables are marked 0Hello all, I have a data set that looks like this: Code: input int year float(A B C D E) 1950 .3…
Intended Nickell bias to test the usefullness of different fixed effectsHi all, I am working on panel data and I assume that at least one of my explanatory variables is en…
Difference between variables doesn't workHello everybody, I've been using this forum for reading very useful tips, for which I am really gre…
Subscribe to:
Post Comments (Atom)
0 Response to How to make ivreghdfe work for reporting first stage results?
Post a Comment