Essays on Machine Learning Methods in Economics