Climbing the income ladder: Search and investment in a regime-switching affine income model Artículo académico