Carroll, C. D. Endogenous Retirement: A Canonical Discrete-Continuous Problem [Computer software]. https://github.com/econ-ark/EndogenousRetirement