I am running a regression with fixed effects, time effects, and using two-way clustered standard errors (clustering on both person and time). I am using reghdfe to do this. I am using the
option because I'd like to estimate all of the time and fixed effects coefficients. However, I am confused by the degrees of freedom reported in the output.
The table reports the following:
So are the degrees of freedom used to compute the t-statistics based on the yq number of clusters? And why is this the case when I have both person and yq clusters? Should the degrees of freedom correspond to 91+72 ? Any clarification on this would be great. Thank you!
Code:
noabsorb
The table reports the following:
Code:
HDFE Linear regression Number of obs = 2,547
Absorbing 1 HDFE group F( 163, 71) = .
Statistics robust to heteroskedasticity Prob > F = .
R-squared = 0.4645
Adj R-squared = 0.4279
Number of clusters (person) = 91 Within R-sq. = 0.4645
Number of clusters (yq) = 72 Root MSE = 0.2933
(Std. Err. adjusted for 72 clusters in person yq)

Comment