Essays on dynamic macroeconomics and machine learning in the economic context of Mexico - Torres Favela, Manuel (2024)