Three essays in health and labor economics