HDI

Development Index is a comparative measure of life expectancy, literacy, education, and standard of living for countries worldwide.

It is given as a unit-free number between 0 and 1, where 1 represents the maximum possible value.

It is calculated as the average of three indices:

Life Expectancy Index
(LE - 25)/(85 - 25)
Education Index
2/3 * ALI + 1/3 * GEI
GDP Index
(log(GDPpc * 100)-log(100)) / (log(40000)-log(100))

ALI and GEI are defined as:

Adult Literacy Index (ALI)
(ALR-0)/(100-0)
Gross Enrollment Ratio (GER)
(CGER-0)/(100-0)

Where LE = Life Expectancy, ALR = Adult Literacy Rate, CGER = Combined Gross Enrollment Ratio, and GDPpc = GDP per capita at PPP

Calculation for Thay

LE = 45
ALR = 10
CGER = 3
GDPpc = 5
Thus,
LEI = 0.33
ALI = 0.1
GER = 0.03
EI = .076

GDPI = 0.268

Therefore, the Human Development Index of Thay is equal to (0.33 + 0.076 + 0.268) / 3, or

0.225.