Description Usage Arguments Value Author(s)
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.
1 2 | adaptive_npcombtest_os(x, n1, n, ne, test_statistic,
combination_function = inverse_normal, perms = 50000, alpha = 0.025)
|
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 |
Logical whether the test rejects
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.