Calculates the intraclass correlation of clustered data
Usage
intraclass_cor(tau2_hat, sigma2_hat)
Arguments
- tau2_hat
estimate of the true between-class correlation
- sigma2_hat
estimate of the true within-class correlation
References
Snijders, T. A. B., & Bosker, R. J. (1999). Multilevel
Analysis. Sage Publications.