Easy, cluster-robust standard errors with the clubSandwich package


Cluster-robust variance estimation methods (also known as sandwich estimators, linearization estimators, or simply “clustered” standard errors) are a standard inferential tool in many different areas of applied statistics. They are appealing because they provide a means to do inference for regression models without relying on strong assumptions about the distribution or dependence structure of errors. However, standard cluster-robust variance estimators are based on large-sample approximations and can perform poorly when based on a small number of clusters. In this talk, I will provide an overview of some refinements to cluster-robust variance estimators, as implemented on the clubSandwich package (https://CRAN.R-project.org/package=clubSandwich), that perform well even with a limited number of clusters. I will provide a brief, high-level sketch of the theory behind the refined methods, discuss the practical rationale for using the methods, and demonstrate their application with the clubSandwich package, focusing in particular on linear mixed models. In addition to linear mixed models, the methods are available for a range of regression models and estimation methods, including ordinary least squares, weighted least squares, two-stage least squares, generalized linear models, and meta-regression models.

2022-02-03 10:00 AM