Essays in Quantitative Macroeconomics