Simple formulas for standard errors that cluster by both firm and time
When estimating finance panel regressions, it is common practice to adjust standard errors for correlation either across firms or across time. These procedures are valid only if the residuals are correlated either across time or across firms, but not across both. This paper shows that it is very easy to calculate standard errors that are robust to simultaneous correlation along two dimensions, such as firms and time. The covariance estimator is equal to the estimator that clusters by firm, plus the estimator that clusters by time, minus the usual heteroskedasticity-robust ordinary least squares (OLS) covariance matrix. Any statistical package with a clustering command can be used to easily calculate these standard errors.
Year of publication: |
2011
|
---|---|
Authors: | Thompson, Samuel B. |
Published in: |
Journal of Financial Economics. - Elsevier, ISSN 0304-405X. - Vol. 99.2011, 1, p. 1-10
|
Publisher: |
Elsevier |
Keywords: | Cluster standard errors Panel data Finance panel data |
Saved in:
Saved in favorites
Similar items by person
-
Optimal versus robust inference in nearly integrated non-Gaussian models
Thompson, Samuel B., (2004)
-
Simple formulas for standard errors that cluster by both firm and time
Thompson, Samuel B., (2011)
-
Robust confidence intervals for autoregressive coefficients near one
Thompson, Samuel B., (2005)
- More ...