summary.CAvariants: Summary of results of CA variants analysis

Description Usage Arguments Value Author(s) References Examples

View source: R/summary.CAvariants.R

Description

This function prints summary results of any of the specified six variants of correspondence analysis. The input parameter is the name of the output of the main function CAvariants.

Usage

1
2
## S3 method for class 'CAvariants'
summary(object,printdims,digits,...)

Arguments

object

The output of the main function CAvariants.

printdims

The dimension number in printing. By default, printdims = 3.

digits

The minimum number of significant digits to be printed in values. By default, digits = 3.

...

Further arguments passed to or from other methods.

Value

The value of output returned depends on the kind of correspondence analysis performed.

Inertias

The inertia value and its percentage, in the row and column space for each principal or polynomial axis when catype is "DOCA", "DONSCA", "SOCA" or "SONSCA". When catype is "CA" or "NSCA", the associated inertia values in the row and column spaces are the same.

Generalized correlation matrix

The generalized correlation matrix when catype is "DOCA", "DONSCA", "SOCA" or "SONSCA".

Row principal coordinates

The row principal coordinates when catype is "CA" or "NSCA".

Column principal coordinates

The column principal coordinates when catype is "CA" or "NSCA".

Row standard coordinates

The row standard coordinates when catype is "CA" or "NSCA".

Column standard coordinates

The column standard coordinates when catype is "CA" or "NSCA".

Row principal polynomial coordinates

The row principal polynomial coordinates when catype is "DOCA", "DONSCA", "SOCA" or "SONSCA".

Column principal polynomial coordinates

The column principal coordinates when catype is "DOCA","DONSCA".

Row standard polynomial coordinates

The row standard polynomial coordinates when catype is "DOCA" or "DONSCA".

Column standard polynomial coordinates

The column standard polynomial coordinates when catype is "DOCA", "DONSCA", "SOCA", "SONSCA".

Total inertia

The total inertia. For example in case of non symmetrical correspondence analysis, it gives the numerator of the Goodman-Kruskal tau index, the associated C-statistic and its p-value.

Polynomial components

The polynomial components of inertia and their p-values. The inertia of the column space is partitioned in terms of polynomial components when catype is "SOCA" or "SONSCA". The inertia of the row and column space is partitioned in terms of polynomial components when catype is "DOCA" or "DONSCA".

Inner product

The inner product of coordinates.

Author(s)

Rosaria Lombardo and Eric J. Beh

References

Beh EJ and Lombardo R 2014 Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons. Lombardo R Beh EJ Variants of Simple Correspondence Analysis. The R Journal (accepted).

Examples

1
2
3
4
5
asbestos<-matrix(c(310, 36, 0, 0, 212, 158, 9, 0, 21, 35, 17, 4, 25,102,  
49, 18, 7, 35, 51, 28), 4, 5, dimnames = list(c("none","grade1", "grade2", "grade3"), 
c("0-9", "10-19", "20-29", "30-39", "40")))
risasbestos<-CAvariants(asbestos, catype = "DOCA", firstaxis = 1, lastaxis = 2) 
summary(risasbestos)

Example output

Loading required package: tools

    SUMMARY DOCA Correspondence Analysis

 Names of output objects
 [1] "Xtable"      "rows"        "cols"        "r"           "rowlabels"  
 [6] "collabels"   "Rprinccoord" "Cprinccoord" "Rstdcoord"   "Cstdcoord"  
[11] "tauden"      "tau"         "inertiasum"  "inertias"    "inertias2"  
[16] "comps"       "catype"      "mj"          "mi"          "pcc"        
[21] "Jmass"       "Imass"       "Trend"       "Z"           "ellcomp"    
[26] "risell"      "Mell"       

 Total inertia  0.581 

Inertias, percent inertias and cumulative percent inertias of the row space

       inertia inertiapc cuminertiapc
value1   0.478    82.355       82.355
value2   0.079    13.589       95.945
value3   0.024     4.055      100.000
Inertias, percent inertias and  cumulative percent inertias of the column space 

       inertia2 inertiapc2 cuminertiapc2
value1    0.486     84.937        84.937
value2    0.085     14.795        99.733
value3    0.002      0.267       100.000

 Polynomial Components of Inertia 

** Row Components ** 
                            Component Value P-value
Location                            534.331       0
Dispersion                           88.170       0
Error                                26.310       0
** Chi-squared Statistic **         648.812       0

** Column Components ** 
                            Component Value P-value
Location                            543.141   0.000
Dispersion                           94.609   0.000
Cubic                                 1.709   0.635
Error                                 9.352   0.025
** Chi-squared Statistic **         648.812   0.000

 Column standard polynomial coordinates 
       axes1  axes2  axes3
0-9   -1.049  0.931 -0.496
10-19 -0.316 -0.868  0.942
20-29  0.417 -1.341 -0.542
30-39  1.149 -0.487 -1.553
40     1.882  1.693  1.302

 Row standard polynomial coordinates 
        axes1  axes2  axes3
none   -0.817  0.497 -0.169
grade1  0.371 -1.130  0.798
grade2  1.559 -0.241 -2.319
grade3  2.746  3.163  1.948

 Column principal polynomial coordinates 
       axes1  axes2  axes3
0-9   -0.693  0.328 -0.069
10-19 -0.265 -0.199  0.183
20-29  0.433 -0.267 -0.094
30-39  0.738 -0.298 -0.007
40     1.353  0.332 -0.306

 Row principal polynomial coordinates 
        axes1  axes2  axes3
none   -0.594  0.132  0.009
grade1  0.300 -0.386 -0.002
grade2  1.242  0.253 -0.083
grade3  1.501  0.665  0.127

 Column standard coordinates 
       axes1  axes2  axes3
0-9   -1.049  0.931 -0.496
10-19 -0.316 -0.868  0.942
20-29  0.417 -1.341 -0.542
30-39  1.149 -0.487 -1.553
40     1.882  1.693  1.302

 Row standard coordinates 
        axes1  axes2  axes3
none   -0.817  0.497 -0.169
grade1  0.371 -1.130  0.798
grade2  1.559 -0.241 -2.319
grade3  2.746  3.163  1.948

 Column principal  coordinates 
       axes1  axes2  axes3
0-9   -0.693  0.328 -0.069
10-19 -0.265 -0.199  0.183
20-29  0.433 -0.267 -0.094
30-39  0.738 -0.298 -0.007
40     1.353  0.332 -0.306

 Row principal coordinates 
        axes1  axes2  axes3
none   -0.594  0.132  0.009
grade1  0.300 -0.386 -0.002
grade2  1.242  0.253 -0.083
grade3  1.501  0.665  0.127

CAvariants documentation built on May 30, 2017, 1:25 a.m.