t_CER: t - Test Conditional Error Rate

Description Usage Arguments Value Author(s)

Description

Computes the conditional type I error rate of a pre-planned t-test (using inverse normal combination of stage-wise t-tests) 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.

Usage

1
t_CER(x1, g1, n, alpha = 0.025, one_sample = FALSE, ...)

Arguments

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

Value

numeric value of the conditional error rate

Author(s)

Florian Klinglmueller


floatofmath/resamplingMCP documentation built on May 16, 2019, 1:21 p.m.