group.action {RATest} | R Documentation |
General Construction of Permutation Tests: Group Actions
Description
Calculates the pre-specified actions on data. Consider data taking values in a sample space
. Let
be a finite group of transformations from
onto itself, with
. This function applies
as
varies in
. If
is a vector of size
and the actions
are permutations,
. If the actions
are sign changes, then
.
Usage
group.action(Z, M, type = "permutations")
Arguments
Z |
Numeric. A vector of size |
M |
Numeric. Number of actions to be performed. This is the number of transformations used in the stochastic approximation to the test. This is due to the fact that in some cases |
type |
Character. The action to be performed. It represents |
Value
Numeric. A matrix of size where
is the size of input
and
is the number of actions to be performed on
.
Author(s)
Maurcio Olivares
Ignacio Sarmiento Barbieri
References
Lehmann, Erich L. and Romano, Joseph P (2005) Testing statistical hypotheses.Springer Science & Business Media.