clubSandwich: Cluster-Robust (Sandwich) Variance Estimators with Small-Sample Corrections

Provides several cluster-robust variance estimators (i.e., sandwich estimators) for ordinary and weighted least squares linear regression models, including the bias-reduced linearization estimator introduced by Bell and McCaffrey (2002) <https://www150.statcan.gc.ca/n1/pub/12-001-x/2002002/article/9058-eng.pdf> and developed further by Pustejovsky and Tipton (2017) <doi:10.1080/07350015.2016.1247004>. The package includes functions for estimating the variance- covariance matrix and for testing single- and multiple- contrast hypotheses based on Wald test statistics. Tests of single regression coefficients use Satterthwaite or saddle-point corrections. Tests of multiple- contrast hypotheses use an approximation to Hotelling's T-squared distribution. Methods are provided for a variety of fitted models, including lm() and mlm objects, glm(), ivreg() (from package 'AER'), ivreg() (from package 'ivreg' when estimated by ordinary least squares), plm() (from package 'plm'), gls() and lme() (from 'nlme'), lmer() (from ‘lme4'), robu() (from ’robumeta'), and rma.uni() and rma.mv() (from 'metafor').

Version: 0.5.8
Depends: R (≥ 3.0.0)
Imports: stats, sandwich
Suggests: Formula, knitr, carData, geepack, metafor, metadat, robumeta, nlme, mlmRev, AER, plm (≥ 1.6-4), Matrix, lme4, zoo, testthat, rmarkdown, covr, ivreg
Published: 2022-08-15
Author: James Pustejovsky ORCID iD [aut, cre]
Maintainer: James Pustejovsky <jepusto at gmail.com>
BugReports: https://github.com/jepusto/clubSandwich/issues
License: GPL-3
URL: http://jepusto.github.io/clubSandwich/
NeedsCompilation: no
Language: en-US
Materials: NEWS
In views: Econometrics, MetaAnalysis, Robust
CRAN checks: clubSandwich results

Documentation:

Reference manual: clubSandwich.pdf
Vignettes: Wald tests of multiple-constraint null hypotheses
Meta-analysis with cluster-robust variance estimation
Cluster-robust standard errors and hypothesis tests in panel data models

Downloads:

Package source: clubSandwich_0.5.8.tar.gz
Windows binaries: r-devel: clubSandwich_0.5.8.zip, r-release: clubSandwich_0.5.8.zip, r-oldrel: clubSandwich_0.5.8.zip
macOS binaries: r-release (arm64): clubSandwich_0.5.8.tgz, r-oldrel (arm64): clubSandwich_0.5.8.tgz, r-release (x86_64): clubSandwich_0.5.8.tgz, r-oldrel (x86_64): clubSandwich_0.5.8.tgz
Old sources: clubSandwich archive

Reverse dependencies:

Reverse imports: RESI, wildmeta
Reverse suggests: estimatr, fwildclusterboot, ggeffects, insight, metadat, metafor, panelr, parameters, robumeta, sjPlot

Linking:

Please use the canonical form https://CRAN.R-project.org/package=clubSandwich to link to this page.