Learn R Programming

coin (version 1.1-0)

IndependenceTestStatistic-class: Class "IndependenceTestStatistic" and its subclasses

Description

Objects of class "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.

Arguments

Objects from the Class

Class "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.

Extends

For objects of class "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 "IndependenceTestStatistic", directly. Class "IndependenceLinearStatistic", by class "IndependenceTestStatistic", distance 2. Class "IndependenceTestProblem", by class "IndependenceTestStatistic", distance 3. Class "IndependenceProblem", by class "IndependenceTestStatistic", distance 4.

Known Subclasses

For objects of class "IndependenceTestStatistic": Class "MaxTypeIndependenceTestStatistic", directly. Class "QuadTypeIndependenceTestStatistic", directly. Class "ScalarIndependenceTestStatistic", directly.