re.clustsize.cont {powertools} | R Documentation |
Relative efficiency of a cluster randomized trial with continuous outcome with varying cluster sizes
Description
For a continuous outcome, computes the relative efficiency (ratio of the variances) of a cluster randomized trial with varying cluster sizes to that of a cluster randomized trial with constant cluster sizes, assuming equal total number of subjects.
Usage
re.clustsize.cont(m, m.sd, icc)
Arguments
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). |
icc |
The intraclass correlation coefficient. For a multisite trial this is icc1. For a CRT this is the average of the 2 icc's. |
Value
The computed RE.
Examples
re.clustsize.cont(m = 25, m.sd = 15, icc = 0.05)
[Package powertools version 0.1.2 Index]