Hi,
I am using reghdfe to run triple differences and was originally clustering at the indiviudal level but I have just been told I actually need to double cluster at the country and ethnicity level. When I run this new regression, I get the same coefficients but my p value for my estimator has become insignificant and I am unsure why. Here is my code and the results from this new code.
I am using reghdfe to run triple differences and was originally clustering at the indiviudal level but I have just been told I actually need to double cluster at the country and ethnicity level. When I run this new regression, I get the same coefficients but my p value for my estimator has become insignificant and I am unsure why. Here is my code and the results from this new code.
Code:
. reghdfe underagemar dchildmar##postreform2 , vce (cluster ethnicityall country) absorb(country ethnicit > yall currentyear) note: 1bn.dchildmar is probably collinear with the fixed effects (all partialled-out values are close to > zero; tol = 1.0e-09) (MWFE estimator converged in 13 iterations) Warning: VCV matrix was non-positive semi-definite; adjustment from Cameron, Gelbach & Miller applied. note: 1.dchildmar omitted because of collinearity HDFE Linear regression Number of obs = 7,936,575 Absorbing 3 HDFE groups F( 2, 10) = 189.92 Statistics robust to heteroskedasticity Prob > F = 0.0000 R-squared = 0.1692 Adj R-squared = 0.1692 Number of clusters (ethnicityall) = 136 Within R-sq. = 0.0430 Number of clusters (country) = 11 Root MSE = 0.4557 (Std. err. adjusted for 11 clusters in ethnicityall country) --------------------------------------------------------------------------------------- | Robust underagemar | Coefficient std. err. t P>|t| [95% conf. interval] ----------------------+---------------------------------------------------------------- 1.dchildmar | 0 (omitted) 1.postreform2 | -.2264258 .0199573 -11.35 0.000 -.2708934 -.1819582 | dchildmar#postreform2 | 1 1 | -.0131314 .033657 -0.39 0.705 -.0881239 .0618611 | _cons | .5751284 .0044021 130.65 0.000 .5653199 .5849369 --------------------------------------------------------------------------------------- Absorbed degrees of freedom: ------------------------------------------------------+ Absorbed FE | Categories - Redundant = Num. Coefs | --------------+---------------------------------------| country | 11 11 0 *| ethnicityall | 136 136 0 *| currentyear | 72 0 72 | ------------------------------------------------------+ * = FE nested within cluster; treated as redundant for DoF computation
Comment