SymmetryTest {coin} | R Documentation |
Testing the symmetry of a response for repeated measurements in a complete block design.
## S3 method for class 'formula' symmetry_test(formula, data, subset = NULL, ...) ## S3 method for class 'SymmetryProblem' symmetry_test(object, teststat = c("max", "quad", "scalar"), distribution = c("asymptotic", "approximate"), alternative = c("two.sided", "less", "greater"), xtrafo = trafo, ytrafo = trafo, scores = NULL, check = NULL, ...) ## S3 method for class 'table' symmetry_test(object, ...)
formula |
a formula of the form
|
data |
an optional data frame containing the variables in the model formula. |
subset |
an optional vector specifying a subset of observations to be used. |
object |
an object inheriting from class |
teststat |
a character, the type of test statistic to be applied: either a
standardized scalar test statistic ( |
alternative |
a character, the alternative hypothesis must be
one of |
distribution |
a character, the null distribution of the test statistic
can be computed |
xtrafo |
a function of transformations (see |
ytrafo |
a function of transformations (see |
scores |
a named list of scores to be attached to ordered factors. In
case a variable is an unordered factor, it is coerced to
|
check |
a function to be applied to objects of class
|
... |
further arguments to be passed to or from methods. |
This function handles symmetry problems where each block corresponds to exactly one observation with repeated measurements.
An object inheriting from class IndependenceTest
with
methods show
, pvalue
and statistic
.