Package: sandwich Version: 3.1-2 Date: 2026-04-07 Title: Robust Covariance Matrix Estimators Authors@R: c(person(given = "Achim", family = "Zeileis", role = c("aut", "cre"), email = "Achim.Zeileis@R-project.org", comment = c(ORCID = "0000-0003-0918-3766")), person(given = "Thomas", family = "Lumley", role = "aut", email = "t.lumley@auckland.ac.nz", comment = c(ORCID = "0000-0003-4255-5437")), person(given = "Nathaniel", family = "Graham", role = "ctb", email = "npgraham1@gmail.com", comment = c(ORCID = "0009-0002-1215-5256")), person(given = "Susanne", family = "Koell", role = "ctb")) Description: Object-oriented software for model-robust covariance matrix estimators. Starting out from the basic robust Eicker-Huber-White sandwich covariance methods include: heteroscedasticity-consistent (HC) covariances for cross-section data; heteroscedasticity- and autocorrelation-consistent (HAC) covariances for time series data (such as Andrews' kernel HAC, Newey-West, and WEAVE estimators); clustered covariances (one-way and multi-way); panel and panel-corrected covariances; outer-product-of-gradients covariances; and (clustered) bootstrap covariances. All methods are applicable to (generalized) linear model objects fitted by lm() and glm() but can also be adapted to other classes through S3 methods. Details can be found in Zeileis et al. (2020) , Zeileis (2004) and Zeileis (2006) . Depends: R (>= 3.0.0) Imports: stats, utils, zoo Suggests: AER, car, geepack, lattice, lme4, lmtest, MASS, multiwayvcov, parallel, pcse, plm, pscl, scatterplot3d, stats4, strucchange, survival License: GPL-2 | GPL-3 URL: https://sandwich.R-Forge.R-project.org/ BugReports: https://sandwich.R-Forge.R-project.org/contact.html Repository: https://r-forge.r-universe.dev Date/Publication: 2026-04-07 02:00:47 UTC RemoteUrl: https://github.com/r-forge/sandwich RemoteRef: HEAD RemoteSha: e60afb1aa867d4928e427cdd585babd1c8f2a5da RemoteSubdir: pkg NeedsCompilation: no Packaged: 2026-07-06 07:54:44 UTC; root Author: Achim Zeileis [aut, cre] (ORCID: ), Thomas Lumley [aut] (ORCID: ), Nathaniel Graham [ctb] (ORCID: ), Susanne Koell [ctb] Maintainer: Achim Zeileis