This document reproduces the comparison of the probabilistic and the classical archetypes in the example “Austrian national guest survey” presented in the paper “Probabilistic archetypal analysis” by Seth and Eugster (2014). The Rmd file lists the corresponding R code.
GSAW97_bin.csv
GSAW97_paa.mat
GSAW97_aa.Rds
## PAA1 PAA3 PAA5 PAA4 PAA6 PAA2
## A01.alpine.ski 1.0 1.0 1.0 1.0 0.0 0.0
## A02.tour.ski 0.4 0.0 0.0 0.0 0.0 0.0
## A03.snowboard 0.0 0.0 0.0 0.6 0.0 0.0
## A04.cross.country 0.7 0.0 0.0 0.0 0.0 0.0
## A05.ice.skating 0.6 0.0 0.0 0.0 0.0 0.0
## A06.sledge 1.0 0.0 0.0 0.0 0.0 0.0
## A07.tennis 0.1 0.0 0.0 0.0 0.0 0.2
## A08.riding 0.0 0.0 0.0 0.0 0.0 0.1
## A09.pool.sauna 1.0 0.0 0.4 1.0 0.8 0.1
## A10.spa 0.2 0.0 0.0 0.0 0.8 0.0
## A11.hiking 1.0 0.0 0.0 0.0 1.0 0.2
## A12.walk 1.0 0.0 1.0 0.0 1.0 1.0
## A13.org.excursion 0.3 0.0 0.0 0.0 0.0 0.4
## A14.ind.excursion 0.8 0.0 0.0 0.0 0.9 1.0
## A15.relax 1.0 0.0 1.0 1.0 1.0 0.8
## A16.dinner 0.8 0.5 0.9 0.0 0.0 1.0
## A17.shopping 1.0 0.0 1.0 0.0 0.3 1.0
## A18.concert 0.0 0.0 0.0 0.0 0.0 0.3
## A19.sightseeing 0.7 0.0 0.0 0.0 0.7 1.0
## A20.heimat 0.6 0.0 0.0 0.0 0.0 0.0
## A21.museum 0.0 0.0 0.0 0.0 0.0 1.0
## A22.theater 0.0 0.0 0.0 0.0 0.0 0.3
## A23.heurigen 0.0 0.0 0.0 0.0 0.0 0.4
## A24.local.event 1.0 0.0 0.0 0.0 0.0 0.1
## A25.disco 0.7 0.0 0.0 1.0 0.0 0.1
The classical archetypes were computed with the archetypes package. The presented solution is the best solution out of twenty repetitions.
## AA5 AA3 AA2 AA4 AA1 AA6
## A01.alpine.ski 1.0 1.0 1.0 0.8 0.4 0.0
## A02.tour.ski 0.4 0.0 0.0 0.0 0.1 0.0
## A03.snowboard 0.0 0.0 0.0 1.0 0.1 0.0
## A04.cross.country 1.0 0.0 0.0 0.0 0.0 0.1
## A05.ice.skating 0.9 0.0 0.0 0.0 0.0 0.0
## A06.sledge 1.0 0.0 0.1 0.2 0.0 0.0
## A07.tennis 0.1 0.0 0.0 0.1 0.3 0.0
## A08.riding 0.0 0.0 0.0 0.0 0.2 0.0
## A09.pool.sauna 1.0 0.0 1.0 0.5 0.8 0.0
## A10.spa 0.2 0.0 0.3 0.0 0.6 0.2
## A11.hiking 0.9 0.0 0.0 0.0 0.4 0.9
## A12.walk 1.0 0.0 0.8 0.8 0.9 1.0
## A13.org.excursion 0.2 0.0 0.0 0.1 0.6 0.1
## A14.ind.excursion 0.7 0.0 0.0 0.1 0.8 1.0
## A15.relax 0.9 0.0 1.0 1.0 0.9 0.9
## A16.dinner 0.6 0.7 0.0 1.0 0.9 0.7
## A17.shopping 0.7 0.0 0.4 1.0 0.8 0.9
## A18.concert 0.0 0.0 0.0 0.0 0.7 0.0
## A19.sightseeing 0.5 0.0 0.0 0.0 1.0 1.0
## A20.heimat 0.5 0.0 0.0 0.0 0.3 0.0
## A21.museum 0.0 0.0 0.0 0.0 1.0 0.4
## A22.theater 0.0 0.0 0.0 0.0 0.9 0.0
## A23.heurigen 0.0 0.0 0.0 0.0 0.7 0.1
## A24.local.event 0.7 0.0 0.0 0.2 0.7 0.0
## A25.disco 0.5 0.4 0.0 1.0 0.4 0.0