Simple Formulas for Standard Errors that Cluster by Both Firm and Time
Samuel Brodsky Thompson
Arrowstreet Capital, L.P.
May 12, 2009
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 note shows that it is very easy to calculate standard errors that are robust to simultaneous correlation across both firms and time. The covariance estimator is equal to the estimator that clusters by firm, plus the the estimator that clusters by time, minus the usual heteroskedasticity-robust OLS covariance matrix. Any statistical package with a clustering command can be used to easily calculate these standard errors.
Number of Pages in PDF File: 25
Keywords: cluster standard errors, panel data, finance panel data
JEL Classification: C23, G30, G12
Date posted: July 13, 2006 ; Last revised: May 18, 2009