sandwich

Robust Covariance Matrix Estimators

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 234,590 times in the last 30 days. That's a whole lot of downloads. Somewhere, a librarian is trying to figure out why more bandwidth is needed. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 8,956 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
9,200 downloadsMar 4, 2025
9,177 downloadsMar 5, 2025
9,249 downloadsMar 6, 2025
7,297 downloadsMar 7, 2025
4,019 downloadsMar 8, 2025
4,608 downloadsMar 9, 2025
8,882 downloadsMar 10, 2025
9,562 downloadsMar 11, 2025
9,244 downloadsMar 12, 2025
8,720 downloadsMar 13, 2025
7,710 downloadsMar 14, 2025
4,856 downloadsMar 15, 2025
4,918 downloadsMar 16, 2025
9,269 downloadsMar 17, 2025
10,040 downloadsMar 18, 2025
9,601 downloadsMar 19, 2025
9,226 downloadsMar 20, 2025
7,728 downloadsMar 21, 2025
4,361 downloadsMar 22, 2025
4,824 downloadsMar 23, 2025
9,285 downloadsMar 24, 2025
10,156 downloadsMar 25, 2025
9,706 downloadsMar 26, 2025
9,097 downloadsMar 27, 2025
7,967 downloadsMar 28, 2025
4,475 downloadsMar 29, 2025
4,250 downloadsMar 30, 2025
8,587 downloadsMar 31, 2025
9,620 downloadsApr 1, 2025
8,956 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
4,019
10,156

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 2,292,326 times in the last 365 days. Whoa! That's more downloads than an AI-generated meme in a tech-savvy group chat. Truly legendary! The day with the most downloads was Nov 19, 2024 with 10,754 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports1 package
  • Suggests14 packages
  • Reverse Depends23 packages
  • Reverse Imports133 packages
  • Reverse Suggests58 packages