Learn R Programming

summclust

{summclust} is an R module for cluster level measures of leverage and influence, and further implements CRV3 and CRV3J cluster robust variance estimators.

For an introduction to the package, take a look at its vignette.

For a quick overview of different CRV estimators, take a look at the cluster robust variance estimation vignette.

For a very detailed description of the implemented methods, in particular a discussion of the different leverage and influence metrics, see:

MacKinnon, J.G., Nielsen, M.Ø., Webb, M.D., 2022. Leverage, influence, and the jackknife in clustered regression models: Reliable inference using summclust. QED Working Paper 1483. Queen’s University.

For the Stata version of the package, see here.

Installation

You can install the development version of summclust from CRAN, GitHub and r-universe with:

# install from CRAN
install.packages('summclust')

# from r-universe (windows & mac, compiled R > 4.0 required)
install.packages('summclust', repos ='https://s3alfisc.r-universe.dev')

# install.packages("devtools")
devtools::install_github("s3alfisc/summclust")

Copy Link

Version

Install

install.packages('summclust')

Monthly Downloads

65

Version

0.7.2

License

MIT + file LICENSE

Maintainer

Alexander Fischer

Last Published

August 10th, 2023

Functions in summclust (0.7.2)

summary.summclust

A summary() method for objects of type summclust
vcov_CR3J.fixest

Compute CRV3 covariance matrices via a cluster jackknife as described in MacKinnon, Nielsen & Webb (2022) for objects of type fixest
reexports

Objects exported from other packages
summclust

Compute Influence and Leverage Metrics
summclust.fixest

Compute Influence and Leverage Metrics for objects of type fixest
summclust.lm

Compute Influence and Leverage Metrics for objects of type lm
tidy.summclust

S3 method to summarize objects of class boottest into tidy data.frame
vcov_CR3J.lm

Compute CRV3 covariance matrices via a cluster jackknife as described in MacKinnon, Nielsen & Webb (2022) for objects of type lm
vcov_CR3J

Compute CRV3 covariance matrices via a cluster jackknife as described in MacKinnon, Nielsen & Webb (2022)
plot.summclust

Plotting method for objects of type summclust