Methods for class ‘mmctestres’ and ‘mmctest’, Package ‘simctest’

Share:

Description

Function which shows current estimates of p-values.

Usage

1
 pEstimate(obj)

Arguments

obj

object of type ‘mmctestres’ or ‘mmctest’.

Methods

pEstimate(obj)

works with object of type mmctestres or mmctest.

Examples

1
2
3
4
5
  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));
  pEstimate(a);

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.