onsca3basic {CA3variants} | R Documentation |
This function is used in the main function CAvariants when the input parameter is ca3type="ONSCA3"
.
It performs the three-way symmetric correspondence analysis by TUCKALS3.
onsca3basic(x, p, q, r, test = 10^-6, ctr = T, std = T, norder=3)
x |
The three-way contingency table. |
p |
The number of components of the first mode. |
q |
The number of components of the second mode. |
r |
The number of components of the third mode. |
test |
The treshold used in the algorithm TUCKALS3. |
ctr |
The flag parameter (T or F), if F the analysis is not centered. |
std |
The flag parameter (T or F) if F the analysis is not standardized. |
norder |
The number of ordered variables considered. |
x |
The original three-way contingency table. |
xs |
The weighted three-way contingency table. |
xhat |
Three-way contingency table reconstructed after Tuckals3 by principal components and core array |
nxhat2 |
The inertia of three-way symmetric correspondence analysis (Three-way Pearson ratio). |
prp |
The proportion of inertia reconstructed using the p, q, r principal components and the core array to the total inertia. To select the model dimensions (number of principal components), we examine the inertia explained by the p, q, r principal components with respect to the overall fit. |
a |
The row principal components. |
b |
The column principal coordinates. |
cc |
The tube principal coordinates. |
g |
The core array calculated by using the Tuckals3 algorithm and can be interpreted as generalised singular value table. They help to explain the strength of the association between the three principal components. |
iteration |
The number of iterations that are required for the TUCKALS3 algorithm to converge. |
Rosaria Lombardo, Eric J Beh.
Beh EJ and Lombardo R (2014). Correspondence Analysis, Theory, Practice and New Strategies. John Wiley & Sons.