"IndependenceTestStatistic"
and its subclasses"IndependenceTestStatistic"
and its subclasses
"MaxTypeIndependenceTestStatistic"
,
"QuadTypeIndependenceTestStatistic"
and
"ScalarIndependenceTestStatistic"
represent the test statistic, the
linear statistic, and the transformed and original data structures
corresponding to an independence problem."IndependenceTestStatistic"
is a virtual class, so objects
cannot be created from it directly.Objects can be created by calls of the form new("MaxTypeIndependenceTestStatistic", object, alternative = c("two.sided", "less", "greater"), \dots),
new("QuadTypeIndependenceTestStatistic", object, paired = FALSE, \dots)
and new("ScalarIndependenceTestStatistic", object,
alternative = c("two.sided", "less", "greater"), paired = FALSE, \dots)
where object
is an object of class
"IndependenceLinearStatistic"
, alternative
is a character
specifying the direction of the alternative hypothesis and paired
is a
logical indicating that paired data have been transformed in such a way that
the (unstandardized) linear statistic is the sum of the absolute values of the
positive differences between the paired observations.
"IndependenceTestStatistic"
:
Class "IndependenceLinearStatistic "
, directly.
Class "IndependenceTestProblem "
, by class
"IndependenceLinearStatistic "
, distance 2.
Class "IndependenceProblem "
, by class
"IndependenceLinearStatistic "
, distance 3. For objects of classes "MaxTypeIndependenceTestStatistic"
,
"QuadTypeIndependenceTestStatistic"
or
"ScalarIndependenceTestStatistic"
:
Class "
, directly.
Class "
, by class
"
, distance 2.
Class "
, by class
"
, distance 3.
Class "
, by class
"
, distance 4.
"IndependenceTestStatistic"
:
Class "MaxTypeIndependenceTestStatistic"
, directly.
Class "QuadTypeIndependenceTestStatistic"
, directly.
Class "ScalarIndependenceTestStatistic"
, directly.