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?
Help with merging aggregate data to survey dataDear Stata list members, I am currently trying to add several macro indicators from the Eurostat da…
Merging datasetshello i'm trying to merge two datasets but I'm not sure if what I'm trying to do (which is not worki…
sslope: standardized or unstandardized coefficients?Hi, I'm not that familiar with stata and testing interaction effects and have a question about sslo…
Create a dataset from the current datasetHello Can someone help me create a dataset from my current dataset? I have the following dataset: …
How to find out if a string contains a specific string in it?Hey, what should I use in a conditional statement in order to execute a command only on observation…
Subscribe to:
Post Comments (Atom)
0 Response to How to make ivreghdfe work for reporting first stage results?
Post a Comment