+ All Categories
Home > Documents > Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor...

Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor...

Date post: 12-Aug-2020
Category:
Upload: others
View: 9 times
Download: 0 times
Share this document with a friend
36
Transcript
Page 1: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Multiple Factor Analysis

1 Data - Issues

2 Common Structure

3 Groups Study

4 Partial Analyses

5 Example

"Doing a data analysis, in good mathematics, is simply searching eigenvectors, all thescience of it (the art) is just to �nd the right matrix to diagonalize"

Benzécri

1 / 34

Page 2: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Multiway data set

3

Groups of variables (MFA)

Groups of

variables are

quantitative and/

or qualitative

Objectives: - study the link between the sets of variables - balance the influence of each group of variables - give the classical graphs but also specific graphs: groups of variables - partial representation

Examples: - Genomic: DNA, protein - Sensory analysis: sensorial, physico-chemical - Comparison of coding (quantitative / qualitative)

Examples with continuous and/or categorical sets of variables:

• genomic: DNA, protein

• sensory analysis: sensorial, physico-chemical

• survey: student health (addicted consumptions, psychological

conditions, sleep, identi�cation, etc.)

• economy: economic indicators for countries by year

2 / 34

Page 3: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Example: gliomas brain tumorsThe data

<Experiment>

Gliomas: Brain tumors, WHO classification

- astrocytoma (A)……….……… x5

- oligodendroglioma (O)……… x8

- oligo-astrocytoma (OA)…… x6

- glioblastoma (GBM)………… x24

43 tumor samples

(Bredel et al.,2005)

- transcriptional modification (RNA), Microarrays

- damage to DNA, CGH arrays• Transcriptional modi�cation (RNA), microarrays: 489 variables• Damage to DNA (CGH array): 113 variables

‘-omics’ data

1 j1 J11

i

I

Tum

ors

1 j2 J2

<Merged data tables>The data, the expectations

<Genome alteration><Transcriptome>

3 / 34

Page 4: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Objectives

• Study the similarities between individuals with respect to all

the variables

• Study the linear relationships between variables

⇒ taking into account the structure on the data (balancing the

in�uence of each group)

• Find the common structure with respect to all the groups -

highlight the speci�cities of each group

• Compare the typologies obtained from each group of variables

(separate analyses)

4 / 34

Page 5: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Balancing the groups of variables

MFA is a weighted PCA:

• compute the �rst eigenvalue λj1of each group of variables

• perform a global PCA on the weighted data table: X1√λ11

;X2√λ21

; ...;XJ√λJ1

⇒ Same idea as in PCA when variables are standardized: variables

are weighted to compute distances between individuals i and i ′

8 variableshighly

correlated

2 vari

i′

5 / 34

Page 6: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Balancing the groups of variables

This weighting allows that:

• same weight for all the variables of one group: the structure of

the group is preserved

• for each group the variance of the main dimension of

variability (�rst eigenvalue) is equal to 1

• no group can generate by itself the �rst global dimension

• a multidimensional group will contribute to the construction of

more dimensions than a one-dimensional group

6 / 34

Page 7: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Individuals and variables representations

−2 −1 0 1 2 3

−3

−2

−1

01

2Individuals factor map (PCA)

Dimension 1 (20.99%)

Dim

ensi

on 2

(13

.51%

)

●●

A

GBM

O

OA

AGBMOOA

Figure 4: Multi-way glioma data set: Characteristics of oligodendrogliomas are linked to modifications ofthe genomic status of genes located on 1p and 19q positions.

27

Same representations and same interpretation as in PCA

7 / 34

Page 8: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Groups study

⇒ Synthetic comparison of the groups

⇒ Are the relative positions of individuals globally similar from one

group to another? Are the partial clouds similar?

⇒ Do the groups bring the same information?

8 / 34

Page 9: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Similarity between two groups

Measure of similarity between groups Kj and Km:

Lg (Kj ,Km) =∑k∈Kj

∑l∈Km

cov2(x.k

λk1

,x.l

λl1

)

MFA = weighted PCA ⇒ �rst principal component of MFA

maximizes

J∑j=1

Lg (v1,Kj) =J∑

j=1

∑k∈Kj

cov2

x.k√λj1

, v1

Inertia of Kj projected on v1

9 / 34

Page 10: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the groups

Group j has the coordinates (Lg (v1,Kj),Lg (v2,Kj))

0.0 0.2 0.4 0.6 0.8 1.0

0.0

0.2

0.4

0.6

0.8

1.0

Groups representation

Dim 1 (20.99 %)

Dim

2 (

13.5

1 %

)

CGH

exprWHO

• 2 groups are all the more

close that they induce the

same structure

• The 1st dimension is

common to all the groups

• 2nd dimension mainly due

to CGH

0 ≤ Lg (v1,Kj) =1

λj1

∑k∈Kj

cov2(x.k , v1)︸ ︷︷ ︸≤λj1

≤ 1

10 / 34

Page 11: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Numeric indicators

> res.mfa$group$Lg

CGH expr WHO MFA

CGH 2.51 0.60 0.46 1.96

expr 0.60 1.10 0.36 1.07

WHO 0.46 0.36 0.50 0.51

MFA 1.96 1.07 0.51 1.91

> res.mfa$group$RV

CGH expr WHO MFA

CGH 1.00 0.36 0.41 0.90

expr 0.36 1.00 0.48 0.74

WHO 0.41 0.48 1.00 0.53

MFA 0.90 0.74 0.53 1.00

Lg (Kj ,Kj) =

∑Kj

k=1(λjk)

2

(λj1)2

= 1+

∑Kj

k=2(λjk)

2

(λj1)2

• CGH gives richer description (Lg greater)

• RV: a standardized Lg• CGH and expr are not linked (RV=0.36)

• CGH closest to the overall (RV=0.90)

Contribution of each group to each component of the MFA

> res.mfa$group$contrib

Dim.1 Dim.2 Dim.3

CGH 45.8 93.3 78.1

expr 54.2 6.7 21.9

• Similar contribution of the 2 groups to

the �rst dimension

• Second dimension only due to CGH

11 / 34

Page 12: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

The RV coe�cient

Xj(I×Kj )and Xm(I×Km)

not directly comparable

Wj(I×I ) = XjX′j and Wm(I×I ) = XmX

′m can be compared

Inner product matrices = relative position of the individuals

Covariance between two groups:

<Wj ,Wm >=∑k∈Kj

∑l∈Km

cov2(x.k , x.l )

Correlation between two groups:

RV (Kj ,Km) =<Wj ,Wm >

‖Wj‖ ‖Wm‖0 ≤ RV ≤ 1

RV = 0: variables of Kj are uncorrelated with variables of Km

RV = 1: the two clouds of points are homothetic

12 / 34

Page 13: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Partial analyses

• Comparison of the groups through the individuals

⇒ Comparison of the typologies provided by each group in a

common space

⇒ Are there individuals very particular with respect to one group?

• Comparison of the separate PCA

13 / 34

Page 14: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Projection of partial points

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxxxxxx

00000000000000000000000000000000

000000000000000000000000

00000000000000000000000000000000

000000000000000000000000

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxx

00000000000000000000

000000000000000

00000000000000000000

000000000000000

00000000000000000000

000000000000000

00000000000000000000

000000000000000

Projection of group 1

Projection of group 2

Projection of group 3

Data

MFA individuals configuration

i

i1

i2

i3

i

Mean point

Partial point 3

Partial point 2

Partial point 1

G1 G2 G3

RK= ⊕ R

Kj

14 / 34

Page 15: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Partial points

opinion attitude

individuals

individual i

What you think

What you do

behavioral conflict

F1

F2

15 / 34

Page 16: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Partial points

What you expectedfor the tutorial

What you have learnedduring the tutorial

Tut

oria

l par

ticip

ants

FFFF1111

FFFF2222

What you have learnedduring the tutorial

What you expectedfor the tutorial

What you have learnedduring the tutorial

What you expectedfor the tutorial

16 / 34

Page 17: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Partial points

What you expectedfor the tutorial

What you have learnedduring the tutorial

Tut

oria

l par

ticip

ants

FFFF1111

FFFF2222

What you have learnedduring the tutorial

What you expectedfor the tutorial

What you have learnedduring the tutorial

What you expectedfor the tutorial

Disappointed learner

Happy learner

16 / 34

Page 18: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the partial points

−4 −2 0 2 4 6

−6

−4

−2

02

4Individual factor map

Dim 1 (20.99 %)

Dim

2 (

13.5

1 %

)

●●

● ●

●●

●●

AA3

AO1

AO2

AO3

AOA1AOA2

AOA3AOA4AOA6

AOA7

GBM1

GBM11GBM15

GBM16

GBM21GBM22

GBM23

GBM24

GBM25GBM26

GBM27GBM28

GBM29

GBM3

GBM30

GBM31

GBM4GBM5GBM6

GBM9

GNN1

GS1

GS2 JPA2

JPA3

LGG1

O1O2O3

O4

O5

sGBM1sGBM3

● ● ●●

●●

●●●

●●

●●●

●●

A

GBMO

OA

CGHexpr

−1 0 1 2

−2.

0−

1.5

−1.

0−

0.5

0.0

0.5

1.0

1.5

Individual factor map

Dim 1 (20.99 %)D

im 2

(13

.51

%)

A

GBM

O

OA

CGHexpr

• an individual is at the barycentre of its partial points

• an individual is all the more "homogeneous" that its

superposed representations are close

(res.mfa$ind$within.inertia)

17 / 34

Page 19: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the partial components

Do the separate analyses give similar dimensions as MFA?

PCA

i

I

1

1 q Q

1 q Q

18 / 34

Page 20: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the partial components

−1.0 −0.5 0.0 0.5 1.0

−1.

0−

0.5

0.0

0.5

1.0

Partial axes

Dim 1 (20.99 %)

Dim

2 (

13.5

1 %

)

Dim1.CGH

Dim2.CGH

Dim3.CGHDim1.expr

Dim2.expr

Dim3.expr

Dim1.WHO

Dim2.WHODim3.WHO

CGHexprWHO

• The �rst dimension of

each group is well

projected

• CGH has same

dimensions as MFA

19 / 34

Page 21: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Use of biological knowledge

Genes can be grouped by gene ontology (GO) biological process

GO:0006928cell motility

ANXA1CALD1EGFRENPP2

FN1FPRL2LSP1MSNPDPN

PLAURPRSS3SAA2

SPINT2TNFRSF12A

VEGFWASF1YARS

GO:0009966 regulation of signal

transduction

CASP1EDG2F2R

HCLS1HMOX1IGFBP3IQSEC1

LYNMALT1TCF7L1TNFAIP3

TRIOVEGF

YWHAGYWHAH

GO:0052276chromosome

organisation and biogenesis

CBX6NUSAP1PCOLN3PTTG1

SUV39H1TCF7L1TSPYL1

20 / 34

Page 22: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Use of biological knowledge

• Biological processes considered as supplementary groups of

variables

‘-omics’ data

1 j1 J11

i

I

1 j2 J2

M1 M2 M3 …..

Modules

<MODULES of GENES>

Tum

ors

Modules

Modular approach

=> Integration of the modules as groups of supplementary variables21 / 34

Page 23: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Use of biological knowledge

0.0 0.2 0.4 0.6 0.8 1.0

0.0

0.2

0.4

0.6

0.8

1.0

Groups representation

Dim 1 (20.99 %)

Dim

2 (

13.5

1 %

)

CGH

exprWHO ●

●●

●●

●●

●●

●●●

●●

●●

●●

●●

●●

●● ●

●●

●● ●

●●

●●

●●

● ●

●●

●●

●●

●●●

●●

●●

● ●

● ●●●

●●

●●

● ●

● ●

●●

●●

●●

●●

●●

●●

●●

● ●●

●●

●●●

●●

●●

●●

●●

●●

●●

●●

●● ●

●●

●●

●●●

●●

●●

●● ● ●

●●●

●●

●●

●●

● ●●●

●●

● ●●

● ●●

● ●

●●●

●● ●

Many biological processes

induce the same structure

on the individuals than

MFA

22 / 34

Page 24: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Back to the wine example!

CategoricalContinuous variables

Student(15)

wine 10

wine 2

wine 1

Label(1)

Preference(60)

Consumer(15)

Expert(27)

Objectives:

• How are the products described by the panels?

• Do the panels describe the products in a same way? Is there a

speci�c description done by one panel?

23 / 34

Page 25: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Practice with R

1 De�ne groups of active and supplementary variables

2 Scale or not the variables

3 Perform MFA

4 Choose the number of dimensions to interpret

5 Simultaneously interpret the individuals and variables graphs

6 Study the groups of variables

7 Study the partial representations

8 Use indicators to enrich the interpretation

24 / 34

Page 26: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Practice with R

library(FactoMineR)

Expert <- read.table("http://factominer.free.fr/useR2010/Expert_wine.csv",

header=TRUE, sep=";", row.names=1)

Consu <- read.table(".../Consumer_wine.csv",header=T,sep=";",row.names=1)

Stud <- read.table(".../Student_wine.csv",header=T,sep=";",row.names=1)

Pref <- read.table(".../Pref_wine.csv",header=T,sep=";",row.names=1)

palette(c("black","red","blue","orange","darkgreen","maroon","darkviolet"))

complet <- cbind.data.frame(Expert[,1:28],Consu[,2:16],Stud[,2:16],Pref)

res.mfa <- MFA(complet,group=c(1,27,15,15,60),type=c("n",rep("s",4)),

num.group.sup=c(1,5),graph=FALSE,

name.group=c("Label","Expert","Consumer","Student","Preference"))

plot(res.mfa,choix="group",palette=palette())

plot(res.mfa,choix="var",invisible="sup",hab="group",palette=palette())

plot(res.mfa,choix="var",invisible="actif",lab.var=FALSE,palette=palette())

plot(res.mfa,choix="ind",partial="all",habillage="group",palette=palette())

plot(res.mfa,choix="axes",habillage="group",palette=palette())

dimdesc(res.mfa)

write.infile(res.pca,file="my_FactoMineR_results.csv") #to export a list

25 / 34

Page 27: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the individuals

-2 -1 0 1 2 3

-3-2

-10

1

Dim 1 (42.52 %)

Dim

2 (

24.4

2 %

)

S Michaud S Renaudie

S Trotignon

S Buisse Domaine

S Buisse Cristal

V Aub Silex

V Aub Marigny

V Font Domaine V Font Brûlés

V Font Coteaux

Sauvignon

Vouvray

SauvignonVouvray

• The two labels are

well separated

• Vouvray are

sensorially more

di�erent

• Several groups of

wines, ...

26 / 34

Page 28: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the active variables

-1.5 -1.0 -0.5 0.0 0.5 1.0 1.5

-1.0

-0.5

0.0

0.5

1.0

Dim 1 (42.52 %)

Dim

2 (

24.4

2 %

)

ExpertConsumerStudent O.Intensity.before.shaking

O.Intensity.after.shaking

Expression

O.fruity

O.passion

O.citrus

O.candied.fruit

O.vanillaO.wooded

O.mushroom

O.plante

O.flower

O.alcohol

Typicity

Attack.intensity

Sweetness

Acidity

Bitterness

Astringency

Freshness

Oxidation

SmoothnessA.intensity

A.persistency

Visual.intensityGradeSurface.feeling

O.Intensity.before.shaking_CO.Intensity.after.shaking_C

O.alcohol_C

O.plante_C

O.mushroom_C

O.passion_C

O.Typicity_C

A.intensity_C

Sweetness_C

Acidity_C

Bitterness_CAstringency_C

A.alcohol_C

Balance_CTypical_C

O.Intensity.before.shaking_S

O.Intensity.after.shaking_S

O.alcohol_SO.plante_S

O.mushroom_S

O.passion_S

O.Typicity_S A.intensity_S

Sweetness_S

Acidity_S

Bitterness_S

Astringency_S

A.alcohol_S

Balance_S

Typical_S

27 / 34

Page 29: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the active variables

-1.5 -1.0 -0.5 0.0 0.5 1.0 1.5

-1.0

-0.5

0.0

0.5

1.0

Dim 1 (42.52 %)

Dim

2 (

24.4

2 %

)

ExpertConsumerStudent

O.passion

Sweetness

Acidity

O.passion_C

Sweetness_C

Acidity_C

O.passion_S

Sweetness_S

Acidity_S

27 / 34

Page 30: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the groups

0.0 0.2 0.4 0.6 0.8 1.0

0.0

0.2

0.4

0.6

0.8

1.0

Dim 1 (42.52 %)

Dim

2 (

24.4

2 %

)

Expert

Consumer

Student

Preference

Label

• 2 groups are all the

more close that they

induce the same

structure

• The 1st dimension is

common to all the

panels

• 2nd dimension mainly

due to the experts

• Preference linked to

sensory description

28 / 34

Page 31: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the partial points

-4 -2 0 2 4

-3-2

-10

12

Dim 1 (42.52 %)

Dim

2 (

24.4

2 %

)

S Michaud

S RenaudieS Trotignon

S Buisse Domaine

S Buisse Cristal

V Aub Silex

V Aub Marigny

V Font Domaine V Font Brûlés

V Font Coteaux Sauvignon

Vouvray

ExpertConsumerStudent

29 / 34

Page 32: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of the partial dimensions

-1.5 -1.0 -0.5 0.0 0.5 1.0

-1.0

-0.5

0.0

0.5

1.0

Dim 1 (42.52 %)

Dim

2 (

24.4

2 %

)

Dim1.Expert

Dim2.Expert

Dim1.Consumer

Dim2.Consumer

Dim1.Student

Dim2.Student

Dim1.Preference Dim2.Preference

Dim1.Label

ExpertConsumerStudentPreferenceLabel

• The two �rst

dimensions of each

group are well projected

• Consumer has same

dimensions as MFA

30 / 34

Page 33: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Representation of supplementary continuous variables

-1.0 -0.5 0.0 0.5 1.0

-1.0

-0.5

0.0

0.5

1.0

Dim 1 (42.52 %)

Dim

2 (2

4.42

%)

Preferences are linked to sensory description

The favourite wine is Vouvray Aubussière Silex31 / 34

Page 34: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Helps to interpret

• Contribution of each group of variables to each component of

the MFA

> res.mfa$group$contrib

Dim.1 Dim.2 Dim.3

Expert 30.5 46.0 33.7

Consumer 33.2 23.1 31.2

Student 36.3 30.9 35.1

• Similar contribution of the 3 groupsto the �rst dimension

• Second dimension mainly due to theexpert

• Correlation between the global cloud and each partial cloud

> res.mfa$group$correlation

Dim.1 Dim.2 Dim.3

Expert 0.95 0.95 0.96

Consumer 0.95 0.83 0.87

Student 0.99 0.99 0.84

First components are highly linked to

the 3 groups: the 3 clouds of points

are nearly homothetic

32 / 34

Page 35: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

Similarity measures between groups

> res.mfa$group$Lg

Expert Consumer Student Preference Label MFA

Expert 1.45 0.94 1.17 1.01 0.89 1.33

Consumer 0.94 1.25 1.04 1.11 0.28 1.21

Student 1.17 1.04 1.29 1.03 0.62 1.31

Preference 1.01 1.11 1.03 1.47 0.37 1.18

Label 0.89 0.28 0.62 0.37 1.00 0.67

MFA 1.33 1.21 1.31 1.18 0.67 1.44

> res.mfa$group$RV

Expert Consumer Student Preference Label MFA

Expert 1.00 0.70 0.85 0.69 0.74 0.92

Consumer 0.70 1.00 0.82 0.82 0.25 0.90

Student 0.85 0.82 1.00 0.75 0.55 0.96

Preference 0.69 0.82 0.75 1.00 0.31 0.81

Label 0.74 0.25 0.55 0.31 1.00 0.56

MFA 0.92 0.90 0.96 0.81 0.56 1.00

• Expert gives a richer description (Lg greater)• Groups Student and Expert are linked (RV = 0.85)• Group Student is the closest to the overall (RV = 0.96)

33 / 34

Page 36: Multiple Factor Analysis - Freefactominer.free.fr/more/tutorial_2010_MFA.pdf · Multiple Factor Analysis 1 Data - Issues 2 Common Structure 3 Groups Study 4 Partial Analyses 5 Example

Data - Issues Common Structure Groups Study Partial Analyses Example

To go further

• Mixed data: MFA with 1 group = 1 variable

if there are only continuous variables, PCA is recovered; if

there are only categorical variables, MCA is recovered

a speci�c function: AFDM

• MFA used for methodological purposes:• comparison of coding (continuous or categorical)• comparison between preprocessing (standardized PCA and

unstandardized PCA)• comparison of results from di�erent analyses

• Hierarchical Multiple Factor Analysis

Takes into account a hierarchy on the variables: variables are

grouped and subgrouped (like in questionnaires structured in

topics and subtopics)

34 / 34


Recommended