Modeling the Effect of Health on Retirement