adaptive_npcombtest_os: adptive NPC test

Description Usage Arguments Value Author(s)

Description

Non-parametric combination of stage-wise test statistics. Combines stage-wise permutation p-values using some combination function; performs the test using the joint conditional permutation distribution of stage wise permutation p-values.

Usage

1
2
adaptive_npcombtest_os(x, n1, n, ne, test_statistic,
  combination_function = inverse_normal, perms = 50000, alpha = 0.025)

Arguments

x

Observations

n1

First stage sample size

n

Pre-planned total sample size

ne

Extended sample size

test_statistic

Function that computes the test test statistic

combination_function

Function to combine stage-wise (permutation) p-values

perms

Maximum number of permutations to use when computing permutation p-values and conditional error rates

alpha

Value

Logical whether the test rejects

Author(s)

Florian Klinglmueller


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