sonscabasic {CAvariants} | R Documentation |
Singly, or one-way, ordered non symmetrical correspondence analysis: for an ordered column predictor variable
Description
This function is used by the main function CAvariants
when the input parameter is catype = "SONSCA"
.
It performs the hybrid decomposition of the numerator of the Goodman-Kruskal tau index and implies an ordered (column) variable.
It calculates the principal axes for the rows and polynomial axes for the columns, coordinates.
It also calculates the row and column weights, inertia (based on the numerator of the tau index) and the rank of the matrix.
It decomposes the inertia into column polynomial components.
Usage
sonscabasic(Xtable, mj)
Arguments
Xtable |
The two-way contingency table. |
mj |
The set of ordered column scores. By default, |
Author(s)
Rosaria Lombardo and Eric J. Beh
References
Beh EJ and Lombardo R 2014 Correspondence Analysis: Theory, Practice and New Strategies. Wiley.
Lombardo R Beh EJ 2016 Variants of Simple Correspondence Analysis. The R Journal, 8 (2), 167–184.
Lombardo R Beh EJ and Kroonenberg PM 2016 Modelling Trends in Ordered Correspondence Analysis Using Orthogonal
Polynomials. Psychometrika, 81(2), 325-349.
Examples
data(asbestos)
mj<-c(1, 2, 3, 4, 5)
sonscabasic(asbestos, mj)