mmctest-class {simctest} | R Documentation |
Class which creates an object of type "mmctestres".
Objects can be created by calls of the form mmctest(h=...)
.
internal
:Object of class "environment"
signature(alg = "mmctest", gensample = "mmctSamplerGeneric", maxsteps = "numeric")
: ...
Axel Gandy and Georg Hahn
Gandy, A. and Hahn, G. (2013) MMCTest - A Safe Algorithm for Implementing Multiple Monte Carlo Tests. arXiv:1209.3963
fun <- function(ind,n,data) sapply(1:length(ind), function(i) sum(runif(n[i])<=data[ind[i]])); i <- mmctSampler(fun,num=500,data=runif(500)); a <- mmctest(h=hBH); a <- run(a, i, maxsteps=list(maxnum=1000000,undecided=10));