Learn R Programming

⚠️There's a newer version (0.6.1) of this package.Take me there.

clubSandwich (version 0.3.1)

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

Description

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) and developed further by Pustejovsky and Tipton (2017) . 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'), plm() (from package 'plm'), gls() and lme() (from 'nlme'), robu() (from 'robumeta'), and rma.uni() and rma.mv() (from 'metafor').

Copy Link

Version

Install

install.packages('clubSandwich')

Monthly Downloads

8,330

Version

0.3.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

James Pustejovsky

Last Published

April 4th, 2018

Functions in clubSandwich (0.3.1)

vcovCR.glm

Cluster-robust variance-covariance matrix for a glm object.
coef_test

Test all regression coefficients in a fitted model
Wald_test

Test parameter constraints in a fitted linear regression model
impute_covariance_matrix

Impute a block-diagonal covariance matrix
vcovCR.gls

Cluster-robust variance-covariance matrix for a gls object.
dropoutPrevention

Dropout prevention/intervention program effects
SATcoaching

Randomized experiments on SAT coaching
MortalityRates

State-level annual mortality rates by cause among 18-20 year-olds
AchievementAwardsRCT

Achievement Awards Demonstration program
vcovCR.ivreg

Cluster-robust variance-covariance matrix for an ivreg object.
vcovCR.lme

Cluster-robust variance-covariance matrix for an lme object.
vcovCR.lm

Cluster-robust variance-covariance matrix for an lm object.
vcovCR

Cluster-robust variance-covariance matrix
vcovCR.rma.mv

Cluster-robust variance-covariance matrix for a robu object.
vcovCR.plm

Cluster-robust variance-covariance matrix for a plm object.
vcovCR.rma.uni

Cluster-robust variance-covariance matrix for a rma.uni object.
vcovCR.robu

Cluster-robust variance-covariance matrix for a robu object.
vcovCR.mlm

Cluster-robust variance-covariance matrix for an mlm object.