Socio-economic effects of relative income and relative cohort size