Description Usage Arguments Value Author(s)
Computes the conditional type I error rate of a pre-planned z-test in a two-stage parallel group adaptive design. We condition on the observed first stage data and treatment assignment as well as the pre-planned second stage sample size.
1 | normal_CER(x1, g1, n, alpha = 0.025, sigma = 1, one_sample = F)
|
x1 |
First stage observations |
g1 |
First stage treatment assignments (1 for control, -1 for treatment) |
n |
Preplanned overal sample size |
alpha |
pre-fixed significance level |
numeric value of the conditional error rate
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.