sandwich: Robust Covariance Matrix Estimators

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) <doi:10.18637/jss.v095.i01>, Zeileis (2004) <doi:10.18637/jss.v011.i10> and Zeileis (2006) <doi:10.18637/jss.v016.i09>.

Version: 3.0-2
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
Published: 2022-06-15
Author: Achim Zeileis ORCID iD [aut, cre], Thomas Lumley [aut], Nathaniel Graham [ctb], Susanne Koell [ctb]
Maintainer: Achim Zeileis <Achim.Zeileis at R-project.org>
BugReports: https://sandwich.R-Forge.R-project.org/contact.html
License: GPL-2 | GPL-3
URL: https://sandwich.R-Forge.R-project.org/
NeedsCompilation: no
Citation: sandwich citation info
Materials: README NEWS
In views: Econometrics, Finance, Robust
CRAN checks: sandwich results

Documentation:

Reference manual: sandwich.pdf
Vignettes: Various Versatile Variances: An Object-Oriented Implementation of Clustered Covariances in R
Object-Oriented Computation of Sandwich Estimators
Econometric Computing with HC and HAC Covariance Matrix Estimators

Downloads:

Package source: sandwich_3.0-2.tar.gz
Windows binaries: r-devel: sandwich_3.0-2.zip, r-release: sandwich_3.0-2.zip, r-oldrel: sandwich_3.0-2.zip
macOS binaries: r-release (arm64): sandwich_3.0-2.tgz, r-oldrel (arm64): sandwich_3.0-2.tgz, r-release (x86_64): sandwich_3.0-2.tgz, r-oldrel (x86_64): sandwich_3.0-2.tgz
Old sources: sandwich archive

Reverse dependencies:

Reverse depends: AER, CADFtest, cjoint, COUNT, dhglm, evian, gmm, iClick, ivregEX, list, mediation, merDeriv, mfx, midasr, momentfit, PeerPerformance, prais, RcmdrMisc, rdd, strucchange, strucchangeRcpp, vars
Reverse imports: acrt, adventr, autostsm, bayesdistreg, betareg, binsreg, bucky, causalOT, censReg, chantrics, clubSandwich, clusterSEs, cmprskcoxmsm, contrast, ConvergenceClubs, crch, cregg, crseEventStudy, DChaos, DirectEffects, dLagM, DMLLZU, ecm, eventglm, fglsnet, FindIt, fixest, fxregime, gcmr, GenericML, GLMpack, glmx, glogis, gravity, Greg, grf, GVARX, GWASTools, HARModel, HDTSA, highfrequency, interflex, invacost, ivdoctr, lavaSearch2, lax, lfe, lineartestr, lite, LMMstar, lpirfs, maczic, matchMulti, maxLik, medflex, memochange, mixl, mlt, model4you, ModTools, monotonicity, multcomp, multiwayvcov, ndvtest, nonnest2, OOS, outreg, party, pdR, PlackettLuce, plm, PointFore, pubh, quickmatch, radiant.model, Rchoice, RCreliability, rddapp, rddtools, rdlocrand, refitME, regmedint, regtools, rigr, scDIFtest, semtree, slm, sovereign, ssym, StackImpute, systemfit, tbm, tradepolicy, tram, tramnet, trtf, weibulltools, wildmeta
Reverse suggests: ANOM, ARDL, broom, car, chandwich, dce, dfadjust, Disequilibrium, DoubleML, dyn, dynlm, eflm, estimatr, finalfit, FinTS, fwildclusterboot, geex, ggeffects, gtsummary, HSAUR2, HSAUR3, huxtable, insight, interactions, ivreg, jtools, lmtest, madness, marginaleffects, margins, MarkowitzR, MatchIt, memisc, miceadds, mlt.docreg, modelsummary, modmarg, npcp, panelr, parameters, parglms, partykit, performance, pscl, psychotools, psycModel, riskCommunicator, SharpeR, SimEngine, sjPlot, sketching, spatialreg, StratifiedMedicine, tangram, texreg, tukeytrend, wpa

Linking:

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