tau3: Partition of the Marcotorchino three-way index

View source: R/tau3.R

tau3R Documentation

Partition of the Marcotorchino three-way index

Description

When the association among three categorical variables is asymmetric such that one variable is a logical response variable to the other variables, we recommend calculating the non-symmetrical three-way measure of predictability such as the Marcotorchino index (Marcotorchino, 1985). The function tau3 partitions the Marcotorchino statistic when, in CA3variants, we set the parameter ca3type = "NSCA3".

Usage

tau3(f3, digits = 3)

Arguments

f3

Three-way contingency array given as an input parameter in CA3variants.

digits

Number of decimal digits. By default digits=3.

Value

z

The partition of the Marcotorchino index into three two-way association terms and one three-way association term. It also shows the C statistic of each term, its degrees of freedom and p-value.

CM

the C statistic of the Marcotorchino index.

devt

The denominator of the Marcotorchino index.

Author(s)

Rosaria Lombardo, Eric J Beh, Ida Camminatiello.

References

Beh EJ and Lombardo R (2014) Correspondence Analysis, Theory, Practice and New Strategies. John Wiley & Sons.

Examples

data(happy)
tau3(happy, digits = 3)

CA3variants documentation built on Oct. 10, 2022, 5:07 p.m.