mControl {interval} | R Documentation |
A function to create a list of arguments for ictest
.
mControl(cm=NULL,nmc=10^3-1,seed=1234321,digits=12,p.conf.level=.99, setSEED=TRUE,tol.svd=10^-8,nwsr=10^3-1,np=10^3-1)
cm |
a choose(n,m) by n matrix, used if method='exact.ce', ignored otherwise |
nmc |
number of Monte Carlo replications, used if method='exact.mc', ignored otherwise |
seed |
value used in set.seed if method='exact.mc', or any of three wsr methods, ignored otherwise |
setSEED |
logical, set to FALSE when performing simulations |
p.conf.level |
confidence level for p value estimate, used if method='exact.mc', ignored otherwise |
digits |
number of digits to use in signif for precision of test statistics |
tol.svd |
tolerance for use in calculating g-inverse, values less than tol.svd are set to zero, used when method='scoretest' |
nwsr |
number of within subject resamples, used when method='wsr.mc', 'wsr.HLY', or 'wsr.pclt' |
np |
number of permutation replications within each wsr, used when method='wsr.mc' |
When cm
=NULL the resulting matrix is created by chooseMatrix
, it may be optionally provided here
only so that chooseMatrix
does not need to be repeatedly called in simulations.
Also when doing simulations (with
method='exact.mc' or any of the wsr methods), use setSEED=FALSE so that the seed
is not reset to the same value each time you call the function.
See calcPvalsMC
for description of how p.conf.level is used.
An list with the arguments as components.