| 1 |
Package: clubSandwich |
| 2 |
Title: Cluster-Robust (Sandwich) Variance Estimators with Small-Sample |
| 3 |
Corrections |
| 4 |
Version: 0.7.0 |
| 5 |
Authors@R: c( |
| 6 |
person(c("James","E."), "Pustejovsky", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-0591-9465")), |
| 7 |
person("Hazim", "Izani", email = "[email protected]", role = "ctb"), |
| 8 |
person("Samuel", "Pekofsky", email = "[email protected]", role = "ctb"), |
| 9 |
person("Jingru", "Zhang", email = "[email protected]", role = "ctb") |
| 10 |
) |
| 11 |
Description: Provides several cluster-robust variance estimators (i.e., |
| 12 |
sandwich estimators) for ordinary and weighted least squares linear regression |
| 13 |
models, including the bias-reduced linearization estimator introduced by Bell |
| 14 |
and McCaffrey (2002) |
| 15 |
<https://www150.statcan.gc.ca/n1/pub/12-001-x/2002002/article/9058-eng.pdf> and |
| 16 |
developed further by Pustejovsky and Tipton (2017) |
| 17 |
<DOI:10.1080/07350015.2016.1247004>. The package includes functions for estimating |
| 18 |
the variance- covariance matrix and for testing single- and multiple- |
| 19 |
contrast hypotheses based on Wald test statistics. Tests of single regression |
| 20 |
coefficients use Satterthwaite or saddle-point corrections. Tests of multiple- |
| 21 |
contrast hypotheses use an approximation to Hotelling's T-squared distribution. |
| 22 |
Methods are provided for a variety of fitted models, including lm() and mlm |
| 23 |
objects; glm(); geeglm() (from package 'geepack'); lm_robust(), lm_lin(), and |
| 24 |
iv_robust() (from package 'estimatr'); ivreg() (from package 'AER'); ivreg() |
| 25 |
(from package 'ivreg' when estimated by ordinary least squares); plm() (from |
| 26 |
package 'plm'); gls() and lme() (from 'nlme'); lmer() (from `lme4`); robu() (from |
| 27 |
'robumeta'); rma.uni() and rma.mv() (from 'metafor'); and mmrm() (from 'mmrm'). |
| 28 |
URL: http://jepusto.github.io/clubSandwich/ |
| 29 |
BugReports: https://github.com/jepusto/clubSandwich/issues |
| 30 |
Depends: R (>= 3.0.0) |
| 31 |
License: GPL-3 |
| 32 |
VignetteBuilder: knitr |
| 33 |
LazyData: true |
| 34 |
Imports: stats, sandwich, lifecycle |
| 35 |
Suggests: Formula, knitr, testthat, rmarkdown, covr, AER, carData, |
| 36 |
estimatr, fixest, geepack, ivreg, Matrix, lme4, metafor, |
| 37 |
metadat, mlmRev, mmrm, nlme, plm (>= 1.6-4), robumeta, zoo |
| 38 |
RoxygenNote: 7.3.3 |
| 39 |
Encoding: UTF-8 |
| 40 |
Language: en-US |
| 41 |
NeedsCompilation: no |
| 42 |
Packaged: 2026-05-01 14:23:22 UTC; jamespustejovsky |
| 43 |
Author: James E. Pustejovsky [aut, cre] (ORCID: |
| 44 |
<https://orcid.org/0000-0003-0591-9465>), |
| 45 |
Hazim Izani [ctb], |
| 46 |
Samuel Pekofsky [ctb], |
| 47 |
Jingru Zhang [ctb] |
| 48 |
Maintainer: James E. Pustejovsky <[email protected]> |
| 49 |
Repository: CRAN |
| 50 |
Date/Publication: 2026-05-04 05:41:13 UTC |