Correspondence analysis with FactoMineR

15 May 2013 · 13 min
13:21

The video demonstrates how to conduct a correspondence analysis (CA) in R using the FactoMineR package, focusing on the package’s graphical module. The presenter loads FactoMineR, uses the built‑in ‘children’ contingency table (reasons for not having children vs. education level, plus age‑group columns), and defines active rows (first 15) and supplementary rows (last few), as well as active columns (first 5) and supplementary columns (age groups). A CA is performed, storing results in an object ‘res’. The summary.ca function is used to display eigenvalues, inertia percentages, and for each active row/column the coordinates, contributions, and squared cosines (cos2) on the first three dimensions. The presenter shows how to retrieve results for all elements or write them to a file. The core of the tutorial covers plotting the CA map with plot(res) and customizing it: hiding supplementary elements, adding a shadow to improve label readability, adjusting label size with the cx argument, and using an algorithm that minimizes label overlap. For dense label sets, transparency (unselect) and color options (e.g., gray70) are employed to differentiate selected high‑quality points (high cos2) from less informative ones, with notes on PowerPoint compatibility. The speaker demonstrates selecting elements by squared cosine thresholds, by highest contributions, and by explicit names, and shows how active and supplementary rows/columns are distinguished by color and font style. Finally, the tutorial illustrates plotting alternative dimension pairs (e.g., dimensions 1 and 3) using the axes argument, and emphasizes the utility of these graphical controls for interpreting large textual datasets where many words (rows/columns) need to be filtered for meaningful visual analysis.

Chapters

More from Yamossoun

8:56
youtube.com

Compteur synchrone - Logique séquentielle

2w ago
11:58
youtube.com

Compteur asynchrone et diviseur de fréquence - Logique séquentielle

3w ago
11:37
youtube.com

Les registres (parallèle et à décalage) - Logique séquentielle

1mo ago
6:14
youtube.com

Bascule T (Toggle) - Logique séquentielle

1mo ago
12:05
youtube.com

Bascule JK - Logique séquentielle

1mo ago
9:17
youtube.com

Bascule D flip-flop active sur front montant - Logique séquentielle

1mo ago
10:08
youtube.com

Bascule D Latch - Logique séquentielle

1mo ago
8:13
youtube.com

Bascule RS - Logique séquentielle

1mo ago
5:04
youtube.com

Logique séquentielle - Introduction

2mo ago
1:15
youtube.com

Le codeur - Logique combinatoire #codeur #logique #circuit #booleanlogic

2mo ago
1:56
youtube.com

Algorithme de calcule de la racine carrée par dichotomie #dichotomy #squareroot #algorithm

3mo ago
See all content