##The examples below are chosen to run relatively quickly (<5 mins)
##and do not represent recommended tuning choices.
## Not run:
# index <- sample(1:2, 1E4, replace=TRUE)
# sumstat <- ifelse(index==1, rnorm(1E4,0,1), rnorm(1E4,0,rexp(1E4,1)))
# sumstat <- data.frame(ss=sumstat)
# covdiag <- cov.mc(index=index, sumstat=sumstat, testsets=1:100,
# tol=seq(0.1,1,by=0.1), diagnostics=c("freq"))
# mc.ci(covdiag$raw, tol=0.5, modname=1, modtrue=index[1:100])
# ## End(Not run)
Run the code above in your browser using DataLab