Theory and measurement of living levels: Some empirical results for the human development index