adaptive_permtest_quick_gs: Permutation test for adaptive group sequential trials

Description Usage Arguments Details Value Author(s)

Description

Quick no-nonsense permutation test for two-stage adaptive group-sequential trials that computes only the p-value

Usage

1
2
adaptive_permtest_quick_gs(x1, x2, xE, g1, g2, gE, a0, stat,
  permutations = 10000, restricted = T, stratified = T)

Arguments

x1

first stage observations

x2

second stage observations

xE

extended stage observations

g1

frist stage treatment assignments

g2

second stage treatment assignments

gE

extended stage treatment assignments

a0

early rejection boundary

stat

test statistic to use

permutations

number of permutations to use

restricted

should the treatment group sizes be fixed

stratified

Details

We assume that stat may also be used to compute the first stage statistic

Value

pvalue

Author(s)

Florian Klinglmueller


floatofmath/adaperm documentation built on May 16, 2019, 1:18 p.m.