effClust: Calculate Effective Number of Clusters for a Linear Model

Calculates the (approximate) effective number of clusters for a regression model, as described in Carter, Schnepel, and Steigerwald (2017) <doi:10.1162/REST_a_00639>. The effective number of clusters is a statistic to assess the reliability of asymptotic inference when sampling or treatment assignment is clustered. Methods are implemented for stats::lm(), plm::plm(), and fixest::feols(). There is also a formula method.

Getting started

Package details

AuthorJoe Ritter [aut, cre]
MaintainerJoe Ritter <R-effclust@proton.me>
LicenseMIT + file LICENSE
Version0.8.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("effClust")

Try the effClust package in your browser

Any scripts or data that you put into this service are public.

effClust documentation built on May 29, 2024, 5:15 a.m.