Principal component analysis (PCA) with R

2 Apr 2013 · 15 min
14:40

In this tutorial, the presenter demonstrates the graphical capabilities of the FactoMineR R package using a Principal Component Analysis (PCA) on the Decathlon dataset. The dataset includes 12 quantitative variables (10 event results, rank, points) and a qualitative variable indicating competition (Decastar 2004 or Olympic Games 2004) across 41 athletes. The speaker explains how to designate active, supplementary quantitative, and supplementary qualitative variables, and how to include supplementary individuals. After running the PCA, the summaryPCA function is used to display eigenvalues, inertia percentages, individual coordinates, contributions, and squared cosines for both active and supplementary elements, as well as variable loadings and qualitative category statistics. The bulk of the video focuses on customizing the two default plots—individuals and variables—by adjusting label size (cex), shadows, colors based on qualitative groups, transparency (unselect), and selective labeling based on cos² thresholds, contributions, or specific names. Additional tricks include enlarging the graphics window for long labels, modifying title and axis label sizes, and exporting the figures to PDF, JPEG, or PNG for use in presentations, noting PowerPoint compatibility issues with transparency. The presenter notes that the same graphical options apply to other FactoMineR analyses such as Multiple Correspondence Analysis (MCA), Correspondence Analysis (CA), and Multiple Factor Analysis (MFA).

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