Essays on Machine Learning Methods and Household Dynamics