A dynamic analysis of the effects on pensioners’ welfare of social security reforms