IDEAS home Printed from https://ideas.repec.org/
MyIDEAS: Login to save this article or follow this journal

Simple formulas for standard errors that cluster by both firm and time

  • Thompson, Samuel B.
Registered author(s):

    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.

    If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

    File URL: http://www.sciencedirect.com/science/article/B6VBX-50XCY71-2/2/569589bcd6865470e3807b6f033c1eca
    Download Restriction: Full text for ScienceDirect subscribers only

    As the access to this document is restricted, you may want to look for a different version under "Related research" (further below) or search for a different version of it.

    Article provided by Elsevier in its journal Journal of Financial Economics.

    Volume (Year): 99 (2011)
    Issue (Month): 1 (January)
    Pages: 1-10

    as
    in new window

    Handle: RePEc:eee:jfinec:v:99:y:2011:i:1:p:1-10
    Contact details of provider: Web page: http://www.elsevier.com/locate/inca/505576

    References listed on IDEAS
    Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:

    as in new window
    1. Fama, Eugene F & French, Kenneth R, 2000. "Forecasting Profitability and Earnings," The Journal of Business, University of Chicago Press, vol. 73(2), pages 161-75, April.
    2. Stambaugh, Robert F., 1999. "Predictive regressions," Journal of Financial Economics, Elsevier, vol. 54(3), pages 375-421, December.
    3. Cameron, A. Colin & Gelbach, Jonah B. & Miller, Douglas L., 2011. "Robust Inference With Multiway Clustering," Journal of Business & Economic Statistics, American Statistical Association, vol. 29(2), pages 238-249.
    4. Raghuram G. Rajan & Luigi Zingales, 1996. "Financial Dependence and Growth," NBER Working Papers 5758, National Bureau of Economic Research, Inc.
    5. Randolph B. Cohen & Christopher Polk & Tuomo Vuolteenaho, 2003. "The Value Spread," Journal of Finance, American Finance Association, vol. 58(2), pages 609-642, 04.
    6. Newey, Whitney & West, Kenneth, 2014. "A simple, positive semi-definite, heteroscedasticity and autocorrelation consistent covariance matrix," Applied Econometrics, Publishing House "SINERGIA PRESS", vol. 33(1), pages 125-132.
    7. Kan Li & Randall Morck & Fan Yang & Bernard Yeung, 2003. "Firm-Specific Variation and Openness in Emerging Markets," William Davidson Institute Working Papers Series 2003-623, William Davidson Institute at the University of Michigan.
    8. Borja Larrain, 2006. "Do Banks Affect the Level and Composition of Industrial Volatility?," Journal of Finance, American Finance Association, vol. 61(4), pages 1897-1925, 08.
    9. Fama, Eugene F & MacBeth, James D, 1973. "Risk, Return, and Equilibrium: Empirical Tests," Journal of Political Economy, University of Chicago Press, vol. 81(3), pages 607-36, May-June.
    10. White, Halbert, 1980. "A Heteroskedasticity-Consistent Covariance Matrix Estimator and a Direct Test for Heteroskedasticity," Econometrica, Econometric Society, vol. 48(4), pages 817-38, May.
    11. Nickell, Stephen J, 1981. "Biases in Dynamic Models with Fixed Effects," Econometrica, Econometric Society, vol. 49(6), pages 1417-26, November.
    12. Hansen, Lars Peter & Hodrick, Robert J, 1980. "Forward Exchange Rates as Optimal Predictors of Future Spot Rates: An Econometric Analysis," Journal of Political Economy, University of Chicago Press, vol. 88(5), pages 829-53, October.
    13. Mitchell A. Petersen, 2005. "Estimating Standard Errors in Finance Panel Data Sets: Comparing Approaches," NBER Working Papers 11280, National Bureau of Economic Research, Inc.
    Full references (including those not matched with items on IDEAS)

    This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.

    When requesting a correction, please mention this item's handle: RePEc:eee:jfinec:v:99:y:2011:i:1:p:1-10. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Zhang, Lei)

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If references are entirely missing, you can add them using this form.

    If the full references list an item that is present in RePEc, but the system did not link to it, you can help with this form.

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    This information is provided to you by IDEAS at the Research Division of the Federal Reserve Bank of St. Louis using RePEc data.