sets defaults for permutation mode (permutationMode),
the compare function used to compute the alpha value
(compareFunction) and the function used for checking proper
input argument formats (inputCheckFunction; see the
pdk.Math.__init__ module).
Derived classes have to define a __call__ function which
receives a (permuted) matrix conforming to the input
specifications and returns the value of the test statistics.
argT: may contain constructor arguments for the permutation
statistics
optionD may contain keywords that set options of the permutaion
procedure (e.g., "numberPermutations") and/or constructor keywords
overriding defaults for the permutation statistics.
Value:
a 2-tuple consisting of the reference value of the permutation
statistics and the alpha value of the test
The dynamic instantiation of the permutation statistics class
optimizes the use of permutation statistics that require more than
one matrix as argument (see _CPCA as most complex example).
a special class of permutation statistics where two matrices
are required to compute the value of the test statistics, one
that remains unaltered (passed as referenceM to the
constructor) and the usual permuted one (passed to the __call__
method defined by derived classes).