Computes a p-value using a permutation procedure.
permutePval(pcevObj, ...)# S3 method for default
permutePval(pcevObj, ...)
# S3 method for PcevClassical
permutePval(pcevObj, shrink, index, nperm, ...)
# S3 method for PcevBlock
permutePval(pcevObj, shrink, index, nperm, ...)
# S3 method for PcevSingular
permutePval(pcevObj, shrink, index, nperm, ...)
A pcev object of class PcevClassical
or PcevSingular
PcevBlock
Extra parameters.
Should we use a shrinkage estimate of the residual variance?
If pcevObj
is of class PcevBlock
, index
is a
vector describing the block to which individual response variables
correspond.
The number of permutations to perform.