simulateIncorrectStoppingTimesFisher | R Documentation |
Simulate incorrect optional stopping with fisher's exact test's p-value as the stopping rule.
simulateIncorrectStoppingTimesFisher( thetaA, thetaB, alpha, na, nb, maxSimStoptime = 10000, M = 1000, numberForSeed = NULL )
thetaA |
Bernoulli distribution parameter in group A |
thetaB |
Bernoulli distribution parameter in group B |
alpha |
Significance level |
na |
number of observations in group a per data block |
nb |
number of observations in group b per data block |
maxSimStoptime |
maximal number of blocks to sample in each experiment |
M |
Number of simulations to carry out, default 1e3. |
numberForSeed |
number for seed to set, default NULL. |
list with stopping times and rejection decisions.
simulateIncorrectStoppingTimesFisher(thetaA = 0.3, thetaB = 0.3, alpha = 0.05, na = 1, nb = 1, M = 10, maxSimStoptime = 100, numberForSeed = 251)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.