powered by
Constructs classes of type '>sampalgonthefly and '>sampalgPrecomp.
'>sampalgonthefly
'>sampalgPrecomp
getalgonthefly(level = 0.05, epsilon = 0.001, halfspend = 1000) getalgprecomp(level = 0.05, epsilon = 0.001, halfspend = 1000)
the threshold.
the bound on the resampling risk.
number of steps after which half the error has been spent.
getalgonthefly returns an object of type '>sampalgonthefly. getalgprecomp returns an object of type '>sampalgPrecomp.
getalgonthefly
getalgprecomp
Gandy, A. (2009) Sequential Implementation of Monte Carlo Tests with Uniformly Bounded Resampling Risk. To appear in JASA.
# NOT RUN { alg<-getalgprecomp() run(alg, function() runif(1)<0.01) alg<-getalgonthefly() run(alg, function() runif(1)<0.01) # }
Run the code above in your browser using DataLab