BinICC | R Documentation |
This function calculates the ICC (intracluster correlation coeffcient which measures the correlation between individuals in the same cluster) under different link funcitions in a cross-sectional stepped wedge CRT with binary outcomes. This model considers only the fixed time effects and does not include cluster by time interaction random effect.
BinICC(link = "identity", meanresponse_start, tau2 = 0)
link |
choose link function from link="identity", link="log" and link="logit", with default value of identity link |
meanresponse_start |
the anticipated mean response in the control group at the start of the study |
tau2 |
also denoted as sigma_b: variance of the between-cluster random effect, default is 0 |
The object returned includes the link function and value for the ICC in this study
BinICC(link="identity",meanresponse_start=0.2,tau2=0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.