Handling missing values in PCA

15 Dec 2016 · 17 min
16:59

The video explains how to perform principal component analysis (PCA) on datasets that contain missing values, using the R packages missMDA and FactoMineR. It begins by illustrating why simple strategies—dropping rows/columns with missing entries or replacing missing values with variable means—are inadequate, especially when variables are correlated. The presenter then introduces an iterative PCA‑based imputation algorithm: start with a reasonable guess (e.g., mean or zero), run PCA on the completed matrix, project individuals to obtain updated estimates for missing entries, update means and standard deviations, and repeat until convergence. Because the basic algorithm can overfit, a regularized version (implemented in missMDA) is recommended, which shrinks imputed values toward variable means. The optimal number of principal components to retain for imputation is estimated with the `estim_ncpPCA` function; using too few or too many components can bias the explained inertia of the subsequent PCA. After imputation, a standard PCA is run with FactoMineR, but the analyst is warned that inertia percentages for the first dimensions may be inflated and that imputed values carry uncertainty. To quantify this uncertainty, the video demonstrates multiple imputation via the `mipca` function, visualizing variability with `plot.mipca` both for individual positions (ellipses) and for axis stability. The overall message is that PCA‑based imputation, especially when regularized and combined with multiple imputation, provides a principled way to handle missing data, but results must be interpreted cautiously, acknowledging the inherent uncertainty of imputed values.

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