Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.8.0 rolling source/ R- effClust_0.8.0.tar.gz 110.1 KiB
0.8.0 latest source/ R- effClust_0.8.0.tar.gz 110.1 KiB
0.8.0 2026-04-09 windows/windows R-4.5 effClust_0.8.0.zip 134.2 KiB

Dependencies (latest)

Imports

Suggests