tau3scen2: Marcortchino's index for three-way contingency tables under...

Description Usage Arguments Value Note Author(s) References Examples

View source: R/tau3scen2.R

Description

It provides the Marcotorchino' index partitioning under Scenario 2 when probabilities are set equal to the observed marginal frequencies.

Usage

1
tau3scen2(X, digits = 3)

Arguments

X

The three-way contingency table.

digits

The minimum number of decimal places, digits, used for displaying the numerical summaries of the analysis. By default, digits = 3.

Value

z

The Marcotorchino's index partition under Scenario 2, we get five terms of the tau index partition, three bivariate terms and a trivariate one. The output is in a matrix, , the six rows of this matrix indicate the tau index numerator, the tau index, the percentage of explained inertia, the $C_M$-statistic, the degree of freedom, the p-value, respectively.

Note

This function belongs to the class chi3class.

Author(s)

Lombardo R, Takane Y and Beh EJ

References

Beh EJ and Lombardo R (2014) Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons. Lancaster H O (1951) Complex contingency tables treated by the partition of the chi-square. Journal of Royal Statistical Society, Series B, 13, 242-249.
Lombardo R Carlier A D'Ambra L (1996) Nonsymmetric correspondence analysis for three-way contingency tables. Methodologica, 4, 59-80.
Loisel S and Takane Y (2015) Partitions of Pearson's chi-square statistic for frequency tables: A comprehensive account. Computational Statistics, 31, 1429-1452.
Marcotorchino F (1985) Utilisation des comparaisons par paires en statistique des contingencies: Partie III. Etude du Centre Scientifique, IBM, France. No F 081

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
data(olive)
tau3scen2(olive)

Example output

Loading required package: tools
$z
                 IJ     IK    JK    IJK       M
Numerator     0.008  0.004 0.000  0.002   0.013
Index         0.009  0.004 0.000  0.002   0.016
% of Inertia 58.500 28.029 0.605 12.866 100.000
C-statistic  29.521 14.144 0.305  6.492  50.462
df           10.000  5.000 2.000 10.000  27.000
p-value       0.001  0.015 0.858  0.772   0.004

chi2x3way documentation built on May 2, 2019, 4:16 a.m.