Home  >>  Archives  >>  Volume 18 Number 2  >>  st0531

The Stata Journal
Volume 18 Number 2: pp. 447-460



Subscribe to the Stata Journal
cover

Inference for clustered data

Chang Hyung Lee
Department of Economics
University of California, Santa Barbara
Santa Barbara, CA
[email protected]
Douglas G. Steigerwald
Department of Economics
University of California, Santa Barbara
Santa Barbara, CA
[email protected]
Abstract.  In this article, we introduce clusteff, a community-contributed command for checking the severity of cluster heterogeneity in cluster–robust analyses. Cluster heterogeneity can cause a size distortion leading to underrejection of the null hypothesis. Carter, Schnepel, and Steigerwald (2017, Review of Economics and Statistics 99: 698–709) develop the effective number of clusters to reflect a reduction in the degrees of freedom, thereby mirroring the distortion caused by assuming homogeneous clusters. clusteff generates the effective number of clusters. We provide a decision tree for cluster–robust analysis, demonstrate the use of clusteff, and recommend methods to minimize the size distortion.
Terms of use     View this article (PDF)

View all articles by these authors: Chang Hyung Lee, Douglas G. Steigerwald

View all articles with these keywords: clusteff, cluster heterogeneity

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS