adaptive_permdr: Quick adaptive permutation test

Description Usage Arguments Value Author(s)

Description

Quick no-nonsens adaptive permutation decision rule

Usage

1
2
3
4
adaptive_permdr(x1, x2, xE, g1, g2, gE, test_statistic, alpha, permutations,
  restricted, stratified, atest_type = c("non-randomized", "mid-p",
  "davison_hinkley", "CER"), cer_type = c("non-randomized", "randomized",
  "uniform"))

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

test_statistic

test statistic to use

alpha

significance level

permutations

number of permutations to use

restricted

should the treatment group sizes be fixed

stratified

should permutation be stratified by stage

atest_type

if 'CER' compute only conditional error rate, else type of adaptive test should be performed (see perm_test for details)

cer_type

what type of conditional error rate function should be used (see permutation_cer) for details

Value

pvalue

Author(s)

Florian Klinglmueller


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