Essays in Quantitative Economics