Description Usage Arguments Value Author(s)
Template function to compute the Type 1 error of a trial design
1 2 |
X |
Random number generater for first stage observations |
X2 |
Random number generator for second stage observations (if NULL first stage generator will be used) |
ncp |
Non-centrality (shift) paramater |
n |
pre-planned total sample size |
n1 |
first stagen sample size |
stat |
|
B |
number of permutations to be used to compute the permutation null distribution |
MCMC |
number of simulation runs for Type I error estimation |
one_sample |
should a one-sample test be simulated |
... |
additional functions to conditional error rate function |
matrix of p-values from different test procedures
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.