View source: R/re.clustsize.bin.R
re.clustsize.bin | R Documentation |
For a binary outcome, computes the relative efficiency (ratio of the variances) of a cluster randomized or multisite trial with varying cluster (site) sizes to that of a trial with constant cluster sizes, assuming equal total number of subjects. This approximation may not be valid for all combinations of parameters, for example when m.sd is large.
re.clustsize.bin(m, m.sd, pc, pt, sigma.u)
m |
The number of subjects per cluster or the mean cluster size (if unequal number of participants per cluster). |
m.sd |
The standard deviation of cluster sizes (in case of unequal number of participants per cluster). |
pc |
The probability of the outcome in control clusters. |
pt |
The probability of the outcome in treatment clusters. |
sigma.u |
Standard deviation of the cluster random effect. |
Candel MJJM and van Breukelen GJP (2010) Sample size adjustments for varying cluster sizes in cluster randomized trials with binary outcomes analyzed with second-order PQL mixed logistic regression. Statistics in Medicine 29(14):1488-1501.
The computed RE.
re.clustsize.bin(m = 60, m.sd = 45, pc = 0.25, pt = 0.15, sigma.u = 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.