multisite.bin: Power for a multisite trial with a binary outcome
Description
Performs power and sample size calculations for a multisite trial with a
binary outcome. Can solve for power, J, m or alpha.
Usage
multisite.bin(
m = NULL,
alloc.ratio = 1,
J = NULL,
pc = NULL,
pt = NULL,
sigma.u = NULL,
alpha = 0.05,
power = NULL,
sides = 2,
v = FALSE
)
Value
A list of the arguments (including the computed one).
Arguments
m
The total number of subjects in condition 1 + condition 2.
alloc.ratio
The allocation ratio of condition 1/condition 2 within site; defaults to 1.
J
The total number of sites.
pc
The probability of the outcome in the control condition.
pt
The probability of the outcome in the treatment condition.
sigma.u
Standard deviation of the treatment effect across sites.
alpha
The significance level or type 1 error rate; defaults to 0.05.
power
The specified level of power.
sides
Either 1 or 2 (default) to specify a one- or two- sided hypothesis test.
v
Either TRUE for verbose output or FALSE (default) to output computed argument only.
Details
In a multisite trial design, participants are randomized to conditions
within site. Consider using ms.varexplore to select plausible values
for sigma.u.