- data
sample of observations.
- stat.index
index of a test statistic as given by function getindex
.
- null.law.index
index of the distribution to be tested (the
null hypothesis distribution),
as given by function getindex
.
- M
number of Monte-Carlo repetitions to use.
- alter
value (in {0,1,2,3,4}) giving the the type of test (See Section 3.3 in Lafaye de Micheaux, P. and Tran, V. A. (2014)).
- null.law.pars
vector of parameters for the law. The length of this
parameter should not exceed 4. If not provided, the default values
are taken using getindex
function.
- stat.pars
a vector of parameters.
If NULL
, the default parameter values for the statistic specified by this statistic wil be used.
- list.stat
if not NULL
, a vector of test statistic values should be
provided. If NULL
, these values will be computed.
- method
method to use for the computation of the \(p\)-value. Only 'Fisher' method
is available for the moment.
- center
Logical. Should we center the data generated
- scale
Logical. Should we center the data generated