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?
FMM lcprob variablesHello experts, In FMM (finite mixture models), our main models(s) could have certain IVs. Then, I c…
Writing loop for multiple regressionsI have 10 dependant variables, y1-y30, and its respective lagged variables, lagy1-lagy30. I would li…
Complex dummy variableHi STATLIST, Merry Christmas to those celebrating it and happy new Year. I have a question about th…
calculating and graphing marginal effects from logit with interaction effect of two categorical variables Code: * Example generated by -dataex-. To install: ssc install dataex clear input byte(owndecision…
Simple Time Series RegressionHello everyone, I have a fairly simple question and hope you guys can help me out. I already studie…
Subscribe to:
Post Comments (Atom)
0 Response to How to make ivreghdfe work for reporting first stage results?
Post a Comment