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) . 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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("effClust")

0.8.0 by Joe Ritter, 3 years ago


Browse source code at https://github.com/cran/effClust


Authors: Joe Ritter [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports fixest, stats

Suggests plm, data.table


See at CRAN