Design Effect and Intra-cluster Correlation
deff.RdComputes the Kish design effect and corresponding intra-cluster correlation for a single cluster-sampled variable
Value
a vector with named elements n (total number of non-missing
observations), clusters (number of clusters after deleting
missing data), rho(intra-cluster correlation), and deff
(design effect).
Author
Frank Harrell
Department of Biostatistics
Vanderbilt University
fh@fharrell.com