R package to estimate intracluster correlation coefficient with confidence interval for binary data

Comput Methods Programs Biomed. 2018 Mar:155:85-92. doi: 10.1016/j.cmpb.2017.10.023. Epub 2017 Oct 31.

Abstract

Background and objective: The Intracluster Correlation Coefficient (ICC) is a major parameter of interest in cluster randomized trials that measures the degree to which responses within the same cluster are correlated. There are several types of ICC estimators and its confidence intervals (CI) suggested in the literature for binary data. Studies have compared relative weaknesses and advantages of ICC estimators as well as its CI for binary data and suggested situations where one is advantageous in practical research. The commonly used statistical computing systems currently facilitate estimation of only a very few variants of ICC and its CI. To address the limitations of current statistical packages, we developed an R package, ICCbin, to facilitate estimating ICC and its CI for binary responses using different methods.

Methods: The ICCbin package is designed to provide estimates of ICC in 16 different ways including analysis of variance methods, moments based estimation, direct probabilistic methods, correlation based estimation, and resampling method. CI of ICC is estimated using 5 different methods. It also generates cluster binary data using exchangeable correlation structure.

Results: ICCbin package provides two functions for users. The function rcbin() generates cluster binary data and the function iccbin() estimates ICC and it's CI. The users can choose appropriate ICC and its CI estimate from the wide selection of estimates from the outputs.

Conclusions: The R package ICCbin presents very flexible and easy to use ways to generate cluster binary data and to estimate ICC and it's CI for binary response using different methods. The package ICCbin is freely available for use with R from the CRAN repository (https://cran.r-project.org/package=ICCbin). We believe that this package can be a very useful tool for researchers to design cluster randomized trials with binary outcome.

Keywords: Confidence interval of ICC; ICCbin; Intracluster correlation coefficient; R package; Randomized clinical trials.

MeSH terms

  • Analysis of Variance
  • Cluster Analysis
  • Confidence Intervals
  • Probability
  • Randomized Controlled Trials as Topic
  • Software*