chi3ordered {CA3variants}R Documentation

The partition of the Pearson three-way index.

Description

When three categorical variables are symmetrically related, we can analyse the strength of the symmetrical association using the three-way Pearson statistic. The function chi3ordered partitions the Pearson phi-squared statistic using orthogonal polynomials when, in CA3variants, we set the parameter ca3type = "OCA3".

Usage

chi3ordered(f3, digits = 3)

Arguments

f3

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

digits

The number of decimal digits. By default digits=3.

Value

The partition of the Pearson index into three two-way association terms and one three-way association term. It also shows the polynomial componets of inertia, the percentage of explained inertia, the degrees of freedom and p-value of each term of the partition.

Author(s)

Rosaria Lombardo, Eric J Beh, Ida Camminatiello.

References

Lombardo R, Beh EJ and Kroonenberg PM (2021) Symmetrical and Non-Symmetrical Variants of Three-Way Correspondence Analysis for Ordered Variables. Statistical Science, 36 (4), 542-561.

Examples

#data(happy)
chi3ordered(f3 = happy, digits = 3)

[Package CA3variants version 3.3.1 Index]