Essays in macroeconomics and health economics