We develop methodology for estimation and inference using machine learning to enrich economic models. Our framework takes a standard economic model and recasts the parameters as fully flexible nonparametric functions, to capture the rich heterogeneity based on potentially high dimensional or complex observable characteristics. These "parameter functions" retain the interpretability, economic meaning, and discipline of classical parameters. Deep learning is particularly well-suited to structured modeling of heterogeneity in economics. We show how to design the network architecture to match the structure of the economic model, delivering novel methodology that moves deep learning beyond prediction. We prove convergence rates for the estimated parameter functions. These functions are the key inputs into the finite-dimensional parameter of inferential interest. We obtain inference based on a novel influence function calculation that covers any second-stage parameter and any machine-learning-enriched model that uses a smooth per-observation loss function. No additional derivations are required. The score can be taken directly to data, using automatic differentiation if needed. The researcher need only define the original model and define the parameter of interest. A key insight is that we need not write down the influence function in order to evaluate it on the data. Our framework gives new results for a host of contexts, covering such diverse examples as price elasticities, willingness-to-pay, and surplus measures in binary or multinomial choice models, effects of continuous treatment variables, fractional outcome models, count data, heterogeneous production functions, and more. We apply our methodology to a large scale advertising experiment for short-term loans. We show how economically meaningful estimates and inferences can be made that would be unavailable without our results.
翻译:我们开发了利用机器学习来丰富经济模型的估算和推断方法。 我们的框架使用一个标准的经济模型, 并将参数重新定位为完全灵活的非参数性非参数功能, 以捕捉基于潜在高度或复杂的可观测特征的丰富异质性。 这些“ 参数性功能” 保留了古典参数的可解释性、 经济意义和纪律。 深层次的学习特别适合于经济差异性的结构建模。 我们展示了如何设计网络架构以适应经济模型的结构, 提供了超越预测的深层次学习的新方法。 我们证明了估计参数功能的趋同率。 这些功能是用于推断兴趣的有限维度参数的关键投入。 我们根据一种新颖的影响函数获得推论, 包括任何第二阶段参数和任何机读丰富的模型, 使用平坦度的观察损失功能。 我们不需要额外的推算。 我们的评分可以直接用于数据, 必要时使用自动分。 研究人员只需要定义原始模型, 并定义利息的参数。 这些函数是应用的有限性参数。 我们的关键理解是, 我们不需要将数据格式写成一个不连续的数据格式, 我们的模型, 来显示我们的数据格式的排序的模型 。