Académique Documents
Professionnel Documents
Culture Documents
COURS
CHAPITRE I : INTRODUCTION À L’ANALYSE DE DONNÉES ET À LA DATA
SCIENCE
CHAPITRE II : ANALYSE EN COMPOSANTES PRINCIPALES
CHAPITRE III : ANALYSE FACTORIELLE DES
CORRESPONDANCES CHAPITRE VI : ANALYSE DES
CORRESPONDANCES MULTIPLES CHAPITRE V : CLASSIFICATION
AUTOMATIQUE HIÉRARCHIQUE
CHAPITRE III : ANALYSE FACTORIELLE
DES CORRESPONDANCES -AFC
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
J.P. Benzecri : L'analyse de données (Tome 2) L'analyse des correspondances. Dunod, 1980.
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Les domaines d'application
-L'AFC conçue pour les tableaux de
contingence (i.e. fréquences), être
peut
appliquée :
-aux tableaux de mesures
même système d'unités), homogènes (i.e.
-aux tableaux de notes, de rangs, de
préférences,
-aux tableaux à valeurs logiques (0 ou 1),
-et encore aux tableaux issus de
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Les domaines d'application
-L’écologie,
-La zoologie,
-La psychologie,
-L'économie,
et d'autres domaines dans lesquelles il peut
être intéressant d'étudier les liaisons entre
deux variables nominales.
REPRÉSENTATION DES DONNÉES POUR
L'AFC
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
1 ……….………....j…….…………….J
1
Modalités de la première variable
.
.
.
.
. .
. .
i kij
. .
. .
.
.
.
. .
I
I
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Définition
Un tableau de contingence est un tableau
d'effectifs obtenus en croisant les modalités
de deux variables qualitatives définies sur
une même population de n individus.
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
La colonne
marge : La ligne
marge :
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Tableau de fréquence (ou de probabilité)
Marge
1 …………..............j…………………..….J
1 .
. .
.
. .
. .
i
. fij
. . fi.
.
. .
. .
.
. .
I
I
Marge f.j
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Définition
Il y a indépendance entre les deux
variables considérées si :
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Liaison entre les variables
Intuitivement, il y a si
probabilité de posséder la
indépendance la
modalité i) de la deuxième variable (dej la
première variable) ne dépend pas de (lala
modalité i (j) prise par la première variable
(la deuxième variable).
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Définition
Il y a liaison entre ces deux variables, ou que
ces deux variables sont liées si elles ne sont
pas indépendantes.
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Liaison entre les variables
Dans l'équation :
f ij
- Profil , i 1,
f . j
colonne I
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Modèle d’indépendance et AFC
- Profil moyen f , j 1, J
ligne .j
- Profil moyen f , i 1,
i.
colonne I
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Modèle d’indépendance et AFC
2
2
i, j i, j
nf i. f. j f i. f. j
OBJECTIFS DE
L’AFC
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
PRINCIPES DE
L’AFC
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Le principe de l'AFC et la démarche à
sont présentés en illustrant les différentes
suivre
étapes par un tableau de données de faible
dimension.
Yeux/Cheveux Brun Châtain Roux Blond Total
Marron 68 119 26 7 220
Noisette 15 54 14 10 93
Vert 5 29 14 16 64
bleu 20 84 17 94 215
Total 108 286 71 127 592
Tableau de contingence
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Yeux/Cheveux Brun Châtain Roux Blond Total Tableau
Marron 68 119 26 7 220 de contingence
Noisette 15 54 14 10 93
Vert 5 29 14 16 64
bleu 20 84 17 94 215
Total 108 286 71 127 592
1 …………....j…….………….J 1 …………....j…….………….J
1 . 1 .
. . . .
. . . .
. . . .
i fij/fi. i fij/f.j
. . . .
1
. . . .
. . . .
. . . .
. . . .
. .
I I
Tableaux de profils-lignes 1
Tableaux de profils-colonnes
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Méthode factorielle
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
Les nuages des deux profils
L’ajustement des deux nuages
Représentation simultanée
Exemple :
En confirmation avec le tableau, nous
remarquons que les individus aux yeux
bleus auront tendance à avoir les cheveux
blonds.
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
>summary(resafc)
summary(resafc,nbelements=Inf)
>summary(resafc,nbelements=Inf,
file="resafc.txt")
> resafc
> resafc$call
>plot(resafc)
>plot(resafc, invisible=c("row.sup" , "col.sup" )
>plot(resafc,
invisible=c("row.sup","col.sup"), cex=0.7)
CHAPITRE III : ANALYSE FACTORIELLE DES CORRESPONDANCES
-AFC
>plot(resafc, invisible=c("row.sup","col.sup"),
cex=0.7, selectRow="cos2 0.7",selectCol="cos2
0.7")
>plot(resafc, invisible=c("row.sup","col.sup"), cex=0.7,
selectRow="cos2 4",selectCol="cos2 5") 4lignes au
>plot(resafc,
cos2 le plus élevé
invisible=c("row.sup","col.sup"),
cex=0.7, selectRow="contrib 4",selectCol="contrib
3")
>> plot(resafc, invisible=c("row.sup","col.sup"), cex=0.7,
selectRow=c("money","future"))
> plot(resafc, cex=0.7, axes=c(1,3))