Dynamic programming, self-contagious market, stochastic labor income, investment and consumption, life insurance