EconBase
← Back to paper

Structural Regularization

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

112,423 characters · 14 sections · 70 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

Structural Regularization

\pagenumbering{gobble}

abstract\begin{onehalfspace} We propose a novel method for modeling data by using structural models based on economic theory as regularizers for statistical models. We show that even if a structural model is misspecified, as long as it is informative about the data-generating mechanism, our method can outperform both the (misspecified) structural model and un-structural-regularized statistical models. Our method permits a Bayesian interpretation of theory as prior knowledge and can be used both for statistical prediction and causal inference. It contributes to transfer learning by showing how incorporating theory into statistical modeling can significantly improve out-of-domain predictions and offers a way to synthesize reduced-form and structural approaches for causal effect estimation. Simulation experiments demonstrate the potential of our method in various settings, including first-price auctions, dynamic models of entry and exit, and demand estimation with instrumental variables. Our method has potential applications not only in economics, but in other scientific disciplines whose theoretical models offer important insight but are subject to significant misspecification concerns. \end{onehalfspace}

\pagenumbering{arabic}

Introduction

Structural models are causal models based on economic theory. A complete structural model describes economic and social phenomena as the outcomes of individual behavior in specific economic and social environments. The structural approach to data analysis takes a structural model as a truthful representation of the data-generating mechanism and estimates the model parameters from observed data. The estimated model can then be used to make predictions, evaluate causal effects, and conduct welfare analyses\footnote{See reiss_structural_2007, heckman_econometric_2007 and low_use_2017 for surveys on structural estimation.}.

One of the main strengths of structural estimation lies in its ability to make claims of generalizability or external validity. Because a structural model is based on economic theory, its parameters -- such as those governing preferences and technology -- can be “deep,” or policy-invariant, so that the estimated model can be used to generate predictions in different environments. A key assumption involved, however, is that the model is correctly specified. In practice, there is no such guarantee and structural models are often criticized for relying on strong, unrealistic assumptions and identification by functional form. This has limited the usefulness of the structural approach and its empirical success\footnote{heckman_causal_2000: “The empirical track record of the structural approach is, at best, mixed. Economic data, both micro and macro, have not yielded many stable structural parameters. Parameter estimates from the structural research program are widely held not to be credible.” rust_limits_2014: “Looking back nearly four decades after the Lucas critique paper, it is fair to ask whether structural models really have succeeded and resulted in significantly more accurate and reliable policy forecasting and evaluation.”}.

In this paper, we propose a new methodology for modeling data that both inherits the desirable property of structural estimation -- the ability to make claims of external validity -- and incorporates a robustness against model misspecification. The method, which we call the structural regularization estimator (SRE), treats a given structural model as the benchmark model and estimates a flexible statistical model with a penalty on deviance from the structural benchmark. Equivalently, we select the best statistical model to describe the data within a neighborhood of the structural model. We show that even if the structural model is misspecified, as long as it is informative about the true data-generating mechanism, our method can outperform both the (misspecified) structural model and un-structural-regularized statistical models.

Our method belongs to a class of regularized regression models. In contrast to popular methods such as ridge regression and the lasso, which shrink the parameters of a regression model toward zero to achieve a balance between bias and variance, the SRE shrinks the parameters of a statistical model toward those values implied by the structural model so as to achieve a balance between maximizing statistical fit and minimizing deviance from theory.

The SRE permits a Bayesian interpretation of using theory as prior knowledge. From a Bayesian perspective, regularization amounts to the use of informative priors that introduce our beliefs about the observed data li_regularized_2006. Classic priors used for regularization in statistics and machine learning include sparsity and smoothness priors. In this paper, we argue that since theoretical models are formulated based on the results of previously observed information and conducted studies, they should naturally serve as priors for analyzing new evidence.

Our method can be used both for statistical prediction and causal inference. When used for statistical prediction, it contributes to the literature on transfer learning by showing how incorporating theory into statistical modeling can significantly improve out-of-domain prediction. Given a predictive task involving inputs $x$ and outcome $y$, a key limitation with most statistical methods is that they require the distributions governing the training and the test data to be the same in order to guarantee performance\footnote{This remains true for state-of-the-art deep learning models. See donahue_decaf_2014 and yosinski_how_2014 for discussions on how features extracted from deep convolutional neural networks trained on large image datasets are susceptible to various domain shifts.}. In the machine learning literature, the problem of applying a model trained on a source domain with distribution $\mathbb{P}_{xy}^{S}$ to a target domain with distribution $\mathbb{P}_{xy}^{T}\ne\mathbb{P}_{xy}^{S}$ is known as transfer learning\footnote{Several definitions of domain exist in the transfer learning literature. In this paper, given $\left(x,y\right)\in\mathcal{O}$ and a joint distribution $\mathbb{P}_{xy}$ on $\mathcal{O}$, we define domain as a pair $\left\langle \mathcal{O},\mathbb{P}_{xy}\right\rangle $. Note that this notion of domain is different from that of the domain of a function.}$^{,}$\footnote{See pan_survey_2010 for a survey on transfer learning. ben-david_theory_2010 provides a theoretical treatment on learning from different domains.}. A majority of research on transfer learning so far has focused on domain adaptation\footnote{Also known as \emph{covariate shift} or \emph{transductive transfer learning} pan_survey_2010.}, where the marginal distributions of the inputs differ across domains, i.e. $\mathbb{P}_{x}^{S}\ne\mathbb{P}_{x}^{T}$, but the conditional outcome distributions remain the same, i.e. $\mathbb{P}_{y|x}^{S}=\mathbb{P}_{y|x}^{T}$. Methods that have been proposed aim to reduce the difference in input distributions either by sample-reweighting zadrozny_learning_2004,huang_correcting_2007,jiang_instance_2007,sugiyama_direct_2008 or by finding a domain-invariant transformation pan_domain_2010,gopalan_domain_2011\footnote{This includes the more recent \emph{deep domain adaptation} literature that employs deep neural networks for domain adaptation. See glorot_domain_2011,chopra_dlid_2013,ganin_unsupervised_2014,tzeng_deep_2014,long_learning_2015. wang_deep_2018 provides an overview of this literature in the context of computer vision.}. Few studies, however, have dealt with the more difficult problem of when both $\mathbb{P}_{x}$ and $\mathbb{P}_{y|x}$ change across domains\footnote{The problem is known as \emph{inductive transfer learning} pan_survey_2010. While a number of methods have been proposed to deal with this problem, they all require target domain data in training -- we need to observe some $\left\{ x_{i},y_{i}\right\} $ in the target domain. See schwaighofer_learning_2005,dai_boosting_2007,gao_knowledge_2008,wang_flexible_2014. These methods mostly adapt multi-task learning algorithms and are \emph{not} solutions to the problem of generalizing model predictions to different domains in a strict sense.}.

In this paper, we note that transfer learning can be viewed as a counterfactual prediction problem. If the source and the target domain are governed by the same data-generating mechanism, then a structural model that correctly describes this mechanism, when estimated on the source domain, will generalize naturally to the target domain, even if both the marginal and the conditional distributions have changed. In the context of transfer learning, the external validity of a structural model translates into domain-invariance. Fundamentally, this is because causal relationships are more stable than statistical relationships pearl_causality_2009\footnote{Motivated by the idea that causal relationships are more stable, rojas-carulla_invariant_2018 propose “causal transfer learning.” kuang_stable_2020 propose “stable prediction”. Both studies rely on the assumption that a subset of the input variables $v\subseteq x$ have a causal relation with the outcome $y$ and the conditional probability $\mathbb{P}\left(y|v\right)$ is invariant across domains. However, it is not true that having a causal relationship implies $\mathbb{P}\left(y|v\right)$ is domain-invariant. Let $w=x\backslash v$. The assumption only holds under very limited and untestable conditions, namely that $y\perp w|v$ and that the causal effect of $v$ on $y$ is homogeneous.}. On the other hand, if a structural model is misspecified yet informative about the data-generating mechanism, then it may not compete with the best statistical models in-domain, but can still provide useful guidance for extrapolating out-of-domain\footnote{In this paper, we distinguish between the notion of \emph{out-of-domain} and \emph{out-of-sample}. Out-of-sample data are test data drawn from the same distribution as the training data.}. This intuition motivates our estimator. Indeed, we show that the SRE can significantly outperform un-structural-regularized statistical models in \emph{out-of-domain} prediction whether we are given a correctly specified or a misspecified but informative structural model\footnote{Note that we do not claim superiority over un-structural-regularized statistical models \emph{in-domain}, since one can \emph{always} pick a statistical model flexible enough to generate good in-domain (out-of-sample) performance -- performance on test data drawn from the same distribution on which the model is estimated. Hence the main contribution of the SRE to statistical prediction is in terms of its out-of-domain performance, i.e. the ability to extrapolate.}.

Our method also contributes to the literature on causal effect estimation by offering a way to combine the nonstructural statistical approach to causal inference with the structural approach. The nonstructural approach, also known as the reduced-form approach\footnote{As chetty_sufficient_2009 points out, the term “reduced-form” is largely a misnomer, whose meaning in the econometrics literature today has departed from its historical root. Historically, a reduced-form model is an alternative representation of a structural model. Given a structural model $\mathcal{M}(x,y,\epsilon)=0$, where $x$ is exogenous, $y$ is endogenous, and $\epsilon$ is unobserved, if we write $y$ as a function of $x$ and $\epsilon$, $y=f(x,\epsilon)$, then $f$ is the reduced-form of $\mathcal{M}$ reiss_structural_2007. Today, however, applied economists typically refer to nonstructural, statistical treatment effect models as “reduced-form” models. Perhaps reflecting the informal nature of the terminology today, rust_limits_2014 gives the following definitions of the two approaches: “At the risk of oversimplifying, empirical work that takes theory \textquotedblleft seriously\textquotedblright is referred to as structural econometrics whereas empirical work that avoids a tight integration of theory and empirical work is referred to as reduced form econometrics.”}, estimates causal effects from observational data using statistical models. Knowledge of the data-generating mechanism is used not to specify a complete causal model, but to inform research designs that can identify the causal effects of interest by exploiting exogenous variations in the data. Reduced-form methods, including selection on observables regression, instrumental variables regression, difference-in-differences estimation and so on, are widely used in applied economic analyses. At their best, these methods take advantage of credible sources of identifying information to deliver estimates that have high internal validity\footnote{angrist_credibility_2010 offer an account of what they call “the credibility revolution” -- the increasing popularity of quasi-experimental methods that seek natural experiments as sources of identifying information. Our definition of reduced-form methods include both quasi-experimental and more traditional, non-quasi-experimental methods that use prior information to locate exogenous sources of variation.}. On the other hand, they have also been criticized for learning effects that are local and lack justifications for \emph{external validity}. Which approach should be preferred -- the structural or the reduced-form -- has been the subject of a long-standing debate within the economics profession\footnote{See rosenzweig_natural_2000,angrist_credibility_2010,keane_structural_2010,keane_structural_2010-1,nevo_taking_2010,deaton_instruments_2010,heckman_building_2010 for different perspectives on the structural vs. reduced-form debate.}. This debate has at times been framed as a disagreement over the role of theory in data analysis, with some authors emphasizing the limits to inference \emph{without} theory wolpin_limits_2013 and others emphasizing the limits\emph{ with} theory rust_limits_2014.

We show that the SRE offers a way to reconcile and synthesize these two competing approaches and philosophies. Theory, in our approach, informs but not dictates data analysis. Technically, by using structural models to regularize the functional form of reduced-form models, we can effectively select models that sit “in the interior of the continuum between reduced-form and structural estimation” chetty_sufficient_2009. The resulting estimator has the ability to leverage the strengths of both approaches -- the internal validity of reduced-form methods and the external validity of structural estimation -- while defending against their weaknesses\footnote{As a price to pay, the SRE largely loses its structural interpretation and cannot be used to conduct welfare analyses. We discuss this limitation in section \vpageref{subsec:Discussion}.}.

We demonstrate the effectiveness of our approach using a set of simulation experiments designed to showcase its power under a variety of realistic settings in applied economic analyses, including first-price auctions, dynamic models of entry and exit, and demand estimation with instrumental variables. For each experiment, we compare the in-domain and out-of-domain performance of our estimator with that of structural and (reduced-form) statistical estimation. We consider a number of scenarios in which the benchmark structural model is misspecified. In particular, we consider cases in which individual agents deviate from perfect rationality and display various degrees of non-optimizing behavior or boundedly-rational expectations. These cases pose significant challenges to structural estimation due to a lack of identifiable, consensus models for non-rational behavior. Dynamic models in both macro- and microeconomics, for example, have long relied on the rational expectations assumption despite its well-known limitations. In all of these cases, we show that based on benchmark models that assume perfect rationality, the SRE is nevertheless able to obtain results that are much closer to the true non-rational models and, as a consequence, generates much more accurate out-of-domain predictions than (reduced-form) statistical models.

Several authors have proposed combining structural and reduced-form estimation chetty_sufficient_2009,heckman_building_2010. Their solution is to use structural models to derive sufficient statistics for the intended analysis and then use reduced-form methods to estimate them. In comparison, we offer a general algorithm rather than relying on ad hoc derivations\footnote{However, our method cannot be used to conduct welfare analysis, which is the focus of chetty_sufficient_2009.}. In a paper concurrent with ours, mao_ensemble_2020 propose two novel ways for combining structural and reduced-form models, one with a doubly robust construction and the other a weighted ensemble. Their methods can be viewed as complementary to ours.

Our method is most closely related to fessler_how_2019 (FK) who also propose the idea of using theory to regularize statistical models. In their framework, theory is represented as a set of constraints on the parameters of a statistical model. They propose an empirical Bayes approach that first estimates the statistical model without constraints and then project the estimated parameters, $\widehat{\beta}$, onto a subspace defined by theoretical restrictions. These projected values, $\widehat{\beta}_{0}$ are then used as priors to obtain the parameters' posterior means which shrink $\widehat{\beta}$ towards $\widehat{\beta}_{0}$. Compared with their approach, our method is different in its construction and has arguably a number of key advantages. First, FK assumes a statistical model whose parameters are identified and are consistently and unbiasedly estimated in the absence of theoretical constraints. We do not impose such assumptions. The statistical model that we shrink toward our structural benchmark can be complex and high-dimensional. While FK also assumes their statistical model to be correctly specified, we regard ours as an approximation to an unknown target function, allowing the potential use of adaptive methods such as random forests and neural nets. Second, a key requirement for FK is that theory has to be expressed as a set of constraints on the statistical parameters. This puts significant limitations on the type of theoretical models that can be considered as well as requires an ad hoc approach to find a statistical model that nests the theoretical model for each application. In contrast, the structural model that we use as our benchmark can be highly complicated, whose assumptions have no obvious ways of being expressed as a set of constraints on a statistical model, and whose parameter space can have a higher dimension. This include models such as dynamic discrete choice models and dynamic games that are widely used in empirical applications. Our method is general and does not require ad hoc constructions. Third and perhaps most importantly, while FK focuses on improving the in-domain performance of statistical estimators with theory, our goal is to achieve both good in-domain and out-of-domain predictive performance and obtain estimates with both internal and external validity. Moreover, we note that when it comes to in-domain performance, compared to a purely statistical approach, FK's method is mainly useful in a limited setting in which the sample size $N$ is larger but not significantly larger than the number of parameters $p$. This is because the empirical Bayes estimator can improve the precision of estimates when the sample size is small, but the improvement vanishes as the sample size grows large. In contrast, we show that the advantage of our SRE relative to a purely statistical approach is in its out-of-domain performance, i.e. its ability to extrapolate\footnote{fessler_how_2019 prove that their estimator dominates (in terms of MSE) the unconstrained statistical model that they estimate in the first step. But this result holds for all James-Stein type shrinkage estimators. Conceptually, shrinking to anything has the effect of trampling down the variability of a statistical model when $p$ is large relative to $N$ and thereby helping to lower the MSE. In our simulations, therefore, we compare the performance of the SRE not against the statistical model that we regularize, but against the best statistical model we obtain using model selection. We argue that this is the more meaningful comparison.}. Such advantage does not disappear no matter how much data we observe in-domain.

Finally, this paper is related to the robustness literature in economics and statistics. Motivated by hansen_robust_2001,hansen_wanting_2010,hansen_structured_2020's work on robust decision making under model misspecification\footnote{See watson_approximate_2016 and hansen_ambiguity_2016 for surveys of recent developments in statistical decision theory and robust estimation in the presence of model misspecification.}, bonhomme_minimizing_2018 develop a locally robust minimax estimator that minimizes maximum expected loss over a statistical neighborhood of a benchmark model using local linearization techniques. In a Bayesian setting, giacomini_estimation_2019 analyzes partially identified models by constructing a class of priors in a neighborhood of a benchmark prior and obtaining the optimal posterior minimax decision over this class. Working on structural models, christensen_counterfactual_2019 consider a class of models defined by equilibrium conditions and characterize the sensitivity of their counterfactuals to deviations from benchmark specifications of the distribution of unobservables. Like these studies, we are motivated by concerns over model misspecifications. However, our goal is not to achieve robustness in the sense of minimizing the worst-case impact of misspecification in a given neighborhood of the benchmark model or quantifying its local or global sensitivity. The shrinkage method we employ allows arbitrary deviation from the structural benchmark, so that when it is uninformative, the SRE is “reduced” to a (reduced-form) statistical model\footnote{Pun intended.}. Our method allows arbitrary misspecification of the structural model, unlike christensen_counterfactual_2019 whose misspecification concerns are limited to the distribution of unobservables.

The rest of this paper is organized as follows. Section (ref) provides a motivating example of how our method works in the context of a simple demand estimation problem. Section (ref) lays out the details of our algorithm. In section (ref) we apply our method to three sets of simulation experiments in the settings of first-price auctions, dynamic models of entry and exit, and demand estimation with instrumental variables and report their results. Section (ref) concludes.

Motivating Example

figure[figure omitted — 472 chars of source]

As a motivating example, consider a simple demand estimation problem. We observe the prices and quantities sold of a good $x$, as plotted in Figure (ref). Suppose the data are generated by the consumption decisions of $N$ consumers who purchased $x$ at different prices. Each consumer had fixed income $I$ and decided how much to purchase $x$ by solving the problem

equation[equation omitted — 115 chars of source]

, where $\left(p,q,p^{o},q^{o}\right)$ denote respectively the price and quantity of $x$ and of an outside good $o$, and \[ u_{i}\left(q,q^{o}\right)=\left[\alpha_{i}q^{\rho}+\left(1-\alpha_{i}\right)\left(q^{o}\right)^{\rho}\right]^{\frac{1}{\rho}} \] , with $\rho=-\frac{1}{2}$, implying an elasticity of substitution equal to $0.67$\footnote{$\left\{ \alpha_{i}\right\} $ are generated as follows: \[ \alpha_{i}=\frac{\exp\left(\xi_{i}\right)}{1+\exp\left(\xi_{i}\right)},\quad\xi_{i}\sim\mathcal{N}\left(0,0.5\right) \] }.

We can fit the following statistical model to the data:

equation[equation omitted — 101 chars of source]

The result is plotted in Figure (ref). If we further make the causal assumption that changes in $p$ are exogenous, then (ref) represents a reduced-form estimate of the individual demand curve.

The model fits the data well\footnote{In practice, (ref) is selected from a set of nested polynomial models based on AIC.} and would suffice if our goal is to make sales predictions in-domain or obtain an internally valid demand curve estimate. However, the fit becomes bad once we extrapolate outside the observed range of prices, as shown in Figure (ref). More sophisticated statistical and machine learning models wouldn't help. In particular, domain adaptation methods do not apply since both the marginal distribution of $p$ and the conditional distribution of $q$ change once we extrapolate outside the observed domain.

On the other hand, structurally estimating model (ref) would yield an estimated curve that has both internal and external validity (Figure (ref)). This is not surprising since (ref) describes the true data-generating mechanism. What happens if we estimate a structural model that is incorrectly specified? Figure (ref) shows the result of estimating (ref) but assuming $\rho=0.5$\footnote{That is, instead of estimating both $\left(\alpha_{i},\rho\right)$ from the data, we estimate $\alpha_{i}$ only while treating $\rho=0.5$ as an assumption of the model. The assumption, of course, is incorrect in this case.}. The structural fit is now poor both in-domain and out-of-domain, highlighting the fact that the validity of the structural approach hinges crucially on the model being correct.

Our structural regularization approach offers a way to combine statistical and structural models to address the shortcomings of each. Figure (ref) also shows the result of structural regularization using the misspecified structural model as the benchmark. Compared to the structural fit, the SRE fit is closer to the true model both in-domain and out-of-domain. Compared to the statistical fit, the SRE performs slightly worse in-domain but significantly better out-of-domain\footnote{To generate the results of this example, we shrink a $5-$ degree polynomial toward the structural benchmark. Note that if we compare the resulting SRE fit with this $5-$degree polynomial in-domain, as in fessler_how_2018, the SRE fit will always perform no worse.}. While we formally present the structural regularization method in the next section, this example helps illustrate why a misspecified structural model can be useful: although we misspecify the utility function, the assumption of consumer utility maximization subject to budget constraints provides important information on the relationship between price and demand that can be used to regulate the behavior of statistical models. The SRE is therefore able to achieve a balance between producing accurate descriptions of the data and incorporating theoretical (economic/behavioral) insight that allows it to better extrapolate beyond the observed domain.

Methodology

In this section, we first lay out our method in the context of conditional mean estimation. We then present it in the general framework of penalized extremum estimation and show how it can used to fit quantities identified via moment conditions. In each case, we discuss how our method can be used both for statistical prediction and causal inference.

Overview

We begin by considering the following statistical prediction problem: given variables $\left(x,y\right)\in\mathcal{O}$, let $\mathbb{P}_{xy}$ be a joint distribution defined on $\mathcal{O}$ that governs $\left(x,y\right)$. Our goal is to learn a target function $f\left(x\right)$ that minimizes the expected $\ell_{2}$ loss $\mathbb{E}_{\mathbb{P}_{xy}}\left[\left(y-f\left(x\right)\right)^{2}\right]$. Equivalently, we are interested in estimating the conditional expectation function $f\left(x\right)=\mathbb{E}_{\mathbb{P}_{y|x}}\left[y|x\right]$. We may not have access, however, to a random sample from $\mathbb{P}_{xy}$. Instead, we observe data $\mathcal{D}=\left\{ \left(x_{i},y_{i}\right)\right\} _{i=1}^{N},\ \left(x_{i},y_{i}\right)\in\mathcal{O}'\subseteq\mathcal{O}$, with data-generating probability distribution $\mathbb{P}'_{xy}=\left.\mathbb{P}_{xy}\right|_{\left(x,y\right)\in\mathcal{O}'}$. Classic statistical and machine learning algorithms built on the assumption that the training data is a random sample of the distribution of interest will thus have difficulty learning $f$ from $\mathcal{D}$.

We assume that we have at our disposal an identifiable structural model $\mathcal{M}$ that we believe may describe the causal mechanism that generates $\mathbb{P}_{xy}$. However, the model may also be misspecified. With this setup, our structural regularization estimator proceeds in two stages. In the first stage, we estimate the structural model $\mathcal{M}$ on the data $\mathcal{D}$ to obtain $\widehat{\mathcal{M}}$. We then use $\widehat{\mathcal{M}}$ to generate synthetic data $\mathcal{D}^{\mathcal{M}}=\left\{ \left(x_{i}^{\mathcal{M}},y_{i}^{\mathcal{M}}\right)\right\} _{i=1}^{M},\ \left(x_{i}^{\mathcal{M}},y_{i}^{\mathcal{M}}\right)\in\mathcal{O}$. This is generally feasible since structural models are generative models capable of simulating new data and since $\mathcal{M}$ is a causal model for $\mathbb{P}_{xy}$, it can be used to simulate data on the entire domain $\left\langle \mathcal{O},\mathbb{P}_{xy}\right\rangle $ rather than on $\left\langle \mathcal{O}',\mathbb{P}'_{xy}\right\rangle $ only\footnote{In practice, this means that if we know, at the time of estimation, where we want to apply our model, i.e. the target domain input space, then we can use the estimated structural model to generate synthetic data on the target domain in addition to the source domain in this first stage.}. Based on the estimated model $\mathcal{\widehat{M}}$, we can also compute $f^{\mathcal{M}}\left(x\right)=\mathbb{E}^{\mathcal{M}}\left[y|x\right]$ -- the implied conditional expectation of $y$ according to $\widehat{\mathcal{M}}$.

In the second stage, we estimate a flexible statistical model $g\left(x;\theta\right)$ by seeking solution to the following problem:

equation[equation omitted — 212 chars of source]

, where $\Omega\left(.,.\right)$ is a distance function, $\lambda\ge0$ is a penalty parameter, and $\widehat{\theta}^{\mathcal{M}}$ is obtained by fitting $g$ to $\mathcal{D}^{\mathcal{M}}$, i.e.\footnote{In practice, to avoid overfitting, one can either generate a very large synthetic set $\left(x_{i}^{\mathcal{M}},y_{i}^{\mathcal{M}}\right)$ or fit $g$ directly to $\left(x_{i}^{\mathcal{M}},f^{\mathcal{M}}\left(x_{i}^{\mathcal{M}}\right)\right)$, where $x_{i}^{\mathcal{M}}$ belongs to a grid of possible values of $x$.},

align[align omitted — 379 chars of source]

$g\left(x;\widehat{\theta}^{\mathcal{M}}\right)$ represents a statistical approximation to the model derived conditional mean, $f^{\mathcal{M}}\left(x\right)$\footnote{The method of indirect inference gourieroux_indirect_1993, widely used for fitting structural models whose complexity makes direct likelihood evaluation difficult, also relies on the use of approximating statistical models generated by fitting to synthetic data.}$^{,}$\footnote{Thus, in contrast to fessler_how_2019, our method does not require the structural model $\mathcal{M}$ to be expressed as a set of constraints on the parameters of a statistical model $g\left(x;\theta\right)$.}. $\widehat{\theta}^{\mathcal{M}}$ can therefore be viewed as the “structural” or “theoretical” value of $\theta$. The term $\Omega\left(\theta,\widehat{\theta}^{\mathcal{M}}\right)$ is a regularizer that penalizes the distance between $\theta$ and $\widehat{\theta}^{\mathcal{M}}$. Typical choices for $\Omega\left(.,.\right)$ include the $\ell_{1}$ norm, $\Omega\left(\theta,\widehat{\theta}^{\mathcal{M}}\right)=\left\Vert \theta-\widehat{\theta}^{\mathcal{M}}\right\Vert _{1}$, or the squared $\ell_{2}$ norm, $\Omega\left(\theta,\widehat{\theta}^{\mathcal{M}}\right)=\left\Vert \theta-\widehat{\theta}^{\mathcal{M}}\right\Vert _{2}^{2}$.

The penalty, or tuning, parameter $\lambda$ controls the tradeoff between goodness of in-sample fit and deviance of the statistical model from its structural counterpart. Let $\widehat{\theta}$ be the solution to problem (ref). Then $g\left(x;\widehat{\theta}\right)$ is our SRE estimate of $f\left(x\right)$. At one extreme, when $\lambda=0$, $g\left(x;\widehat{\theta}\right)$ is a completely unregularized statistical fit. At the other extreme, as $\lambda\rightarrow\infty$, $g\left(x;\widehat{\theta}\right)$ approaches its structural counterpart. It is in this sense that the SRE sits in the interior of the continuum between statistical and structural estimation.

As in standard penalized regression models, (ref) is known as the Tikhonov form. Equivalently, it can be expressed in the Ivanov form:

align[align omitted — 243 chars of source]

, which makes it transparent that we can likewise think of the SRE as selecting the best statistical model to fit the data within a neighborhood $C$ of the structural benchmark.

In practice, the choice of $\lambda$ or $C$ are determined via cross-validation. To improve the out-of-domain performance of our estimator, in addition to standard cross-validation procedures for i.i.d. data, we propose a forward cross-validation procedure that can be useful in situations in which we know the target domain input space at the time of training. In addition, to avoid overfitting due to first stage structural estimation, we adopt a sample-splitting strategy that splits the available training data into independent sets for first and second stage estimation. These and other details of implementation are given in section (ref).

Bayesian Interpretation

figure[figure omitted — 187 chars of source]

The SRE permits a Bayesian interpretation\footnote{Our method has a proper Bayesian interpretation due to our sample-splitting strategy (section (ref)) that separates the training data used for first and second stage estimation. Thus, from the perspective of second stage estimation, $\widehat{\theta}^{\mathcal{M}}$ is exogenously given, so that the prior distribution centered around it does not depend on the data.}. Specifically, in the case of $\ell_{2}$ regularization, $\widehat{\theta}$ is the posterior mode of $\theta$ under a Gaussian prior centered around $\widehat{\theta}^{\mathcal{M}}$\footnote{See, e.g. james_introduction_2013. For $\ell_{1}$ regularization, the corresponding prior is a double-exponential (Laplace) distribution tibshirani_regression_1996. murphy_machine_2012 provides more general discussions on the connection between regularization and MAP (maximum � posteriori) Bayesian inference.}. This is illustrated in Figure (ref) for a one-dimensional parameter. The standard deviation of the prior distribution is inversely proportional to regularization strength -- the smaller the standard deviation, the larger the corresponding $\lambda$ is and the more confidence is placed on $\widehat{\theta}^{\mathcal{M}}$ being the “true value.” As in fessler_how_2019, the use of informative priors centered around theoretically derived values gives the resulting estimator an appealing understanding of using theory as prior knowledge for analyzing new evidence\footnote{Note that the estimator obtained by fessler_how_2019 is the posterior mean rather than the posterior mode.}.

Causal Inference

\paragraph{Causal Effect Estimation under Unconfoundedness}

In this section, we adapt the estimator introduced in section (ref) to the problem of causal effect estimation under unconfoundedness. Let the observed variables be $\left(y,d,w\right)\in\mathbb{R}\times\mathbb{R}\times\mathcal{W}$, where $y$ is the outcome variable, $d$ is the treatment variable, and $w$ is a set of control variables. We are interested in the causal effect of $d$ on $y$. Specifically, let our target be the average treatment effect (ATE) denoted by $\tau$. We allow $\tau$ to be fully nonlinear and heterogeneous, i.e. $\tau=\tau\left(d,w\right)$. Under the unconfoundedness assumption of rosenbaum_central_1983\footnote{Using the notations of the Rubin causal model rubin_estimating_1974, suppose the treatment variable $d$ takes on a discrete set of values, $d\in\left\{ 1,\ldots,D\right\} $, then the unconfoundedness -- or conditional exchangeability -- assumption can be stated as \[\left.d\perp \!\!\! \perp\left(y\left(1\right),\ldots,y\left(D\right)\right)\right|w\], where $y\left(d\right)$ is the potential outcome of $y$ associated with treatment $d$. This assumption is satisfied if $d$ is not associated with any other causes of $y$ conditional on $w$. A more precise statement on the sufficient conditions for satisfying this assumption, made in the language of causal graphical models based on directed acyclic graphs (DAGs), is that $w$ satisfies the back-door criterion pearl_causality_2009.},

equation[equation omitted — 106 chars of source]

Let $x=\left(d,w\right)$. The task of estimating $\tau\left(d,w\right)$ is thus equivalent to the task of estimating $\mathbb{E}\left[y|x\right]$. Suppose now that we have a structural model $\mathcal{M}$ that describes the causal mechanism that generates these variables\footnote{Importantly, $\mathcal{M}$ does not have to support the unconfoundedness assumption, i.e. in the causal structure assumed by $\mathcal{M}$ , $w$ does not have to satisfy the back-door criterion. This is because the structural model is used to aid the estimation of $\mathbb{E}\left[y|d,w\right]$. The identifying assumption required for interpreting $\left.\partial\mathbb{E}\left[y|d,w\right]\right/\partial d$ as the (conditional) ATE remains that of unconfoundedness.}, then we can use the SRE to produce $g\left(x;\widehat{\theta}\right)=\widehat{\mathbb{E}}\left[y|x\right]$, from which we can derive $\widehat{\tau}\left(d,w\right)$\footnote{Technically, $\tau\left(d,w\right)$ is the conditional ATE. With a slight abuse of notation, the population ATE $\tau\left(d\right)=\mathbb{E}_{w}\left[\tau\left(d,w\right)\right]$.}.

As the preceding discussion shows, when the goal is to estimate the ATE under unconfoundedness, the difference between the reduced-form statistical approach and the structural approach boils down to a difference in the choice of the functional form of $\mathbb{E}\left[y|x\right]$, with the former traditionally relying on simple linear models -- although recent studies increasingly adopt more complex nonlinear and adaptive machine learning models, while the latter derive the functional form from theory. In a sense, one can argue that critics on either side of the methodological debate are motivated by a shared concern over model misspecification. Advocates for the reduced-form approach are concerned about the misspecification of $\mathbb{E}\left[y|x\right]$ due to the often strong and unrealistic assumptions -- causal as well as parametric -- made in structural models, while those advocating for the structural approach are concerned about misspecifications due to not incorporating theoretical insight -- functional forms such as constant elasticity of substitution (CES) aggregation and the gravity equation of trade often encode important prior economic knowledge that sophisticated statistical and machine learning methods would not be able to capture based on training data alone\footnote{rust_limits_2014 makes a similar point: \textquotedblleft Notice the huge difference in world views. The primary concern of Leamer, Manski, Pischke, and Angrist is that we rely too much on assumptions that could be wrong, and which could result in incorrect empirical conclusions and policy decisions. Wolpin argues that assumptions and models could be right, or at least they may provide reasonable first approximations to reality.\textquotedblright}. The SRE addresses both of these concerns: our two-stage procedure effectively searches through a combined statistical and structural model space to arrive at an optimal functional form of $\mathbb{E}\left[y|x\right]$ that defends against both types of misspecifications.

\paragraph{Instrumental Variables}

When the unconfoundedness condition does not hold -- when there is unmeasured confounding -- one of the most widely used strategies in reduced-form inference is to rely on the use of instrumental variables, which are auxiliary sources of randomness that can be used to identify causal effects. Let our reduced-form statistical model be $y=g\left(x;\theta\right)+\epsilon,\ x=\left(d,w\right)$, where $\tau\left(d,w\right)=\left.\partial g\left(x;\theta\right)\right/\partial d$ and $\epsilon$ is a noise term that may be correlated with $d$\footnote{In this reduced-form model, $g\left(x;\theta\right)$ is a statistical model for $\mathbb{E}\left[\left.y\left(d\right)\right|w\right]$ -- the conditional expectation of the potential outcome of $y$ under treatment $d$ and $\epsilon$ is defined as $y-g\left(x;\theta\right)$. Thus by definition, the conditional ATE $\tau\left(d,w\right)=\left.\partial g\left(x;\theta\right)\right/\partial d$. When $\mathbb{E}\left[d\epsilon\right]\ne0$, the received treatment $d$ is related to unobserved factors that also affect $y$, thus violating the unconfoundedness condition.}. If we have access to a variable $z$ that is correlated with treatment $d$ and is related to outcome $y$ only through its association with $d$, then $z$ can serve as an instrument for $d$\footnote{More precisely, the requirement is that $\mathbb{E}\left[z\epsilon\right]=0$ and $\rho_{dz\cdot w}\ne0$, where $\rho_{zd\cdot w}$ is the partial correlation of $z$ and $d$ given $w$. On a causal graph, this translates into the requirement that $z$ is correlated with $d$ and that every open path connecting $z$ and $y$ has an arrow pointing into $d$.}. In general, given $\theta\in\mathbb{R}^{k}$ and instrument $z\in\mathbb{R}^{l},\ l\ge k$, $\theta$ can be identified via the following moment conditions:

equation[equation omitted — 98 chars of source]

Assume again that we have a structural model $\mathcal{M}$ that describes the causal mechanism governing these variables\footnote{$\mathcal{M}$ does not have to contain $z$. Once we have an estimated model $\widehat{\mathcal{M}}$, we can use it to generate and fit $g$ directly to a synthetic data set $\left(x_{i}^{\mathcal{M}},g^{\mathcal{M}}\left(x_{i}^{\mathcal{M}}\right)\right)$ to obtain $\widehat{\theta}^{\mathcal{M}}$, where $g^{\mathcal{M}}\left(x_{i}^{\mathcal{M}}\right)=\mathbb{E}^{\mathcal{M}}\left[\left.y\left(d_{i}\right)\right|w_{i}\right]$ is the model derived conditional expectation of the potential outcome under treatment $d$.}. Our SRE would proceed as before in the first stage and solve the following problem in the second stage:

equation[equation omitted — 217 chars of source]

, where $\overline{m}\left(\theta\right)=\frac{1}{N}\sum_{i=1}^{N}m_{i}\left(\theta\right)$, $m_{i}\left(\theta\right)=z_{i}\left(y_{i}-g\left(x_{i};\theta\right)\right)$ are the moment functions and $W$ is a $l\times l$ weight matrix. Once we obtain $\widehat{\theta}$ as a solution to (ref), we can derive the conditional ATE as $\widehat{\tau}\left(d,w\right)=\left.\partial g\left(x;\widehat{\theta}\right)\right/\partial d$.

Implementation

algorithm[algorithm omitted — 1,554 chars of source]

In this section, we detail the implementation of our algorithm. We begin by showing that under the setup of section (ref), our estimator has a closed form solution at any given $\lambda$ in the special case of $\Omega\left(.,.\right)$ being an $\ell_{2}$ regularizer and $g\left(x;\theta\right)$ being linear in $\theta$.

Consider $g\left(x;\theta\right)=\alpha+x'\beta$, where $x\in\mathbb{R}^{p}$, $\theta=\left(\alpha,\beta\right)$. In practice, the constant term $\alpha$ should not be penalized. Let $x$ be standardized into $\widetilde{x}$ with mean zero. Then we can write our model as $g\left(\widetilde{x};\widetilde{\theta}\right)=\widetilde{\alpha}+\widetilde{x}'\widetilde{\beta},\ \widetilde{\theta}=\left(\widetilde{\alpha},\widetilde{\beta}\right)$. We estimate $g\left(\widetilde{x};\widetilde{\theta}\right)$ as follows: in the first stage, after generating synthetic data $\mathcal{D}^{\mathcal{M}}$ based on the estimated structural model $\widehat{\mathcal{M}}$, fitting $g\left(\widetilde{x};\widetilde{\theta}\right)$ to $\mathcal{D}^{\mathcal{M}}$ gives $\left(\widehat{\widetilde{\alpha}}^{\mathcal{M}},\widehat{\widetilde{\beta}}^{\mathcal{M}}\right)$. In the second stage, because $\widetilde{x}$ is centered, we have $\widehat{\widetilde{\alpha}}=\overline{y}$. Let $\widetilde{y}=y-\overline{y}$. Let $\Omega\left(\widetilde{\beta},\widehat{\widetilde{\beta}}^{\mathcal{M}}\right)=\left\Vert \widetilde{\beta}-\widehat{\widetilde{\beta}}^{\mathcal{M}}\right\Vert _{2}^{2}$. Then

align[align omitted — 451 chars of source]

, where $\widetilde{X}=\left[\widetilde{x}_{1},\ldots,\widetilde{x}_{N}\right]'$ and $I$ is the $p\times p$ identity matrix. In the case that $\widetilde{X}$ is orthonormal, (ref) can be expressed as

equation[equation omitted — 182 chars of source]

, where $\widehat{\widetilde{\beta}}^{OLS}$ is the least squares estimate. In this case, the SRE can be viewed as a weighted average of statistical and structural estimation.

\paragraph{Sample Splitting}

algorithm[algorithm omitted — 647 chars of source]

We use the technique of sample-splitting angrist_split-sample_1995 to avoid overfitting and ensure good statistical behavior especially when complex structural models are employed in the first stage\footnote{angrist_split-sample_1995 propose the use of sample-splitting in the context of instrumental variable estimation. Related ideas in the statistical literature goes back at least to bickel_adaptive_1982.}. The idea of sample-splitting is to split the training data into two parts to be used respectively for the two stages of estimation, so that $\widehat{\theta}^{\mathcal{M}}$ can be treated as exogenously given when $g\left(x;\theta\right)$ is fit in the second stage. The details of our algorithm with sample-splitting are given in Algorithm (ref).

The sample-splitting procedure reduces overfitting at a cost of wasting half of the data in each stage of estimation. To improve efficiency, we can use the cross-fitting procedure of chernozhukov_double_2016,chernozhukov_doubledebiasedneyman_2017. The idea is to similarly split the original sample into two parts, but alternately use each part for first and second stage estimation, so that each data point will participate in both stages albeit not at the same time. The details of our algorithm with cross-fitting are given in Algorithm (ref).

\paragraph{Forward Cross-Validation}

algorithm[algorithm omitted — 1,869 chars of source]

We use cross-validation to choose the optimal penalty $\lambda$ in (ref). If we know, at the time of estimation, the target domain on which we want to apply our model, then there are two ways to further improve the out-of-domain performance of our estimator. One is to use the estimated structural model to generate synthetic data on both the source and the target domain in the first stage, as discussed in section (ref). In this section, we introduce a forward cross-validation procedure as another way to improve out-of-domain performance. The idea is to validate on subsets of the data that are “closer” to the target domain than the subsets on which the model is trained. More specifically, given a sample $\mathcal{S}$\footnote{In practice, $\mathcal{S}$ would be the subsample of $\mathcal{D}$ on which the second stage estimation is conducted.}, we partition $\mathcal{S}$ into two parts, $\mathcal{S}_{1}$ and $\mathcal{S}_{2}$ with associated input spaces $\mathcal{X}_{1}$ and $\mathcal{X}_{2}$, such that $d_{H}\left(\mathcal{X}_{2},\mathcal{X}_{T}\right)<d_{H}\left(\mathcal{X}_{1},\mathcal{X}_{T}\right)$, where $\mathcal{X}_{T}$ is the target domain input space and $d_{H}\left(.,.\right)$ is the Hausdorff distance. We then further partition $\mathcal{S}_{1}$ randomly into $K-1$ equal sized subsets and perform $K-$ fold cross validation, each time using $K-2$ subsets of $\mathcal{S}_{1}$ for training and validating on a validation set that contains $\mathcal{S}_{2}$ and the remaining subset of $\mathcal{S}_{1}$. See Algorithm (ref) for more details.

The idea of forward CV is perhaps best illustrated in the one-dimensional setting (Figure (ref)). Here we want to extrapolate the estimated model in the direction of increasing $x$. To this end, we perform cross validation by creating a six-fold partition of the sample data, where the sixth fold lies in the direction of increasing $x$ compared to the remaining five and is always in the validation set. Doing so helps produce tuning parameters whose corresponding models have superior extrapolation performance in the intended direction\footnote{When the data has a time series structure, a rolling-window design can be used for cross-validation, as is commonly used for model selection in time series forecasting. See section (ref) for an application.}.

\paragraph*{Adaptive Models }

figure[figure omitted — 433 chars of source]

The statistical model that we shrink toward the structural benchmark can be adaptive itself, allowing the potential use of machine learning methods like random forests and neural nets with structural regularization. Let $h\left(x;\theta,\gamma\right)$ be such a model with hyperparameter $\gamma$. To incorporate $h$ into our estimator, we can modify Algorithm (ref) as follows. Split the initial training data into three parts: $\left\{ \mathcal{D}_{1},\mathcal{D}_{2},\mathcal{D}_{3}\right\} $. We first fit $h$ to $\mathcal{D}_{1}$ to obtain the optimal $\lambda=\lambda^{*}$. Let $g\left(x;\theta\right)=h\left(x;\theta,\lambda^{*}\right)$. $g\left(x;\theta\right)$ then enters into the standard SRE algorithm, with $\mathcal{D}_{2}$ and $\mathcal{D}_{3}$ used respectively for structural estimation and regularization. The modified algorithm thus becomes a three-stage procedure. Algorithm (ref) can be adapted similarly with the three parts of data used alternately for the three stages of estimation.

Extension

In general, the SRE can be formulated as a penalized extremum estimator that seeks solution to the following problem in the second stage:

equation[equation omitted — 199 chars of source]

, where $\mathcal{L}_{g}\left(\mathcal{S};\theta\right)$ is an objective function associated with $g\left(x;\theta\right)$ and evaluated on sample $\mathcal{S}$.

This setup encompasses many possibilities. The statistical model $g$ can be discriminative or generative. The objective function can be based on any appropriate loss functions such as the quadratic loss and the cross-entropy (negative likelihood) loss. When $\theta$ is identified via moment functions $\mathbb{E}\left[m\left(\theta\right)\right]=0$, we obtain (ref) as a special case of (ref). In addition, in the special case that $g\left(x;\theta\right)=x'\theta,\ x\in\mathbb{R}^{p}$, $\Omega\left(\theta,\widehat{\theta}^{\mathcal{M}}\right)=\left\Vert \theta-\widehat{\theta}^{\mathcal{M}}\right\Vert _{2}^{2}$, and $m\left(\theta\right)=z\left(y-g\left(x;\theta\right)\right)$, where $z\in\mathbb{R}^{l},\ l\ge p$ is an instrument for $x$, we have the following analytical solution to (ref) for a given $\lambda$:

equation[equation omitted — 143 chars of source]

, where $X=\left[x_{1},\ldots,x_{N}\right]'$, $Z=\left[z_{1},\ldots,z_{N}\right]'$, and $I$ is the $p\times p$ identity matrix\footnote{In practice, it is often desirable as in (ref) not to penalize the constant term in $g$.}$^{,}$\footnote{One can use $W=\mathbb{E}\left[m\left(\theta_{0}\right)m\left(\theta_{0}\right)'\right]^{-1}$, the efficient weight of hansen_large_1982, and obtain $\widehat{\theta}$ via a two-step procedure. This however may not be the optimal weight for our estimator. We leave the characterization of the asymptotic properties of the SRE as well as the optimal weighting matrix for (ref) to future work. }.

Applications

In this section, we demonstrate the effectiveness of our method and compare its finite-sample performance with that of statistical and structural estimation in three economic applications using Monte Carlo simulations. Taken together, these exercises cover prediction and causal inference (both under unconfoundedness and confounding) problems, static and dynamic settings, and individual behavior that deviates in various ways from perfect rationality.

First-Price Auction

table[table omitted — 902 chars of source]

In our first application, we consider first-price sealed-bid auctions. Auctions are one of the most important market allocation mechanisms. Over the past twenty years, empirical analysis of auction data has been transformed by structural estimation of auction models based on games of incomplete information\footnote{See paarsch_introduction_2006,athey_nonparametric_2007,hickman_structural_2012,perrigne_econometrics_2019 for surveys on econometric analysis of auction data}. Structural analysis of auction data views the observed bids as equilibrium outcomes and attempts to recover the distribution of bidders' private values by estimating relationships derived directly from equilibrium bid functions. This approach, while offering a tight integration of theory and observations, relies on a set of strong assumptions on the information structure and rationality of bidders bajari_are_2005.

In this exercise, we conduct three experiments by simulating auction data with varying number of participants under three scenarios. The first scenario features rational bidders with independent private values drawn from a uniform distribution. The second scenario features rational bidders whose values are drawn from a beta distribution. The third scenario features boundedly-rational bidders whose bids deviate from optimal bidding strategies. Assume that we are interested in the relationship between the number of bidders $n$ and the winning bid $b^{*}$, $\mathbb{E}\left[\left.b^{*}\right|n\right]$. In each experiment, we estimate $\mathbb{E}\left[\left.b^{*}\right|n\right]$ using (a) a statistical model, (b) a structural model, and (c) the SRE. The structural model we use assumes rational bidders with uniform private value distribution and is thus correctly specified for Experiment 1 but misspecified in Experiment 2 and 3. Table (ref) summarizes this setup. Below we detail the data-generating models of the three experiments.

\paragraph{Setup}

Consider a first-price sealed-bid auction with $n$ risk-neutral bidders with independent private value $v_{i}\sim^{i.i.d.}F(v)$. Each bidder submits a bid $b_{i}$ to maximize her expected return

equation[equation omitted — 127 chars of source]

, where $b_{-i}$ denotes the other submitted bids. In Bayesian-Nash equilibrium, each bidder's bidding strategy is given by

equation[equation omitted — 118 chars of source]

For Experiment 1 and 3, we let $F$ be $U\left(0,1\right)$. In this case, the equilibrium bid function simplifies to $b\left(v\right)=\frac{n-1}{n}v$. For Experiment 2, we let $F$ be $\text{Beta}\left(2,5\right)$. In each experiment, we simulate repeated auctions with varying number of bidders\footnote{Assuming the same object is being repeatedly auctioned.}. For Experiment 1 and 2, the observed bids $b_{i}$ are the equilibrium outcomes, i.e. $b_{i}=b\left(v_{i}\right)$. For experiment 3, we let $b_{i}=\eta_{i}\cdot b\left(v_{i}\right)$, where $\eta_{i}$ follows a normal distribution left-truncated at $0$, $\eta_{i}\overset{\text{i.i.d.}}{\sim}\text{TN}\left(0,0.25,0,\infty\right)$. Bidders in Experiment 3 thus “overbid” relative to the Bayesian-Nash equilibrium.

\paragraph*{Simulation}

For each experiment, we simulate $M=100$ auctions with number of bidders $n_{m}$ varying between $5$ and $30$. The observed data thus consist of $\text{\ensuremath{\mathcal{D}}}=\left\{ \left\{ b_{i}^{m}\right\} _{i=1}^{n_{m}}\right\} _{m=1}^{M}$. In this exercise, our goal is to learn $\mathbb{E}\left[\left.b^{*}\right|n\right]$, the relationship between the number of bidders and the winning bid. To this end, three different types of estimators are used to estimate $\mathbb{E}\left[\left.b^{*}\right|n\right]$ from the training data. To assess their performance, we use the true data-generating models to compute $\mathbb{E}\left[\left.b^{*}\right|n\right]$ for $n\in\left[5,50\right]$, so that we can compare the predictions of the estimators with the true value both in-domain and out-of-domain.

\paragraph*{Statistical Estimation }

To estimate $\mathbb{E}\left[\left.b^{*}\right|n\right]$ using a statistical model\footnote{Since $n$ is exogenous, $\mathbb{E}\left[\left.b^{*}\right|n\right]$ is also a causal relationship and (ref) can also be thought of a reduced-form model of the effect of the number of bidders on the winning bid.}, the data we need are $\left\{ \left(n_{m},b_{m}^{*}\right)\right\} _{m=1}^{M}$, where $b_{m}^{*}$ is the winning bid of auction $m$. We fit the following $p-$degree polynomial to the data:

equation[equation omitted — 101 chars of source]

, where the optimal degree $p$ is determined based on information criteria.

\paragraph*{Structural Estimation}

We structurally estimate the data from each experiment using a model $\mathcal{M}$ that assumes bidders are rational, risk-neutral, and have independent private values drawn from a $U\left(0,1\right)$ distribution. Under these assumptions, the bidders' private values can be easily identified from the observed bids in each auction by $v_{i}=\frac{n}{n-1}b_{i}$\footnote{In general, if we do not impose the assumption that $v_{i}\overset{\text{i.i.d.}}{\sim}U(0,1)$ and assume instead that $v_{i}\overset{\text{i.i.d.}}{\sim}F\left(v\right)$, with $F$ unknown, then we can identify and estimate $v_{i}$ using the following strategy based on guerre_optimal_2000: let $G\left(b\right)$ and $g\left(b\right)$ be the distribution and density of the bids. (ref) implies \[ v_{i}=b_{i}+\frac{1}{n-1}\frac{G\left(b_{i}\right)}{g\left(b_{i}\right)} \] Thus, by nonparametrically estimating $G\left(b\right)$ and $g\left(b\right)$ from the observed bids, we can obtain an estimate of $v_{i}$.}. The structural model makes it even easier to make predictions on the winning bid: the model implies that $\mathbb{E}\left[\left.b^{*}\right|n\right]=\frac{n}{n+1}$. No estimation is necessary.

\paragraph*{Structural Regularization}

We use $\mathcal{M}$ as the benchmark model for the SRE and specify a $5-$degree polynomial for the statistical model $g\left(n;\theta\right)$ that we shrink toward the structural benchmark. Let $g\left(\widetilde{n};\widetilde{\theta}\right)$ be the model after $n$ is standardized, as described in section (ref). For regularizer, we use

equation[equation omitted — 228 chars of source]

, where $\widetilde{\beta}$ are the non-intercept coefficients of $\widetilde{\theta}$. (ref) is commonly used for regularizing polynomial models. It puts more penalty on higher degrees of a polynomial and has the effect of making the resulting fit more stable\footnote{Assuming that the model parametrized by $\widehat{\widetilde{\beta}}^{\mathcal{M}}$ is more stable, which is typically the case, since it is obtained by fitting to a very large synthetic data set generated by the structural model.}. The regularization procedure follows Algorithm (ref) with sample-splitting and forward CV.

\paragraph*{Results}

figure[figure omitted — 775 chars of source]
table[table omitted — 2,027 chars of source]

Figure (ref) and (ref) show the results of the first experiment. Figure (ref) plots the number of participants $n$ against the winning bid $b^{*}$, the true $\mathbb{E}\left[\left.b^{*}\right|n\right]$, as well as predictions by the estimated statistical, structural, and SRE model. All three models fit very well in-domain. Since the structural model is the true model, it predicts the true expected winning bids. The statistical model -- here a 2nd degree polynomial -- also closely approximates the target function and could suffice if our goal is to obtain a good in-domain fit. Figure (ref) plots the results of extrapolating the model predictions from $n\in\left[5,30\right]$ to $n\in\left[30,50\right]$. While the structural predictions still hold true, the statistical fit becomes very bad. On the other hand, the SRE fit remains close to the true relationship both in-domain and out-of-domain and can accurately predict winning bids well beyond the observed range of $n$.

Figure (ref) $-$ (ref) show the results of Experiment 2 and 3. In both experiments, the structural model is misspecified. In Experiment 2, it misspecifies the private value distribution. In Experiment 3, it assumes that bidders are rational and the observed bids are Bayesian-Nash equilibrium outcomes when they are not. As a consequence, in both cases, the structural fit deviates from the true model significantly. The statistical model, like in Experiment 1, is able to fit well in-domain but poorly out-of-domain. Remarkably, the SRE continues to perform well despite relying on a misspecified benchmark model. Its predictions are close to the true expected winning bids both in-domain and out-of-domain. Intuitively, the misspecified structural models still provide useful guidance on the functional form of $\mathbb{E}\left[\left.b^{*}\right|n\right]$ when we extrapolate beyond the observed domain, as evidenced in Figure (ref) and (ref).

In Table (ref), we report the mean bias, variance, and mean squared error of the three estimators for 100 simulation runs\footnote{Reported are the mean bias, variance, and mean squared error, averaged over the number of bidder $n$. Given an estimator $f$, let $f^{\left(r\right)}\left(n\right)$ denote the estimator's prediction of the winning bid in simulation $r$, then the empirical pointwise bias of $f$ at $n=i$ is $\text{pwbias\ensuremath{\left(f,i\right)}}=\frac{1}{R}\sum_{r=1}^{R}\left|f^{\left(r\right)}\left(n=i\right)-\mathbb{E}\left[\left.b^{*}\right|n=i\right]\right|$, where $R$ is the total number of simulations. The empirical overall bias, or mean bias, of $f$ is $\text{bias\ensuremath{\left(f\right)}}=\frac{1}{\left|\mathcal{X}\right|}\sum_{n\in\mathcal{X}}\text{pwbias\ensuremath{\left(f,n\right)}}$, where $\mathcal{X}$ is the space associated with $n$. The mean variance and the mean MSE are likewise defined.}. For all three experiments, the SRE has a low MSE comparable to those of the statistical model and of the true structural model in-domain, while achieving a significantly lower out-of-domain MSE than both the statistical model and the structural model when the latter is misspecified.

Dynamic Entry and Exit

table[table omitted — 410 chars of source]

Our second application concerns the modeling and estimation of firm entry and exit dynamics. Structural analysis of dynamic firm behavior based on dynamic discrete choice (DDC) and dynamic game models has been an important part of empirical industrial organization\footnote{See aguirregabiria_dynamic_2010,bajari_game_2013 for surveys on structural estimation of dynamic discrete choice and dynamic game models.}. These dynamic structural models capture the path dependence and forward-looking behavior of agents, but pays the price of imposing strong behavioral and parametric assumptions for tractability and computational convenience.

In this exercise, we focus our attention on the rational expectations assumption that has been a key building block of dynamic structural models in macro- and microeconomic analyses. The assumption and its variants state that agents have expectations that do not systematically differ from the realized outcomes\footnote{More precisely, rational expectations are mathematical expectations based on information and probabilities that are model-consistent muth_rational_1961.}. Despite having long been criticized as unrealistic, the rational expectations paradigm has remained dominant due to a lack of tractable alternatives and the fact that economists still know preciously little about belief formation.

We conduct three experiments in the context of the dynamic entry and exit of firms in competitive markets in non-stationary environments. Our data-generating models are DDC models of entry and exit with entry costs and exogenously evolving economic conditions. In our first experiment, agents have rational expectations about future economic conditions. In the second experiment, agents have a simple form of adaptive expectations that assume the future is always like the past. The third experiment features myopic agents who optimize only their current period returns. In all experiments, we are interested in predicting the number of firms that are in each market each period. To this end, we estimate (a) a statistical model, (b) a structural model, and (c) the SRE. The structural model we estimate assumes rational expectations and is thus correctly specified only in Experiment 1. Table (ref) summarizes this setup.

\paragraph{Setup}

Consider a market with $N$ firms. In each period, the market structure consists of $n_{t}$ incumbent firms and $N-n_{t}$ potential entrants. The profit to operating in the market at time $t$ is $R_{t}$, which we assume to be exogenous and time-varying. At the beginning of each period, both incumbents and potential entrants observe the current period payoff $R_{t}$ and each draws an idiosyncratic utility shock $\epsilon_{it}$. Incumbent firms then decide whether to remain or exit the market by weighing the expected present values of each option, while potential incumbents decide whether or not to enter the market, which will incur a one-time entry cost $c$. Specifically, let the entry status of a firm be represented by $\left(0,1\right)$. The time-$t$ flow utility of a firm, who is in state $j\in\left\{ 0,1\right\} $ in time $t-1$ and state $k\in\left\{ 0,1\right\} $ in time $t$, is given by

equation[equation omitted — 79 chars of source]

, where

equation[equation omitted — 149 chars of source]

is the deterministic payoff function and $\epsilon_{it}=\left(\epsilon_{it}^{0},\epsilon_{it}^{1}\right)$ are idiosyncratic shocks, which we assume are i.i.d. type-I extreme value distributed. The parameter $\alpha$ measures the importance of operating profits to entry-exit decisions relative to the idiosyncratic utility shocks.

The ex-ante value function of a firm at the beginning of a period is given by

align[align omitted — 305 chars of source]

, where $j$ is the firm's state in $t-1$, $\beta$ is the discount factor, $\overline{V}_{t}^{j}\coloneqq\mathbb{E}_{\epsilon}\left[V_{t}^{j}\left(\epsilon_{it}\right)\right]$ is the expected value integrated over idiosyncratic shocks, and $\mathcal{V}_{t}^{jk}\coloneqq\pi_{t}^{jk}+\beta\cdot\mathbb{E}_{t}\left[\overline{V}_{t+1}^{k}\right]$ is the choice-specific conditional value function.

At the beginning of each period, after idiosyncratic shocks are realized, each firm thus chooses its action, $a_{it}\in\left\{ 0,1\right\} $, by solving the following problem:

equation[equation omitted — 143 chars of source]

, which gives rise to the conditional choice probability (CCP) function:

equation[equation omitted — 189 chars of source]

, which follows from the extreme value distribution assumption.

Since the value function involves the continuation values $\mathbb{E}_{t}\left[\overline{V}_{t+1}^{k}\right]$, which requires expectations of the future profits $\left(R_{t+1},R_{t+2},\ldots\right)$, its solution requires us to specify how such expectations are formed. In Experiment 1, we assume firms have perfect foresight on $R_{t}$. This is a stronger form of rational expectations that assumes individuals knows the future realized values. Firms can then compute $\overline{V}_{t}^{j}=\mathbb{E}_{\epsilon}\left[V_{t}^{j}\left(\epsilon_{it}\right)\right],\ j\in\left\{ 0,1\right\} $ in a model-consistent way, i.e. based on the distributional assumption of $\epsilon_{it}$. In Experiment 2, we assume firms have a form of adaptive expectations, according to which beliefs about the future are formed based on past values. Here for simplicity, we assume that firms expect future profits to be always the same as in current period, i.e. $R_{t}=R_{t+1}=R_{t+2}=\cdots$. Finally, in Experiment 3, we allow firms to be myopic, so that they do not care about the future and only maximize current payoffs.

\paragraph*{Simulation}

figure[figure omitted — 188 chars of source]

For each experiment, we simulate $N=10,000$ firms for $\mathcal{T}=500$ periods. The first $T=250$ periods are used for training and the last $\mathcal{T}-T=250$ periods are used to assess the out-of-domain performance of our estimators. The training data thus consist of $\text{\ensuremath{\mathcal{D}}}=\left\{ \left\{ a_{it}\right\} _{i=1}^{N},R_{t}\right\} _{t=1}^{T}$. We simulate $R_{t}$ to follow a rising time trend so that the environment is non-stationary. Figure (ref) shows a realized path of $R_{t}$. The model parameters for each experiment are chosen so that the entry and exit dynamics over the first $T$ periods are significantly different from the last $\mathcal{T}-T$ periods, allowing us to better distinguish the performance of the estimators. Appendix \hyperlink{APP}{A.2} reports the parameter values we use as well as other details of the simulation.

\paragraph*{Statistical Estimation }

Our goal is to predict $n_{t}$ -- the number of firms operating in the market in each period. The data we need for statistical modeling are $\left(n_{t},R_{t}\right)$. We fit the following nonlinear ARX model to the data:

equation[equation omitted — 134 chars of source]

, where $\left(p,q\right)$ are again determined based on information criteria.

\paragraph*{Structural Estimation}

To estimate the DDC model, we use a strategy that builds on arcidiacono_conditional_2011 and estimates an Euler-type equation constructed out of CCPs. Here we sketch the strategy while presenting its details in Appendix \hyperlink{APP}{A.2}\footnote{See arcidiacono_practical_2011 for a review of related CCP estimators. For empirical implementations, see, e.g. artuc_trade_2010,scott_dynamic_2014.}.

A key to our strategy is a rational expectations assumption: we assume that because agents have rational expectations, their expected continuation values do not deviate systematically from the realized values, i.e. $\overline{V}_{t+1}^{j}=\mathbb{E}_{t}\left[\overline{V}_{t+1}^{j}\right]+\xi_{t}^{j}$, where $\xi_{t}^{j}$ is a time-$t$ expectational error with $\mathbb{E}\left(\xi_{t}^{j}\right)=0$. Given this assumption, and since our model has the finite dependence property of arcidiacono_conditional_2011, solution to (ref) can be written in the form of the following Euler equation:

align[align omitted — 264 chars of source]

, where $\epsilon_{t}^{j,k}=\beta\left(\xi_{t}^{k}-\xi_{t}^{j}\right)$.

Replacing the CCPs with their sample analogues, i.e. let $\widehat{p}_{t}\left(k|j\right)=$ observed percentage of firms that are in state $j$ in $t-1$ and state $k$ in time $t$, we obtain the following estimating equations: for all $j\ne k$,

equation[equation omitted — 375 chars of source]

, where $e_{t}=\left(e_{t}^{01},e_{t}^{10}\right)$ is an error term that captures both the expectational errors in $\epsilon_{t}^{j,k}$ and the approximation errors in $\widehat{p}_{t}\left(k|j\right)$.

We assume that the value of the discount factor $\beta$ is known. Estimating (ref) gives us an estimate of the model parameters $\left(\mu,\alpha,c\right)$. These estimates are consistent for a model that assumes rational expectations. Therefore, the DDC model estimated using this strategy is correctly specified for Experiment 1, but misspecified in Experiment 2 and 3.

\paragraph*{Structural Regularization}

For structural regularization, we use the DDC model with rational expectations as the benchmark and use (ref) with $\left(p,q\right)=\left(2,4\right)$ as the specification for the statistical model we regularize. Since the target variable $n_{t}$ is serially correlated, we use Algorithm (ref) with a cross-validation procedure based on a rolling-window design that is commonly used for time series modeling.

\paragraph*{Results}

figure[figure omitted — 1,010 chars of source]
figure[figure omitted — 795 chars of source]
figure[figure omitted — 796 chars of source]
table[table omitted — 1,770 chars of source]

Figure (ref) shows the results of the first experiment. Figure (ref) plots the expected percentage of firms in the market, $\mathbb{E}\left[\frac{n_{t}}{N}\right]$, for the entire periods of $t=1-500$, covering both the in-domain periods of $t=1-250$ and the out-of-domain periods of $t=251-500$, together with the predictions of the three estimators. The predictions are made using one-step ahead forecasting\footnote{Given an estimated model, in each period $t$, we predict $n_{t}$ based on $\left\{ \left(n_{t-1},n_{t-2},\ldots\right),\left(R_{t},R_{t-1},\ldots\right)\right\} $. To generate predictions for the structural model, we also assume agents have perfect foresight regarding $\left(R_{t+1},R_{t+2},\ldots\right)$ .}. To display the results more clearly, Figure (ref) and (ref) plot selected in-domain and out-of-domain periods to offer a more detailed picture. All three estimators fit relatively well in-domain. However, out-of-domain, the time series model is completely unable to capture the rising market entries as $R_{t}$ increases. This is partly by design: as we have discussed, we intentionally choose parameter values so that out-of-domain dynamics differ markedly from those in-domain. A statistical model that fits to the in-domain data is apparently unable to extrapolate well in this case. On the other hand, the structural model, which is correctly specified in this experiment, extrapolates very well, as expected. The SRE performs as well as the structural model in-domain. Out-of-domain, its predictions generally match the true values closely, except when the true percentages are close to $1$. In those cases the SRE fit tends to overshoot, which is not surprising as the SRE model does not bind $n_{t}$ to be within $\left[0,N\right]$. Nonetheless, it is apparent that the SRE is able to capture the rising entries unlike the time series model.

Figure (ref) shows the results of the second experiment. In Experiment 2, agents have adaptive expectations in the sense that they always assume $R_{t'}=R_{t}\ \forall t'>t$. Since in our simulations, $R_{t}$ follows a rising trend, this means that agents systematically underestimate future profits. The realized dynamics show that for most of the in-domain periods, there is little entry into the market. Entry increases significantly during the out-of-domain periods and indeed, for multiple periods of time, almost all firms are in the market. This marked difference between in-domain and out-of-domain dynamics pose significant challenges. Looking at the model fits, the time series model again fits relatively well in-domain but is completely unable to extrapolate out-of-domain. The structural model, being misspecified, is able to capture the rising entries, but tends to over-estimate the percentages of firms in the market. In particular, its predicted percentages tend to rise earlier and decline later than the real ones. The model that fits the best is the SRE, which is able to match the true dynamics closely both in-domain and out-of-domain, with the exception of periods in which the true percentages are close to $1$, as the SRE fit is unbounded.

Figure (ref) shows the results of the third experiment. In this experiment, agents are myopic in that they only care about current period returns when making entry and exit decisions. The data-generating model is therefore static in nature. Looking at estimator performance, the story is broadly similar to that of Experiment 2, with the time series predictions biased toward $0$ out-of-domain, the structural predictions biased toward $1$, and the SRE offering the most accurate predictions both in-domain and out-of-domain.

Table (ref) reports the mean bias, variance, and mean squared error of the estimators with respect to the true $\mathbb{E}\left[\frac{n_{t}}{N}\right]$ over 100 trials. When correctly specified, the structural model performs the best, as can be expected. When misspecified, the structural model exhibits relatively large biases. The SRE consistently performs well both in-domain and out-of-domain throughout the experiments. In particular, it delivers significantly smaller biases, both in-domain and out-of--domain, than the statistical and the structural model when the latter is misspecified. Although it has a higher out-of-domain variance, presumably due to its predictions not being bounded within $\left[0,1\right]$, its overall performance is clearly superior to that of the misspecified structural model in Experiment 2 and 3.

Demand Estimation

table[table omitted — 855 chars of source]

In our final application, we revisit the demand estimation problem under a different setting. Suppose now that instead of observing consumer demand under exogenously varying prices, the prices we observe are set by a monopolist. In this case, changes in prices are endogenous and the relationship between price and quantity sold is confounded. As in the motivating example of section (ref), we are interested in learning the demand curve. To this end, if we have access to a variable that shifts the cost of production for the monopoly firm but does not affect demand directly, then it can be used as an instrumental variable to help identify the true demand curve. This is the reduced-form approach. Alternatively, we can estimate a structural model that fully specifies monopoly pricing behavior. This is the structural approach. Finally, we can combine the two using the SRE.

In this exercise, we conduct four experiments. In all four experiments, we assume that we do have access to a valid instrument so that the demand curve is nonparametrically identified. However, the functional form of the reduced-form statistical model may still be misspecified. On the other hand, using the structural approach, we estimate a model that assumes the observed prices are optimally set by a profit-maximizing monopoly firm. When this assumption is violated, as when for example the firm's pricing is not optimal or it does not have monopoly power, the structural model will also be misspecified. The four experiments we conduct are thus arranged as follows: in the first experiment, both the reduced-form and the structural models are correctly specified. In Experiment 2 and 3, only one of the two is correctly specified. In Experiment 4, both are misspecified. Table (ref) summarizes this setup.

This exercise differs from the previous two in two important aspects. First, our first two applications focus on the misspecification of structural models. The statistical models they fit are chosen using a model selection procedure so as to produce the best out-of-sample fit of the observed data. In practice, applied reduced-form research in economics often specifies simple linear models, so misspecification concerns are nontrivial. In this exercise, we highlight the functional form misspecifications of the reduced-form model as well as the structural. Second, this exercise focuses on comparisons of in-domain performance. We show that when either the reduced-form or the structural model is misspecified, the SRE will have better in-domain performance -- more internal validity -- than the misspecified model and has the ability to outperform both when both are misspecified.

\paragraph{Setup}

Consider $M$ geographical markets in which a product is sold. The equilibrium price and quantity sold in market $m$ are $\left(p_{m},q_{m}\right)$. Assume that all markets share the same aggregate demand function $Q^{d}\left(p\right)$:

equation[equation omitted — 104 chars of source]

In Experiment 1 and 3, we assume the product is sold by a monopoly firm who sets the prices in each market to maximize its profit. The firm has different marginal costs $c_{m}$ for operating in different markets. Hence it sets

align[align omitted — 173 chars of source]

Assume that we also observe a cost-shifter $z_{m}$, e.g. transportation costs, such that

equation[equation omitted — 54 chars of source]

, then $z_{m}$ can serve as an instrument for $p_{m}$ for identifying the demand curve.

In Experiment 2 and 4, we assume the monopoly firm fails to set optimal prices or does not have complete monopoly power. Its pricing decisions are given by

equation[equation omitted — 78 chars of source]

, where $\lambda\in\left(0,1\right)$. The firm thus earns a lower markup than an optimal price-setting monopoly.

\paragraph*{Simulation }

For each experiment, we simulate $M=1000$ markets and generate an observed data set of $\text{\ensuremath{\mathcal{D}}}=\left\{ \left(p_{m},q_{m},z_{m}\right)\right\} _{m=1}^{M}$. See Appendix \hyperlink{APP}{A.3} for the parameter values we use in simulation.

\paragraph*{Reduced-Form Estimation}

Because $p_{m}$ is now endogenous -- $p_{m}$ and $\epsilon_{m}$ are correlated through (ref) -- the statistical relation between $p_{m}$ and $q_{m}$ is confounded and no longer represents the demand function. To estimate the demand curve using the reduced-form approach, we avail of the instrumental variable $z_{m}$ and estimate $Q^{d}\left(p\right)$ by two-stage least squares (2SLS). In Experiment 1 and 2, our reduced-form model is correctly specified, i.e. we fit (ref) to the data by 2SLS. In Experiment 3 an 4, however, we assume the demand function takes on a log-log form:

equation[equation omitted — 91 chars of source]

, and is therefore misspecified in these two experiments.

\paragraph*{Structural Estimation}

We fit a structural model featuring linear demand function (ref) and price-setting function (ref). This structural model is correctly specified for Experiment 1 and 3, but misspecified for Experiment 2 and 4. The structural parameters are $\left(\alpha,\beta,a,b\right)$ and can be estimated as follows: from (ref) and (ref), we obtain

equation[equation omitted — 78 chars of source]

If our model is correct, (ref) is a deterministic linear equation system from which we can solve directly for $\left(\widehat{a},\widehat{b},\widehat{\beta}\right)$. Substituting $\widehat{\beta}$ into (ref), we then obtain $\widehat{\alpha}=\frac{1}{M}\sum_{m=1}^{M}\left(q_{m}+\widehat{\beta}p_{m}\right)$.

\paragraph*{Structural Regularization}

To estimate the demand curve using the SRE, we employ the structural model described above as the benchmark model and specify a 2nd degree polynomial $g\left(p;\theta\right)=\theta_{0}+\theta_{1}p+\theta_{2}p^{2}$ as the statistical model for $Q^{d}\left(p\right)$. As in reduced-form estimation, we rely on the use of the instrumental variable $z_{m}$ and identify $\theta$ via the following moment conditions:

equation[equation omitted — 123 chars of source]

The SRE proceeds in two stages. In the first stage, we estimate the structural model and generate synthetic data $\left(p_{m}^{\mathcal{M}},Q^{\mathcal{M}}\left(p_{m}^{\mathcal{M}}\right)\right)$, where $\text{\ensuremath{Q^{\mathcal{M}}\left(p\right)}}$ is the model derived demand function, i.e. the structural estimate of $Q\text{\ensuremath{\left(p\right)}}$. We obtain $\widehat{\theta}^{\mathcal{M}}$ by fitting $g$ directly to the synthetic data. In the second stage, we minimize the objective function (ref) with the following moment functions:

equation[equation omitted — 127 chars of source]

, where we let $\phi\left(z\right)=\left(1,z,z^{2},\ldots,z^{5}\right)$.

Analytical solution to (ref) for a given $\lambda$ is given by (ref). For the weight matrix $W$, we use the 2SLS weight $W=\left(\phi\left(z\right)'\phi\left(z\right)\right)^{-1}$\footnote{See footnote (ref).}. The regularization procedure follows Algorithm (ref). Since no out-of-domain predictions are involved in this exercise, the standard cross-validation procedure for i.i.d. data is used to choose the optimal $\lambda$.

\paragraph*{Results}

figure[figure omitted — 492 chars of source]
table[table omitted — 1,287 chars of source]

Figure (ref) plots the results of the first experiment. As the figure shows, the observed data $\left(p_{m},q_{m}\right)$ are significantly confounded -- fitting a least squares model to the data would produce an upward-sloping curve. Despite the significant confounding, reduced-form and structural estimation are both able to identify the true demand curve. This is because both use correctly specified models and $z$ is a valid instrument. In this case, the SRE performs equally well. The three model fits and the true demand curve almost coincide.

Figure (ref) plots the results of the second experiment. In this experiment, the reduced-form model is correctly specified, while structural model is not. The structural fit therefore deviates from the true demand curve, while the reduced-form model fits well. Figure (ref) shows the other side of the coin. In Experiment 3, the structural model is correctly specified, but the reduced-form model is not. In this case, even though the reduced-form fit manages to capture the downward-sloping nature of the demand curve, it is badly “out of shape”. Finally, in Figure (ref), we show the results of Experiment 4 in which both models are misspecified and, as a result, produce fits that depart from the true relationship. In all of these experiments, however, the SRE fits the true demand curve well, regardless of which model -- the reduced-form or the structural or even both -- is misspecified.

Table (ref) reports the mean bias, variance, and mean squared error of the estimators with respect to the true demand curve over 100 trials. When they are correctly specified, reduced-form and structural models exhibit low biases. The structural model, by virtue of imposing more structure on the data, attains a lower variance. When misspecified, both types of models exhibit large biases and MSEs. The SRE, in comparison, consistently attains a low bias. Although its variance is higher than that of structural estimation, its MSE remains relatively low and is significantly lower than the other two estimators when they are misspecified.

Discussion

The tension between the goal of producing an accurate description of the data and the goal of estimating externally valid structural parameters that allow for counterfactual analysis and policy prediction is a lasting legacy of Cowles Commission research program heckman_causal_2000. Structural estimation, in its effort to achieve the second goal, often need to make strong and unrealistic assumptions, including both causal assumptions such as rational expectations, and parametric assumptions such as CES utility functions. Many efforts have been made to relax these assumptions. In the context of dynamic structural models, for example, these efforts include semiparametric estimation norets_semiparametric_2014, robust estimation christensen_counterfactual_2019, and alternative specifications of expectations woodford_macroeconomic_2013. This paper offers an alternative: rather than seeking to minimize assumptions and estimate partially identified models, or specify more realistic models of behavior, which can be intractable and heterogeneous, we show the feasibility of adopting a tractable structural model with strong assumptions as an approximate model and estimate the data using structural regularization. A limitation with our approach is that by doing so, the SRE estimator no longer permits a structural interpretation and therefore cannot be used to conduct welfare analyses. We leave addressing this limitation to future work.

Conclusion

In this paper, we propose a general framework for incorporating theory into statistical modeling for statistical prediction and causal inference. We demonstrate the effectiveness of our method in a number of economic applications including first-price auctions, dynamic models of entry and exit, and demand estimation with instrumental variables. Many more potential applications are possible, such as forecasting long-run effects based on short-run observations or predicting effects at scale, which we leave for future work. Our method has potential applications not only in economics, but in other (social) scientific disciplines whose theoretical models offer important insight but are subject to significant misspecification concerns. \hypertarget{APP}