Three essays in health econometrics