Skip to content

Entropy-Rescaled PCA, Step by Step

How entropy-rescaled PCA turns map positions into distances between groups: the rescaling curve, the four steps, a worked example with two individuals, and a plain versus rescaled comparison on a Southeast Balkans series.

Mvagnus Albertus · Popualtion Geneticist

Published 5 min read

Entropy-rescaled PCA changes how positions on a principal-component map are turned into distances between groups. Each individual’s coordinate on an axis is replaced by its information value, so that differences near the centre of the map count very little and differences near the edge count a lot. Group positions are then averaged from the rescaled individuals, and the straight distance between groups is measured. This note explains the method in four parts: the rescaling curve, the four steps, a reading of a plain versus a rescaled map of a Southeast Balkans series, and a worked example with two individuals. The result is a position on a map, not an ancestry share, and it depends on the reference populations that build the axes.

Introduction

A plain PCA map treats a step of the same size on an axis alike, whether it happens near the centre or near the edge. A small shift among central groups therefore weighs as much in a distance as the same shift among outer groups.

Entropy-rescaled PCA rescales each coordinate before anything is measured. The method is that of Taleb et al.1, who call it informational rescaling of PCA maps. A coordinate between −1 and 1 is converted into the information it carries about its axis. That value stays flat near the centre and rises steeply toward the edge. The sections below follow the conversion from the general method to a concrete series of Southeast Balkans groups.

The rescaling

The core of the method is one function. An individual at position ρ on an axis gets the rescaled coordinate

sign(ρ) · ( −½ ln( 1 − ρ² ) )

Near the centre this value is almost flat: a coordinate of 0.10 becomes 0.005 and 0.30 becomes 0.047. Near the edge it climbs steeply: 0.85 becomes 0.64, and the curve keeps rising as ρ approaches 1. The sign is kept, so the curve is mirrored through the origin. Table 1 sets the rescaled coordinate against the plain PCA coordinate, which is simply ρ itself.

Table 1The rescaling curve in numbers: rescaled coordinate against the plain PCA coordinate

ρ on one axis (plain coordinate)

Rescaled coordinate

0.10

0.005

0.30

0.047

0.50

0.144

0.70

0.337

0.85

0.641

0.90

0.830

0.95

1.164

0.99

1.959

A negative ρ gives the same value with a minus sign. Values are computed from the formula and rounded to three decimals; they are not from a run. Near the centre a step of 0.10 in ρ (from 0 to 0.10) adds 0.005; near the edge the same step (from 0.85 to 0.95) adds 0.52.

The method in four steps

The rescaling is the third of four steps (Table 2). The other three decide where individuals are placed and how groups are compared. A shorter distance therefore means that two groups are closer on the same two axes.

Table 2The method in four steps

Step

Name

What happens

Illustrative value

1

Build the axes

A PCA on the reference populations gives the two axes, PC1 and PC2.

Axes are fixed before anyone is placed

2

Place each individual

Every individual gets a coordinate ρ on PC1 and on PC2.

PC1: ρ = 0.30; PC2: ρ = 0.10

3

Rescale

Each ρ is replaced by its information value, and the sign is kept.

0.30 → 0.047; 0.10 → 0.005

4

Average and measure

The rescaled individuals of a group are averaged, and the straight distance between two groups is measured.

Closer on the map = closer in the same two axes

Schematic with illustrative values, not from a run. The result is a position on a map, not an ancestry share, and it depends on the reference populations that build the axes.

Application: a Southeast Balkans series

On the rescaled map the centre is pulled together and the outer groups are pushed apart. The plain PCA map and the rescaled map of the series show the same groups, and group positions are averages of individuals.

Doclea and Bulgarian stay far out on the left. Turkish, Cypriot, Lazio Roman and West Anatolia Byzantine are stretched toward the lower right. Çinamak BA/IA, Illyria S IA and the modern Albanians collapse into one tight group near the origin, with Albania medieval beside them.

The axis scales differ between the two maps. Only the arrangement of the groups can be compared across them, not the numbers on the axes.

A worked example with two individuals

A point is converted one axis at a time, and each converted value keeps its sign. Two individuals, P and Q, are read off both axes and converted with the same curve (Table 3).

The point keeps its direction and moves only along PC1 and PC2, so it never jumps to the other side of the origin. The straight distance between the converted points is 1.03: the differences are 0.98 on PC1 and 0.32 on PC2, and √(0.98² + 0.32²) ≈ 1.03. The scale of the converted points differs from that of the original ones.

Table 3Two individuals converted axis by axis

Individual

ρ on PC1

ρ on PC2

Rescaled PC1

Rescaled PC2

P

+0.85

+0.55

+0.64

+0.18

Q

−0.70

−0.50

−0.34

−0.14

Illustrative values, not from a run. Each ρ is projected on its axis, read as a signed value, converted separately with the same curve, and the two converted values are put together again before the distance is measured.

Interpretation and limits

A rescaled map shows positions, not ancestry shares. Four points decide how it can be read.

  • A distance says how close two groups sit on the same two axes.

  • The axes come from the reference populations. A different reference set gives a different map.

  • The curve is flat near the centre. A tight cluster in the rescaled map therefore means “not clearly separated on these two axes”, not “identical”.

  • The axis scales of the plain and the rescaled map differ, so only the arrangement of the groups can be compared between them.

Data and methods. The rescaling follows Taleb et al.1: a coordinate ρ between −1 and 1 on one axis is replaced by sign(ρ) · (−½ ln(1 − ρ²)), with the natural logarithm. The values in Tables 1–3 are computed from this formula and rounded; Tables 2 and 3 are schematic and not from a run. In the Southeast Balkans series the axes are built from the reference populations before any group is placed, and group positions are averages of individuals. No qpAdm model is used in this note, and no position in it is an ancestry share.

1.

Taleb, N. N., Zalloua, P., Elbassioni, K., Hatzikirou, H., Henschel, A. & Platt, D. E. Informational rescaling of PCA maps with application to genetic distance. Comput Struct Biotechnol J 27, 48–56 (2025).

Magnus Albertus Papers · @AlbertusMvagnus

Every article
  • Medieval58 min read

    Medieval Germany and England in entropy-rescaled PCA distances

    Nearest groups, sides and betweenness for 53 medieval, Viking-age and ancient groups on entropy-rescaled PCA maps: which ordinal statements survive a change of panel, map and origin, and which do not.

    • PCA
    • Map
    • Dates
    • PCA

    Mvagnus Albertus

  • qpAdm6 min read

    qpAdm in Three Steps

    What qpAdm asks, how it computes and where it fails: a short guide to reading a qpAdm result without reading more into it than the test supports.

    Mvagnus Albertus

Allow analytics cookies? They help us see how the site is used so we can improve it. Your DNA and results are never included. Details