Habit formation has been proposed as a possible solution for explaining the equity premium puzzle. This paper extends the class of models that support the habits explanation in order to account for heterogeneity in earnings, wealth, habits and consumption. I find that habit formation increases...