Correspondence Analysis with FactoMineR

4 Nov 2016 · 9 min
9:10

The video tutorial walks through a complete workflow for performing correspondence analysis (CA) on a 2003 birth dataset using the FactoMineR package in R. It begins by defining age-group categories for mothers and fathers, distinguishing active categories (used to build the CA) from supplementary (illustrative) ones, and grouping sparse age groups. The presenter then shows how to set the working directory, import the CSV data with appropriate headers and row names, and load FactoMineR. Using the CA function, they specify which rows and columns are supplementary, run the analysis, and store results in an object. The summary.ca output is examined: chi‑square test significance, eigenvalues and inertia, coordinates, contributions, and squared cosines for the first three dimensions for both active and supplementary rows/columns. The tutorial demonstrates how to improve CA plots by adjusting font size, adding titles, shading, and selectively labeling points based on representation quality (cos2 ≥ 0.7), contribution, or specific categories, as well as switching axis pairs. The dimdesc function is used to list rows and columns ordered by increasing coordinate values. Finally, hierarchical clustering on principal components (HCPC) is applied to the CA results, clustering either rows or columns; the example clusters columns into three groups, interpreting the resulting dendrogram and class assignments. The video concludes with an invitation for viewers to try the methods themselves.

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