Description Usage Arguments Value Author(s) References Examples
View source: R/print.chi2x3way.R
This function prints the results of the three-way index partition.
The input parameter is the name of the output of the main function Chi2for3way
.
1 2 |
x |
The name of the output object, for example say |
digits |
The minimum number of decimal places, |
... |
Further arguments passed to or from other methods. |
The value of output returned depends on the kind of three-way-index and scenario considered itemXThe three-way contingency table.
indexparts |
The three-way index partition |
simulaout |
When the input parameter Further, the output also gives the mean of the theoretical and observed distributions of the classical and revised $C_M$-statistics, the variance
of the theoretical and observed distributions of the classical and revised $C_M$-statistics.
When |
Lombardo R, Takane Y and Beh EJ
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.
Lombardo R Carlier A D'Ambra L (1996) Nonsymmetric correspondence analysis for three-way contingency tables. Methodologica, 4, 59-80.
1 2 3 |
Loading required package: tools
Results to print
Data Matrix:
, , urban
NW NE SW
A 20 18 12
B 15 17 9
C 12 18 23
D 17 18 21
E 16 6 19
F 28 25 30
, , rural
NW NE SW
A 30 23 11
B 22 18 9
C 21 20 26
D 17 18 19
E 8 10 17
F 12 15 24
Chi2 partition under Scenario 2
X2IJ X2IK X2JK X2IJK X2
Index 31.083 12.191 0.304 6.969 50.547
% of Inertia 61.493 24.119 0.601 13.787 100.000
df 10.000 5.000 2.000 10.000 27.000
p-value 0.001 0.032 0.859 0.728 0.004
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.