Labor market shocks and their impacts on work and schooling