Description Usage Arguments Value Note Author(s) References Examples
It provides the Pearson's index, e.g. chi-square index, partitioning under the Scenario 1 when probabilities are homogeneous.
1 2 |
X |
The three-way contingency table. |
pi |
The input parameter for specifying the theoretical probabilities of rows categories.
When |
pj |
The input parameter for specifying the theoretical probabilities of columns categories.
When |
pk |
The input parameter for specifying the theoretical probabilities of tube categories.
When |
digits |
The minimum number of decimal places, |
Description of the output returned
z |
The chi-square index partition under Scenario 1, we get seven terms of the chi-square partition, three main terms, two bivariate terms and a trivariate term. The output is in a matrix, the four rows of this matrix indicate the index, the percentage of the explained inertia, the degree of freedom, the p-value, respectively. |
This function belongs to the class chi3class
.
Lombardo R and Takane Y
Beh EJ and Lombardo R (2014) Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons.
Carlier A Kroonenberg PM (1996) Biplots and decompositions in two-way and three-way correspondence analysis. Psychometrika, 61, 355-373.
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.
Loisel S and Takane Y (2016) Partitions of Pearson's chi-square ststistic for frequency tables: A comprehensive account. Computational Statistics, 31, 1429-1452.
1 2 3 |
Loading required package: tools
$z
X2I X2J X2K X2IJ X2IK X2JK X2IJK X2
Index 20.547 0.534 0.025 29.708 14.137 0.311 6.491 71.752
% of Inertia 28.636 0.744 0.035 41.404 19.702 0.433 9.046 100.000
df 5.000 2.000 1.000 10.000 5.000 2.000 10.000 35.000
p-value 0.001 0.766 0.875 0.001 0.015 0.856 0.772 0.000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.