donscabasic {CAvariants}R Documentation

Doubly, or two-way ordered, non symmetrical correspondence analysis: for two ordered variables


This function is used in the main function CAvariants when the input parameter is catype = "DONSCA". It performs the bivariate moment decomposition of the numerator of the Goodman-Kruskal tau index for a contingency table consisting of two ordered variables. It computes the polynomial axes, coordinates, weights of the rows and columns, total inertia (equal to the numerator of the tau index) and the rank of the matrix. It also decomposes the inertia into row and column polynomial components.


donscabasic(Xtable, mi, mj)



The two-way contingency table.


The set of ordered row scores. By default, mi = c(1:nrow(Xtable)) (natural scores).


The set of ordered column scores. By default, mj = c(1:ncol(Xtable)) (natural scores).


Rosaria Lombardo and Eric J. Beh


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.


mi <- c(1, 2, 3, 4) # natural scores for the rows
mj <- c(4.5, 14.5, 24.5, 34.5, 44.5) #midpoints for the columns
donscabasic(asbestos, mi, mj)

[Package CAvariants version 6.0 Index]