# Relationship square

In statistics, the relationship square is a graphical representation for use in the factorial analysis of a table individuals x variables. This representation completes classical representations provided by principal component analysis (PCA) or multiple correspondence analysis (MCA), namely those of individuals, of quantitative variables (correlation circle) and of the categories of qualitative variables (at the centroid of the individuals who possess them). It is especially important in factor analysis of mixed data (FAMD) and in multiple factor analysis (MFA).

## Definition of relationship square in the MCA frame

The first interest of the relationship square is to represent the variables themselves, not their categories, which is all the more valuable as there are many variables. For this, we calculate for each qualitative variable ${\displaystyle j}$ and each factor ${\displaystyle F_{s}}$ (${\displaystyle F_{s}}$ , rank ${\displaystyle s}$ factor, is the vector of coordinates of the individuals along the axis of rank ${\displaystyle s}$; in PCA, ${\displaystyle F_{s}}$ is called principal component of rank ${\displaystyle s}$) , the square of the correlation ratio between the ${\displaystyle F_{s}}$ and the variable ${\displaystyle j}$, usually denoted : ${\displaystyle \eta ^{2}(j,F_{s})}$
Thus, to each factorial plane, we can associate a representation of qualitative variables themselves. Their coordinates being between 0 and 1 , the variables appear in the square having as vertices the points (0,0), ( 0,1), (1,0) and (1,1).

## Example in MCA

Six individuals (${\displaystyle i_{1},\ldots ,i_{6})}$ are described by three variables ${\displaystyle (q_{1},q_{2},q_{3})}$ having respectively 3, 2 and 3 categories. Example : the individual ${\displaystyle i_{1}}$ possesses the category ${\displaystyle a}$ of ${\displaystyle q_{1}}$, ${\displaystyle d}$ of ${\displaystyle q_{2}}$ and ${\displaystyle f}$ of ${\displaystyle q_{3}}$.

Table 1. Minute data set for MCA.
${\displaystyle q_{1}}$ ${\displaystyle q_{2}}$ ${\displaystyle q_{3}}$
${\displaystyle i_{1}}$ ${\displaystyle q_{1}}$-a ${\displaystyle q_{2}}$-d ${\displaystyle q_{3}}$-f
${\displaystyle i_{2}}$ ${\displaystyle q_{1}}$-b ${\displaystyle q_{2}}$-d ${\displaystyle q_{3}}$-f
${\displaystyle i_{3}}$ ${\displaystyle q_{1}}$-c ${\displaystyle q_{2}}$-d ${\displaystyle q_{3}}$-g
${\displaystyle i_{4}}$ ${\displaystyle q_{1}}$-a ${\displaystyle q_{2}}$-e ${\displaystyle q_{3}}$-g
${\displaystyle i_{5}}$ ${\displaystyle q_{1}}$-b ${\displaystyle q_{2}}$-e ${\displaystyle q_{3}}$-h
${\displaystyle i_{6}}$ ${\displaystyle q_{1}}$-c ${\displaystyle q_{2}}$-e ${\displaystyle q_{3}}$-h

Applied to these data, the MCA function included in the R Package FactoMineR provides to the classical graph in Figure 1.

 Figure 1. MCA of table 1 via FactoMineR. Representation of individuals (blue) and categories (colour according to the variable). Figure 2. MCA of table 1 via FactoMineR. Relationship square.

The relationship square (Figure 2) makes easier the reading of the classic factorial plane. It indicates that:

• The first factor is related to the three variables but especially ${\displaystyle q_{3}}$ (which have a very high coordinate along the first axis) and then ${\displaystyle q_{2}}$.
• The second factor is related only to ${\displaystyle q_{1}}$ and ${\displaystyle q_{3}}$ (and not to ${\displaystyle q_{2}}$ which has a coordinate along axis 2 equal to 0) and that in a strong and equal manner.

All this is visible on the classic graphic but not so clearly. The role of the relationship square is first to assist in reading a conventional graphic. This is precious when the variables are numerous and possess numerous coordinates.

## Extensions

This representation may be supplemented with those of quantitative variables, the coordinates of the latter being the square of correlation coefficients (and not of correlation ratios). Thus, the second advantage of the relationship square lies in the ability to represent simultaneously quantitative and qualitative variables.[1]

The relationship square can be constructed from any factorial analysis of a table individuals x variables. In particular, it is (or should be) used systematically:

• in multiple correspondences analysis (MCA);[2]
• in principal components analysis (PCA) when there are many supplementary variables;
• in factor analysis of mixed data (FAMD).

An extension of this graphic to groups of variables (how to represent a group of variables by a single point ?) is used in Multiple Factor Analysis (MFA)

## History

The idea of representing the qualitative variables themselves by a point (and not the categories) is due to Brigitte Escofier.[3] The graphic as it is used now has been introduced by Brigitte Escofier and Jérôme Pagès in the framework of multiple factor analysis[4]

## Conclusion

In MCA, the relationship square provides a synthetic view of the connections between mixed variables, all the more valuable as there are many variables having many categories.This representation iscan be useful in any factorial analysis when there are numerous mixed variables, active and/or supplementary.

## References

1. ^ Several examples with two types of variables are in Pagès Jérôme (2014). Multiple Factor Analysis by Example Using R. Chapman & Hall/CRC The R Series London 272 p
2. ^ Husson F., Lê S. & Pagès J. (2009). Exploratory Multivariate Analysis by Example Using R. Chapman & Hall/CRC The R Series, London. ISBN 978-2-7535-0938-2
3. ^ Escofier Brigitte (1979). Une représentation des variables dans l'analyse des correspondances multiples. Revue de statistique appliquée. vol. XXVII, n°4, pp 37–47. http://archive.numdam.org/ARCHIVE/RSA/RSA_1979__27_4/RSA_1979__27_4_37_0/RSA_1979__27_4_37_0.pdf
4. ^ Escofier B. & Pagès J. (1988 1st ed. 2008 4th ed) Analyses factorielles simples et multiples ; objectifs, méthodes et interprétation. Dunod, Paris, 318 p ISBN 978-2-10-051932-3
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 51, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}