EconBase
← Back to paper

Enhancing the Merger Simulation Toolkit with ML/AI

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.

75,575 characters · 18 sections · 61 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.

Enhancing the Merger Simulation Toolkit with ML/AI

titlepage\begin{acks} We thank the audiences at the Midwest IO Fest 2024, IIOC 2025, Northwestern, Bristol, and Warwick for helpful discussions. We also thank the anonymous EC referees for their valuable comments and suggestions. Any errors are our own. \end{acks} \setcounter{tocdepth}{1}

Introduction

A central challenge in antitrust policy is assessing the competitive risks of proposed horizontal mergers. As emphasized in the U.S. Horizontal Merger Guidelines, Section 7 of the Clayton Act requires agencies to “arrest anticompetitive tendencies in their incipiency,” conducting an assessment of what will likely happen if a merger proceeds as compared to what will likely happen if it does not. While various tools are employed for this analysis, merger simulation based on structural economic models represents a sophisticated quantitative approach that can provide valuable indications of the scale and importance of competition between merging firms. These models typically focus on firms' incentives to change their actions in specific competitive dimensions, such as price, while abstracting from other competitive forces.

The standard merger simulation methodology, developed through seminal contributions werden1994effects, nevo2000mergers, relies on estimating demand elasticities and modeling firm conduct under specific assumptions about competitive behavior. Typically, firms are assumed to engage in Bertrand-Nash price competition with constant marginal costs. While this framework has proven valuable in many applications, retrospective studies indicate that its predictive performance is mixed. A key limitation identified in the literature is that the restrictive assumptions about firm conduct may not adequately capture the complexity of real-world competitive interactions peters2006evaluating. While one could alternatively pursue a purely data-driven approach using machine learning methods, such an approach would ignore the fundamental simultaneity in market equilibrium and likely produce poor predictions.\looseness=-1

This paper proposes a novel approach that maintains the economic structure of merger simulation while relaxing assumptions about firm conduct when sufficiently rich market data are available. Our model maintains the core economic insight that market prices emerge from the simultaneous interaction of demand and supply conditions while relaxing parametric assumptions about both markups and cost functions. The framework respects the structure of oligopoly equilibrium -- where prices and quantities jointly solve a system of demand and supply equations. At the same time, we allow for a flexible, nonparametric specification of how firms set markups as a function of market conditions and the marginal cost they face, nesting both the standard Bertrand-Nash model and alternative models of competition. Moreover, economic theory guides our choice of instrumental variables for handling the endogeneity of prices and market shares. However, the high dimensionality of this problem poses significant estimation challenges that cannot be addressed with classical nonparametric methods.\looseness=-1

We overcome these challenges by adapting recent advances in machine learning, specifically the Variational Method of Moments (VMM) developed by bennett2023vmm. VMM combines deep learning with instrumental variables estimation through a novel min-max formulation of moment conditions. This approach, by incorporating instruments, can thus address the simultaneity inherent in market equilibrium models, where prices and quantities are jointly determined. By parameterizing the supply function as a flexible neural network and optimizing over a growing class of functions, we can use VMM to avoid restrictive parametric assumptions while maintaining the core economic structure of oligopoly competition.

To motivate the choice of VMM, we contrast it with conventional Nonparametric Instrumental Variable (NPIV) methods. NPIV estimators offer flexibility in capturing complex relationships and possess well-established theoretical properties. However, they suffer from the curse of dimensionality, limiting their practicality in settings with multiple endogenous variables. Like many new machine learning-based methods, VMM mitigates this issue by using parametric models (e.g., neural networks) that adaptively grow in complexity with sample size. This approach preserves NPIV's strengths while mitigating dimensionality challenges. Moreover, in fixed-dimensional parametric settings, VMM coincides with the optimally weighted Generalized Method of Moments (GMM). A key innovation in our adaptation of VMM addresses a key aspect of our application: while bennett2023vmm provides valid element-wise inference for one-dimensional nuisance parameters, our focus is on predicting post-merger prices, a more complex functional of these parameters. To address this, we develop an inference procedure that leverages the numerical delta method, Holm's step-down procedure, and a permutation-based implementation. This ensures computationally feasible standard errors and confidence intervals.

Monte Carlo simulations demonstrate the strong predictive performance of our approach. When the data-generating process follows a standard model of competition (e.g., Bertrand), VMM recovers predictions close to the true structural model. More importantly, when the true model of competition differs from standard assumptions, our method substantially outperforms misspecified structural approaches. The inclusion of demand derivatives as inputs improves prediction accuracy, particularly with larger neural network architectures in data-rich environments.

Beyond prediction, we address a common criticism of machine learning approaches: their “black box” nature. We devise a method to interpret the supply model implied by our VMM estimates by computing numerical approximations of cost pass-through matrices. We find that the pass-through implied by the flexible model closely aligns with that of the true model, demonstrating that our approach not only performs well in prediction but also captures the underlying economic structure of firm conduct.

The airline industry provides an ideal setting to evaluate our methodology. The industry features substantial variation in market structure both across routes and over time, allowing us to learn about competitive conduct under different market conditions. Additionally, several major mergers in recent years provide opportunities for retrospective analysis. We focus on predicting the price effects of the 2013 American Airlines-US Airways merger, comparing our flexible approach to standard merger simulation techniques.

Our empirical analysis yields several key findings. First, the flexible supply-side specification achieves better in-sample fit than the standard Bertrand-Nash model, reducing the passenger-weighted mean squared error in predicted prices by approximately 40%. More importantly, when predicting post-merger prices in markets affected by the American-US Airways merger, our method produces estimates closer to observed outcomes compared to traditional merger simulation. The passenger-weighted mean squared error in post-merger prices for the Bertrand-Nash model is 365.71, while the passenger-weighted mean squared error for the flexible model is 66.93, a reduction of more than 80%. The median predicted price increase from our flexible approach is 2.05%, closely matching the difference-in-differences estimate of 2.92%, while the standard Bertrand model predicts a median increase of 1.45%.

Our method's computational requirements are manageable by modern standards, with estimation typically completed within hours on standard hardware. The approach is highly portable across empirical settings, requiring only standard market-level price and quantity data. We provide detailed guidance and code for implementation.

As for any method, there are trade-offs to consider. In particular, the method's applicability depends on the empirical setting. In cases where a proposed merger would create market structures radically different from those observed historically, theory-driven approaches may be more appropriate. However, our simulations show that the method performs well even with moderate sample sizes and when the exact post-merger market structure is not observed in the training data, provided there is sufficient variation in market structure to inform prediction. This makes the approach particularly valuable for industries with rich historical data on market structure changes.

This paper contributes to the IO literature that proposes nonparametric models of market equilibrium. We build our flexible model of supply on the identification results of bh14. Similarly to c20, who develops a method to estimate demand nonparametrically, our paper proposes a method for nonparametric estimation of the supply side. With similar motivation, recent papers by gh20b (proposing a linear approximation of the markup function) and op24 (using the revelation principle) also develop methods to bring more flexible supply models to data. We complement these approaches by proposing a method that leverages advances in ML/AI coupled with a nonparametric structure.

A growing literature seeks to combine ML/AI methods with structure coming from economic theory. farrell2020deep provide a theoretical foundation for using deep learning in two-stage econometric procedures, allowing for rich heterogeneity while maintaining model interpretability. kaji2023adversarial introduce “adversarial estimation,” which formulates the estimator as a minimax problem between a generator and discriminator, achieving parametric efficiency under correct specification. wei2024estimating's Neural Net Estimator (NNE) approach trains neural networks to directly estimate structural parameters from data moments. Similar to these methods, we aim to leverage the flexibility and computational efficiency of machine learning while preserving the economic structure and interpretability of traditional models. We differ in the specific implementation and application: we formulate a nonparametric structural model of market equilibrium, and estimate it using the VMM formulation of bennett2023vmm.

There has been increasing interest in employing general function approximation techniques - such as deep neural networks and random forests - in a unified approach to IV problems. Several studies, including those by dikkala2020minimax,lewis2018adversarial,liao2020provably, and zhang2023instrumental have advanced this literature. Our study is based on VMM for two main reasons. First, bennett2023vmm derived its asymptotic distribution, which enables us to construct confidence intervals for the unknown supply-side function of interest. Second, because VMM subsumes optimally-weighted two-step GMM as a special case, it represents a natural evolution from the existing parametric estimation methods in IO.

This paper also contributes to the literature that seeks to enhance the standard merger simulation toolkit with more flexible and data-driven procedures. benkard2010simulating and BrueggePolicyFcns24 develop methods based on policy functions. In comparison, our method considers a more restrictive static structure and does not predict post-merger entry or exit. The ML/AI tools we adopt, however, allow us to be nonparametric, and the explicit equilibrium model we develop allows us to quantify welfare and firm profit post-merger.

The remainder of the paper is organized as follows. Section (ref) presents the standard merger simulation framework that serves as our benchmark. Section (ref) develops our flexible approach and discusses identification. Section (ref) describes the VMM estimation procedure and derives its statistical properties. Section (ref) presents Monte Carlo evidence comparing our method to standard approaches. Section (ref) applies our methodology to airline mergers and discusses the results. Section (ref) concludes with a discussion of limitations and directions for future research.

Background: The Standard Merger Simulation Toolkit

The standard merger simulation toolkit, developed building on the seminal contributions of bp93,hausman1994competitive,werden1994effects, is based on a demand system and an assumed model of conduct. In this section, we introduce the market environment we will consider in the paper and summarize the basic elements of the merger simulation toolkit.\footnote{For a more detailed description of the toolkit, see ms21.}\\

\noindentData-generating Process: We observe pre-merger data on a set of products $\mathcal{J}$ offered by firms across a set of $\mathcal{T}$ markets. The researcher observes prices $p_{jt}$, market shares $s_{jt}$, a vector of product characteristics ${x}_{jt}$ that enter demand, a vector of cost shifters $\text{w}_{jt}$, and ownership structure $\mathcal{H}_t$ for each product-market pair $(j,t)$. For any variable ${y}_{jt}$, we denote ${y}_t$ as the vector of values in market $t$. We assume, across all markets, that the true demand system is given by:

equation[equation omitted — 75 chars of source]

The term ${\xi}_t$ is a vector of unobservable product characteristics and $\theta^D_0$ is the vector of true demand parameters. Data on endogenous prices and quantities are generated by equilibrium in market $t$. On the supply side, firm behavior is characterized by a set of first-order conditions for the firms' profit maximization problems:

equation[equation omitted — 91 chars of source]

We denote $\Delta_{0}({p}_t, {s}_t, \mathcal{H}_t, \theta^D_0)$ as the vector of true markups and ${c}_{0t}$ as the vector of true marginal costs in market $t$. Therefore, an assumption on conduct, which determines the form of the markup function, and an assumption on how costs are determined are the key ingredients of the supply-side model.

A standard assumption on conduct is Bertrand-Nash, whereby firms are playing a complete information pricing game, and the markup function is given by $\Delta_0({p}_t, {s}_t, \mathcal{H}_t, \theta^D_0) = \left( \mathcal{H}_t \odot \frac{\partial {s}_t}{\partial {p}_t} \right)^{-1} {s}_t$. Other assumptions are possible, including Cournot-Nash, Nash Bargaining, or profit weight models.

Firms' costs are generated by some cost function $\mathscr{c}$, or ${c}_{0t}=\mathscr{c}(q_{jt}, \text{w}_{jt}, \omega_{0jt})$, where $\text{w}_{jt}$ and $\omega_{0jt}$ are, respectively, observed and unobserved cost-shifter variables. The canonical case in the literature is costs that are constant in quantities.\\

\noindentThe Merger Simulation Problem: Suppose the researcher wants to predict prices following a horizontal merger that results in a post-merger ownership matrix $\tilde{\mathcal{H}}_t$ in market $t$. In the standard merger simulation toolkit, the researcher uses a combination of data and assumptions on the data-generating process to assess the effects of the merger.

This analysis typically proceeds in three steps. First, the researcher formulates a parametric demand model and estimates demand primitives $\hat \theta^D$.\footnote{We abstract here from the possibility of demand misspecification and assume the researcher correctly specifies demand.} Second, under an assumption on conduct, whereby the researcher specifies a model $m$ with corresponding markup function $\Delta_m$, and the researcher inverts marginal costs ${c}_{mt} = {p}_t - \Delta_{m}({p}_t, {s}_t, \mathcal{H}_t, \hat \theta^D)$. Third, the researcher computes post-merger prices $\tilde{{p}}_t$ under the post-merger ownership structure $\tilde{\mathcal{H}}_t$. Post-merger prices solve a fixed point:

equation[equation omitted — 182 chars of source]

For example, under Bertrand-Nash, the markup function is $\left( \tilde{\mathcal{H}}_t \odot \frac{\partial \mathscr{s}(\tilde{{p}}_t, \hat \theta^D, \cdot)}{\partial {p}_t} \right)^{-1} \mathscr{s}(\tilde{{p}}_t, \hat \theta^D, \cdot)$. The same procedure applies to other models and is limited by the assumptions on conduct. Assumptions on cost efficiencies generated by the merger, quantified in post-merger cost vectors $\tilde{{c}}_{mt}$, can be incorporated by using this vector instead of ${c}_{mt}$ in Equation (ref).\\

\noindentDiscussion: The framework relies on assumptions on demand and supply. First, the researcher makes assumptions on the demand side to capture how consumers substitute across products. Second, she maintains restrictions on the supply side by specifying firms' cost functions and a model of firm conduct, constant across the pre- and post-merger periods. We discuss these in turn.

In the context of merger review, demand elasticities may be recovered or calibrated from data on diversion, or estimated from simple demand systems werden1994effects. In the IO literature, a lot of effort has been devoted to estimating flexible models of demand blp95 that can then be used as input in merger simulation. In what follows, we assume the researcher can either calibrate or estimate substitution.

On the supply side, we first remark on the scope of the exercise. By assuming that conduct is constant before and after the merger, and it is described by oligopoly equilibrium, the model is only capturing unilateral effects of mergers.\footnote{Merger may have important coordinated effects p20. See, e.g., mw17 for a study that allows for and measures coordinated effects.} Within this framework, reliance on the strong assumptions on conduct and cost, such as Bertrand-Nash pricing and constant marginal cost, may have important consequences for prediction. For instance, peters2006evaluating suggests that alternative assumptions on conduct may lead to more reliable conclusions in his setting of airline mergers. This motivates a more flexible approach.

Flexible Model of Supply

We propose a flexible model of supply that maintains the core economic structure of market equilibrium while relaxing standard assumptions about firm conduct. Our approach recognizes that merger simulation is fundamentally a complex prediction problem with simultaneity -- prices are equilibrium objects that jointly solve a system of demand and supply equations.

Model Setup

In general, we can express prices in market $t$ as a function of markups and costs:

equation[equation omitted — 124 chars of source]

where $\Delta(\cdot)$ is a markup function and $c(\cdot)$ is a cost function. This formulation nests the standard Bertrand-Nash model but allows for more general forms of strategic interaction. With respect to the framework in Section 4.4 in bh14, the expression above unpacks marginal revenue as the sum of price and markup, which entails no loss of generality. We further maintain two assumptions also imposed in bh14:

assumption(Equilibrium Selection) There exists a unique equilibrium, or the equilibrium selection rule is such that the same $p_t$ arises whenever the vector $(\text{w}_t,x_t,\omega_t,\xi_t)$ is the same.

This assumption, similar to Assumption 13 in bh14, ensures that observed prices reflect stable equilibrium behavior.

assumption(Separability of Cost) The cost function is separable in unobservable shocks: \begin{equation} c(s_t,w_t,\omega_t) = \tilde{c}(s_t,w_t) + \omega_t. \end{equation}

This separability assumption follows bh14 and is essentially without loss of generality, as the unobservable component $\omega_t$ can be defined as the residual between total costs and the component explained by observables.

To identify our model of supply, we will assume that demand is identified. This mirrors the two-step procedure in standard merger simulation, where demand is first estimated or calibrated.

assumption(Known Demand) The matrix of demand derivatives is known, so that $D_t = D(s_t,p_t,x_t)$ is observed.

We further restrict the class of models we consider, so that prices enter markups only through demand derivatives:

assumption(Markup Dependence) The markup function $\Delta$ depends only on market shares $s_t$ and the matrix of demand derivatives $D_t$.

Under these assumptions, we can write the price equation as:

equation[equation omitted — 93 chars of source]

where $h(\cdot)$ is a flexible function that captures both markup and cost components. Notably, this formulation does not impose separability between markups and costs. We further discuss this assumption below.

Discussion

Several aspects of our framework deserve emphasis. First, it significantly generalizes the standard merger simulation toolkit while maintaining its essential economic structure. The formulation in Equation (ref) nests the Bertrand-Nash model as a special case but allows for richer forms of strategic interaction. Assumption (ref) is satisfied by a broad range of conduct models beyond Bertrand-Nash, including Cournot competition, Stackelberg leadership, various forms of partial collusion, and models where firms maximize weighted combinations of profits and consumer surplus.\footnote{For a discussion of how the models above (and more) satisfy this assumption, see Appendix C in dmqsw24.}

Second, while our framework is flexible, it is not completely unstructured. The economic content enters through the maintained assumption that prices emerge from equilibrium behavior and through the specification of which variables can enter the pricing function. These restrictions are essential for the identification and interpretation of the results.

There may be more additional economic or statistical restrictions on the $h$ function that a researcher may want to impose. Beyond separability, for instance, one may want $h_j$ to be decreasing in that product's own demand elasticity, as is the case in many standard models. This is in the spirit of the micro-founded economic restrictions that are imposed on nonparametric demand systems in c20. It is possible to add these restrictions to our model, and we discuss in Appendix (ref) how these can be incorporated within our modeling and estimation framework.

Finally, for merger simulation and other counterfactuals, we can use the estimated function $\hat{h}$ to solve for counterfactual prices that satisfy:

equation[equation omitted — 157 chars of source]

where $\tilde{\mathcal{H}}_t$ represents the post-merger ownership structure and $\hat{\omega}_t$ are the estimated residuals. This maintains the equilibrium structure of standard merger simulation while allowing for flexible conduct.

Identification

Equation (ref) expresses equilibrium prices in a market as a function of endogenous market shares. Therefore, the identification of the flexible supply model must rely on instrumental variables. We specify a moment condition:

equation[equation omitted — 89 chars of source]

where $z_{jt}$ is a vector of instruments. Following standard practice in the literature, candidate instruments include own and rival product characteristics, rival cost shifters, and taxes. Importantly, the simultaneity of the environment, where the demand equation $s_t = \mathscr{s}(p_t)$ expresses quantities as a function of prices, makes it necessary to maintain exclusion restrictions to identify $h_t$.

To see why these are necessary, consider the case of simple logit demand where price and characteristics enter demand through a linear index $\delta_{jt} = \alpha p_{jt} + \beta x_{jt} + \xi_{jt}$. Under the berry1994 inversion, $\delta_{jt} = \log s_{jt} - \log s_{0t}$, so that inverse demand is $p_{jt} = \frac{\log s_{jt} - \log s_{0t}}{\alpha} - \frac{\beta x_{jt}+ \xi_{jt}}{\alpha}$. A concern then is that our flexible strategy would back out this inverse demand function, instead of the supply relation $h_t$. Given that Equation (ref) is restricted to be a function of $s_t, D_t$, and $\text{w}_t$, an exclusion restriction that prevents our procedure from identifying inverse demand is as follows:

assumption(Instrument Exogeneity and Exclusion) The vector of instruments $z_{jt}$ that satisfies $$\mathbb{E}[\omega_{jt} \mid z_{jt}, \text{w}_{jt}] = 0$$ contains demand shifter(s) $x^{(e)}_{jt}$ that are excluded from the vector $\text{w}_{jt}$.

Under this exclusion, in the logit example above, the moment condition would be violated for $h=\mathscr{s}^{-1}$ as the implied $\omega_{jt}$ explicitly depends on $x^{(e)}_{jt}$. We also maintain, similar to bh14, a completeness assumption on the instruments.

assumption(Completeness) For all functions $B(s_t,D_t,\text{w}_t;\mathcal{H}_t)$ with finite expectation, if \\ $\mathbb{E}[B(s_t,D_t,\text{w}_t;\mathcal{H}_t)\mid z_{jt}, \text{w}_{jt}] = 0$ almost surely, then $B(s_t,D_t,\text{w}_t) = 0$ almost surely.

Under these assumptions, we can prove that the function $h_j$ is identified:

theoremUnder Assumptions (ref)-(ref), the function $h_j$ is identified for all $j=1,...,J$.
proofThe proof follows Theorem 1 in bh14. For any $j$, for the true $h_j$ function we have that at all fixed values of $(z_{jt}, \text{w}_{jt})$: \begin{align} \mathbb{E}[\omega_{jt} \mid z_{jt}, w_{jt}] &= \mathbb{E}[h_j(s_t,D_t,w_t;\mathcal{H}_t)\mid z_{jt}, w_{jt}] - \mathbb{E}[p_{jt}\mid z_{jt}, w_{jt}]\\ \mathbb{E}[p_{jt}\mid z_{jt}, w_{jt}] &= \mathbb{E}[h_j(s_t,D_t,w_t;\mathcal{H}_t)\mid z_{jt}, \text{w}_{jt}], \end{align} where the first equality follows by Assumption (ref), and $\mathbb{E}[p_{jt}\mid z_{jt}, \text{w}_{jt}]$ is identified by the data. Suppose that the function $\tilde{h}_j$ is also such that: $$\mathbb{E}[p_{jt}\mid z_{jt}, \text{w}_{jt}] = \mathbb{E}[\tilde{h}_j(s_t,D_t,\text{w}_t;\mathcal{H}_t)\mid z_{jt}, \text{w}_{jt}],$$ so that $$\mathbb{E}[{h}_j(s_t,D_t,\text{w}_t;\mathcal{H}_t)\mid z_{jt}, \text{w}_{jt}] - \mathbb{E}[\tilde{h}_j(s_t,D_t,\text{w}_t;\mathcal{H}_t)\mid z_{jt}, \text{w}_{jt}] = 0 \qquad a.s.$$ By Assumption (ref), it follows that the function $B = h_j - \tilde{h}_j = 0$ almost surely, which in turn implies that $h_j$ is identified. Note that Assumption (ref) also rules out that the function $\tilde{h}_j$ could be the inverse demand function.

It is useful to draw a parallel between our result in Theorem (ref) and the identification results in Section 4.4 of bh14. While they establish the identification of the cost shocks without imposing a supply model, we show identification of the full supply function. This is because our assumptions go beyond Assumption 7b in bh14 in several important ways. First, we impose a functional form on marginal revenue in Equation (ref), and unpack marginal revenue as the sum of price and markups. Second, we allow prices to only impact markups through shares and demand derivatives (Assumption (ref)). Third, we assume that demand derivatives are known (Assumption (ref)). These assumptions come at a cost in terms of generality but are fit for our purposes and are satisfied by the standard conduct models considered in most of the empirical literature. In particular, the models in Remark 1 of bh14 that satisfy their assumptions 7a and 7b, also satisfy our assumptions (ref)-(ref).

While Theorem (ref) establishes identification of our flexible model, estimation poses significant challenges. Standard nonparametric instrumental variables techniques are likely to perform poorly in finite samples due to the curse of dimensionality. The next section describes how we overcome these challenges using recent advances in machine learning.

Estimation and Inference

We now turn to the estimation of the flexible supply function via VMM. To contextualize VMM as our estimator of choice, we first consider Nonparametric Instrumental Variable (NPIV) methods. NPIV estimators are well-documented (e.g., chen2007large; carrasco2007linear) and offer flexibility in modeling complex relationships without restrictive parametric assumptions. Their theoretical foundations provide robust asymptotic properties under appropriate conditions, making them appealing for situations where the functional form of structural equations is unknown.

However, conventional NPIV methods are limited by the curse of dimensionality, which restricts their practical application to low-dimensional settings. In contrast, machine learning-based IV estimation methods, such as VMM and the two neural network-based average derivative estimators presented by chen2023efficient address this issue by using parametric models that grow in complexity with sample size. VMM retains conventional NPIV's strengths, such as handling complex variable relationships, while mitigating dimensionality challenges. Notably, VMM coincides with the optimally weighted Generalized Method of Moments (GMM) when the unknown parameter is of fixed, finite dimensionality (Lemma 1 in bennett2023vmm). This underscores VMM's role as a direct generalization of traditional parametric estimators, adaptable to high-dimensional contexts.\looseness=-1

We now formally explain our VMM-based estimation procedure. Explicitly, we use a moment condition for structural markup:

equation[equation omitted — 106 chars of source]

Given a preliminary consistent estimate $\tilde \theta_N$ estimator solves a min-max program:

align[align omitted — 372 chars of source]

Following the identification arguments in Section (ref), the estimator includes a vector of observable cost shifters $w_{jt}$ and a vector of instruments $z_{jt}$.\footnote{In practice, we exclude observable cost shifters from the set of instruments. Given that the function $f$ is highly nonlinear, the cost shifters no longer explicitly instrument for themselves. Simulations reveal better estimates upon the exclusion of $w$ from the set of instruments.} The instruments are necessary to address the endogeneity of market shares $s_t$ and demand derivatives $D_t$. In general, $f \in \mathcal{F}_N$ and $h \in \mathcal{H}_N$ belong to sequences of function classes. We use classes of neural networks with growing width and depth, allowing flexible controls of model complexity to cope with the curse of dimensionality. $R_N$ is a regularizer $R_N: \mathcal{F}_N \times \mathcal{H}_N \to [0,\infty]$ that penalizes the complexity of the neural network; we note in Appendix (ref) that regularization can also be used to adhere to economic properties of the supply function. $\theta$ is a potentially large set of parameters that pins down the function $h$. Under standard regularity assumptions, then Theorem 4 in bennett2023vmm shows that the estimator in Equation (ref) is consistent for the true parameter values $\theta_0$.

Inference

We now turn to the quantification of uncertainty in the flexible supply function. Importantly, while VMM offers valid element-wise inference procedures for the underlying nuisance parameters, our focus is on predicting post-merger prices -- a complex functional of these parameters. To address this, we develop an inference method that employs the numerical delta method in conjunction with Holm's step-down procedure and a permutation procedure. This approach enables the quantification of uncertainty in post-merger price predictions through standard errors and confidence intervals, ensuring computational feasibility. If $\tilde \theta_N\stackrel{p}{\to}\theta_0$, under regularity conditions, Theorems (2)-(3) in bennett2023vmm imply:

gather*[gather* omitted — 297 chars of source]

For inference on the supply function $h: \mathbb{R}^b \supset \Theta \to \mathbb{R}^d$ at a set of $d$ observations, the numerical delta method in hong2015numerical implies:

equation[equation omitted — 230 chars of source]

Note that $\nabla_{\theta} h(\theta_0; \mathcal{H})$ has dimension $d \times b$. In the simplest case, suppose that $d = 1$ and the parameter of interest is $h_x(\theta_0, \mathcal{H})$. Lemma (9) in bennett2023vmm states that, for any $\beta \in \mathbb{R}^b$, we have:

equation[equation omitted — 274 chars of source]

Taking $\beta = \nabla_\theta h_x(\theta_0, \mathcal{H})$ for $x$, the solution to the optimization problem above yields the asymptotic variance in Equation (ref). The gradient $\nabla_\theta h_{x}(\theta_0, \mathcal{H})$ is difficult to compute analytically but numerical differentiation can be employed, e.g., hong2015numerical, and $\hat \theta_N$ can be used in place of $\theta_0$. For numerical differentiation to be valid, the $\epsilon$ in the difference has to satisfy $\epsilon\to 0$ and $N\epsilon/\log N\to \infty$ from Theorem 1 in hong2015numerical.\footnote{In practice, we use automatic differentiation in torch. Broadly speaking, the module stores a computational graph as the neural network is fit; training requires and stores the gradients in backpropagation. We note that we are still subject to the regularity condition from hong2015numerical.}

However, this approach cannot obtain a covariance matrix when $d \geq 2$. We extend the method to provide a simultaneous confidence interval by adapting Holm's Step-Down procedure holm1979simple with the estimates for $\hat \sigma_{x_j}^2(\hat \theta, \mathcal{H})$ and $h_{x_j}(\hat{\theta}, \mathcal{H})$ for each $j = 1, ..., d$. The set of critical values $T_{\alpha}$ is known for significance levels $\frac{\alpha}{d + 1 - k}$ with $k = 1, ..., d$. For any ordering of $x$ and fixed ordering $T_{\alpha}$, we can compute the (vectorized) confidence interval $h_x(\hat\theta, \mathcal{H}) \pm N^{-\frac{1}{2}} \hat\sigma_x(\hat \theta, \mathcal{H}) T_{\alpha}$. To implement the procedure, we construct the intervals for all permutations of $j = 1, ..., d$, resulting in $d!$ permutations of $x$. This is because we must consider any possible ordering of the $p$-values of $x_1, ..., x_d$. The simultaneous confidence interval is subsequently the union of the bounds in each of the $d!$ permutations. Formally, the proposed procedure is as follows:

algorithm[algorithm omitted — 870 chars of source]

This novel procedure allows us to quantify uncertainty simultaneously across many predicted prices. Importantly, we can construct confidence intervals on counterfactuals using our method, meaning we can put bounds on predictions for post-merger prices.

Monte Carlo Simulations

We illustrate the predictive performance of our flexible model with simulations. We evaluate the performance of VMM against the standard merger simulation toolkit, where the researcher imposes a potentially misspecified model. To develop this comparison, we first create an artificial merger simulation exercise, where different models are trained/estimated on pre-merger data, and deployed to predict counterfactual post-merger price changes. To dig deeper into where the differences in performance come from, we also (i) evaluate out-of-sample fit of the different models on a subsample of the pre-merger data, and (ii) compute implied pass-through matrices for each model. Both exercises reveal that VMM outperforms other methods because it is able to learn the true structural relationship on the supply side.\\

Data Generation: We simulate data using the pyblp framework from cg19 for $T = 100$, $1,000$, and $10,000$ markets. In each market $t$, the number of single-product firms $J_t$ is either $J_t = 2$ or $J_t = 3$ for duopolies and triopolies, respectively.

We adopt a simple logit framework for demand with market size normalized to one. Consumer $i$ receives indirect utility from consuming product $j$ in market $t$, given by:

equation*[equation* omitted — 91 chars of source]

We include a vector of a constant and two observed product characteristics in $x_{jt}$ and the price of the product $p_{jt}$. $\xi_{jt}$ and $\varepsilon_{ijt}$ are unobservable shocks at the product-market and individual-product-market-level, respectively. The utility of the outside option is normalized to $u_{i0t} = \varepsilon_{i0t}$. We draw observed product characteristics independently from normal distributions $N(1, 0.25)$, while $\varepsilon_{ijt}$ is assumed to be distributed Type I Extreme Value. The mean taste parameters $\beta$ are set to $\beta = [-4, 3, 6]$ and the price coefficient is set to $\alpha = -0.25$.

On the supply side, we separately generate data under two conduct models: Bertrand-Nash and profit-weight model. Stacking first-order conditions, the true markups under either model can be represented as:

equation[equation omitted — 111 chars of source]

Under Bertrand-Nash, the ownership matrix is an identity matrix while under profit-weight conduct, we set $\mathcal{H}_{jkt} = 0.75$ for $j \neq k$ and $\mathcal{H}_{jkt} = 1$ for $j = k$. We assume that the marginal cost of producing product $j$ in market $t$ is given by:

equation*[equation* omitted — 57 chars of source]

We include a constant and two observable cost shifters (excluded from demand) in the vector $w_{jt}$. Marginal cost also depends on a true unobservable cost shock $\omega_{jt}$. We draw observed cost shifters independently from normal distributions $N(1, 0.25)$. The cost parameters are set to $\gamma = [3, 6, 4]$. We adopt the default in pyblp by drawing unobserved demand and cost shocks $\xi_{jt}$ and $\omega_{jt}$ from a mean-zero bivariate normal distribution with variances of one and correlation of 0.9. Under the given model of conduct, prices solve the fixed point of Equation (ref). The Bertrand-Nash and profit-weight simulations yield mean own-price elasticities $-3.29$ and $-4.32$, and mean diversions to the outside option of $0.34$ and $0.50$, respectively.

In the estimation routine, the sample is split into a training set and a hold-out test set, stratified to keep whole markets intact, prevent overfitting, and evaluate out-of-sample performance. The model is trained on duopoly and triopoly markets. We include both market structures to give the estimator variation in market structure to learn the supply function. The simulation environment mimics a merger simulation exercise in that the estimated model has seen enough variation to extrapolate well to post-merger behavior upon merging two firms in a triopoly market.\\

Merger Simulation Models: We describe now the set of models that we use to generate predictions, and how each is estimated/fit from the pre-merger data. First, within the standard merger simulation toolkit, we impose three different canonical models indexed by $m$: Bertrand $(m=B)$, monopoly $(m=M)$, and perfect competition (marginal cost pricing, $m=P$). Under each model $m$, we can compute the implied markups $\Delta_m$ and recover marginal cost shocks $\omega^m$ as the residuals to the regression $ p_{jt} - \Delta^m_{jt} = w_{jt} \gamma + \omega_{jt}^m$, which we estimate by OLS. For the VMM model, we estimate the function $h$:

equation*[equation* omitted — 101 chars of source]

with the VMM formulation, obtaining the implied shocks $\hat{\omega}$.

The neural networks are implemented using the torch package in Python. The objective function for the VMM supply function $h_j$ is given by Equation (ref). We do not include regularization in our baseline simulations. The variance estimates use the objective function from Equation (ref).

When estimating VMM, we consider two aspects of implementation. To illustrate how knowing the demand side can improve performance of the model, we perform estimation with and without the demand derivatives. Given that the demand system is simple logit, neural nets could learn the demand derivatives from market share data alone. However, providing the derivatives directly can improve performance, especially in small samples. We also experiment with different sizes of the neural net: a “small” specification that uses a $3 \times 3$ hidden layer, and a “large” specification that uses a $100 \times 100$ hidden layer.

Merger Simulation Results

Now that we have constructed estimators, the ultimate goal of the structural object recovered in estimation is to conduct a merger simulation and compare predictions with the synthetic data.

To obtain post-merger predictions for model $m$, we find a vector of prices $\tilde{p}^m_t$ in all markets $t$ that simultaneously satisfy the demand system, and the first order conditions given the post-merger ownership matrix $\tilde{\mathcal{H}}_t$. For the standard merger simulation toolkit, we rely on a contraction mapping from morrow2011contraction. Using our estimated flexible supply function, we modify this method into a root-finding problem:\footnote{Alternatively, we set up the problem as a contraction wherein we iterate on prices. In practice, we found that root-finding converged market-wise to a solution to a tolerance of $1e-6$ and the solution matched that of the contraction. We opted for the root-finding technique because it was significantly faster.}

equation[equation omitted — 138 chars of source]

We rely on the structure of an estimated demand system $s(\cdot)$ and its derivatives $D(\cdot)$ to solve for equilibrium shares and, subsequently, counterfactual prices under post-merger ownership $\tilde{\mathcal{H}}$. We hold all the parameters in demand and cost at their true or estimated values, and hold the cost shocks (for both the true and imposed model) in the post-merger period fixed at their pre-merger values.

table[table omitted — 1,185 chars of source]

In Table (ref), we compare the distributions of percentage discrepancies $(\tilde{p}^m_{jt} - \tilde{p}_{jt})/\tilde{p}_{jt}$ between predicted and actual post-merger prices. We also compute prediction MSEs for each model, obtained as $\sum_{j,t} (\tilde{p}^m_{jt} - \tilde{p}_{jt})^2$ for each model $m$.

We compare post-merger prices under the true model to prices under different assumptions of conduct to evaluate performance. The monopolist performs the worst with prices far higher than the true prices. Perfect competition significantly underpredicts price changes. Our VMM estimator greatly outperforms all misspecified models and is close to the true prices. It is important to note that the merger of triopolies results in duopolies which the training process is able to see in-sample. In Table (ref), we train on only triopolies so the merger resulting in duopolies is strictly out of sample. The results are very similar: our estimator greatly outperforms all misspecified models.

table[table omitted — 1,251 chars of source]

The results in Table (ref) show similar performance in the profit-weight simulations. Bertrand is now misspecified and performs poorly in the merger simulation exercise. Equilibrium prices generated from perfect competition and a monopolist also do not perform well. Our method performs again greatly outperforms all misspecified models and is close to the true post-merger prices. We evaluate performance with a model trained solely on tripolies in Table (ref) and find that our model again outperforms all others.

Simulation Results

We compute MSE on a hold-out sample to evaluate performance outside the training sample. The results in Table (ref) and Table (ref) vary sample sizes, assumptions on conduct, and the architecture of the estimator.\footnote{Additional results can be found in Table (ref) and Table (ref).} The first column describes the sample size in terms of the number of markets and the second column denotes whether demand derivatives were included in training. The remaining columns refer to the MSE of the relevant model, i.e., the true model, Bertrand, monopoly, perfect competition, and VMM, respectively.

table[table omitted — 1,597 chars of source]

Table (ref) describes the Bertrand simulations with a small neural network for the flexible models of supply. Generally, the shocks implied by perfect competition $\omega^P$ and especially monopoly $\omega^M$ are far away from the true shocks $\omega^B$ and $\omega$. The shocks implied by our VMM estimator $\hat \omega$ outperform all misspecified models. The performance of our estimator without demand derivatives remains stable across sample sizes. In Table (ref), we increase the size of the neural network and allow more parameters to better fit the nonlinear relationship; we see performance improve with sample sizes even without demand derivatives, fitting the intuition. On the whole, our estimator outperforms all misspecified models, sometimes by an order of magnitude.

table[table omitted — 1,644 chars of source]

The results in Table (ref) are generated with the profit-weight simulations and a large neural network for the flexible models of supply. The collusive profit-weight model is more difficult for a researcher to estimate because there are free parameters in the ownership matrix. A similar pattern emerges in the results compared to the Bertrand data-generating process. Monopoly- and perfect competition-implied shocks, $\omega^M$ and $\omega^P$, respectively, are far from the true shocks, and now Bertrand-implied shocks $\omega^B$ are far from the truth as well. Our VMM estimator outperforms all misspecified models with implied shocks $\hat \omega$ that are close to the ground truth. The model performs better as the sample size increases, especially with the inclusion of demand derivatives. In Table (ref), we include results for a small neural network that cannot capture nonlinearities as well as a large neural network. It remains the case that we outperform all misspecified models even with a small neural network.

Interpretation with Pass-through

A key concern of using a black box method such as neural networks is the interpretability of the resulting structural supply function $\hat h$. In an attempt to “peek inside the black box,” we simulate the pass-through of the resulting supply function and compare it to pass-through under the true model. The pass-through matrix shows us a rough shape of the supply function as we change own and rival costs.

To compute pass-through for the flexible supply function, we increase costs by $10$ percent, loading increases on the residuals $\hat \omega$. We then solve for equilibrium prices under different models of conduct and compare the prices before and after the cost change. Below, we report pass-through matrices for markets with median post-merger inside shares from our different simulation environments.\looseness=-1

table[table omitted — 2,299 chars of source]

Table (ref) shows pass-through matrices for both Bertrand and profit-weight simulations. Panel A compares the true pass-through matrix in the Bertrand environment with the pass-through implied by VMM, while Panel B presents the same comparison for the profit-weight environment. In both cases, the pass-through implied by VMM is remarkably close to the true pass-through matrix. The flexible model learns markup and cost functions that imply approximately correct pass-throughs. In the Bertrand environment, the model learns to pass-through own and rival cost increases and, in the profit-weight environment, the model learns to internalize some of the rival price increases after cost increases.

Inference Performance

After evaluating predictive performance in sample and in counterfactuals, and the interpretability of the flexible markup and functions, we quantify the uncertainty of the predictions. For ease of exposition, we pick a single observation at which to evaluate our inference procedure.

table[table omitted — 1,225 chars of source]

The results in Table (ref) present the estimated standard errors and confidence intervals for our predictions under different simulation environments. The first two rows show that our predictions $\hat \psi$ for the Bertrand simulation are close to the true prices $\psi$, even in small samples, and the resulting standard errors and confidence intervals are small. Similarly, the profit-weight environment has quantifiable and tight confidence intervals that are shrinking with increasing sample sizes.

Empirical Application

As a showcase of our method, we examine the US airline industry. The airline industry has received substantial attention from the IO literature berry1992estimation, bcs2006 given the rich available data and significant consolidation over the last two decades. The retrospective studies of large mergers have had mixed results peters2006evaluating, potentially linked to non-Bertrand conduct ciliberto2014does. Our method applies well here given the large amount of data and variation in market structure.

However, we emphasize the illustrative nature of our application. Recent papers have highlighted the dynamic nature of pricing and demand in this market w22,bhow22,gmw24,hnpsw24, and the role of endogenous network structure cmt21,lmprsz22,bgr23,yb24. We abstract away from these important elements to keep our application tied to the standard merger simulation toolkit.\looseness=-1

Background and Data

The U.S. airline industry has experienced substantial consolidation in the last two decades with legacy carriers and low-cost airlines participating in large mergers. We show a descriptive increase in the Herfindahl-Hirschman Index (HHI) in Figure (ref). The earliest merger in our analysis is the Delta-Northwest merger in 2008. The merger was announced on April 14, 2008, and was approved on October 29, 2008, after roughly six months of review by the US Department of Justice (DOJ). Given the limited overlap between the merging airlines' operations, the merger was perceived as having a modest impact on competition. The second merger included is the United-Continental merger in 2010. The DOJ approved the merger after four months of review on August 27, 2010. As a condition of approval, the merged entity was required to lease slots to Southwest at Newark Liberty Airport in New Jersey. Finally, we consider the controversial merger of American Airlines and US Airways. The last of the “mega-mergers” that involved two airlines, the deal was announced on November 12, 2013. According to the settlement terms, the merged entity was required to divest slots at several major airports, most prominently at Ronald Reagan Washington National Airport and New York's LaGuardia Airport. More recently, outside our analysis, Alaska Airlines acquired Virgin America and Hawaiian Airlines, and a federal court blocked JetBlue's attempted acquisition of Spirit.\looseness=-1

We construct a database of the US airline industry during the period 2005-2019. We use the 10 percent sample of purchased airline tickets from the well-known Airline Origin and Destination Survey (DB1B) database released by the US Department of Transportation. Following azar2018anticompetitive and kennedy2017competitive, a market is defined as a pair of cities, regardless of the flight direction. We match cities to Metropolitan Statistical Areas (MSA) and collect data on the populations of these MSAs from the Bureau of Economic Analysis. The geometric mean of endpoint populations is used as a measure of the market size. A product is a one-way trip that services a particular city-pair and is defined at the carrier-market-quarter level. Additional details on the construction of the data can be found in Appendix (ref).

We evaluate the retrospective unilateral price effects of major airline mergers following previous studies of this industry (e.g., peters2006evaluating) and other reduced-form investigations of the price effect of mergers (e.g., ashenfelter2013price) by creating control groups of markets not affected by the merger. The rich cross-section of separate markets where airlines compete allows to distinguish between overlap markets -- markets where merging firms both have a sizable presence, which are thus likely to be affected by the mergers -- and markets where there is no overlap between merging airlines. As in peters2006evaluating, we define overlap markets as those in which both merging airlines operate flights for the four quarters before the merger. We use the four quarters surrounding the merger approval as our pre- and post-merger samples. The sample is restricted to markets with at most five firms in the pre-merger period. The results, presented in Table (ref), show limited effects of the first two mergers while the American-US merger resulted in higher prices.

Demand and Supply Estimation

\noindentDemand Estimation: We follow berry2010tracing in adopting a nested logit demand model. We briefly summarize the model here and provide additional details in Appendix (ref). Product characteristics include average fares, the share of nonstop flights, the average distance in thousands of miles, and a squared distance term. We restrict our attention to the major carriers, controlling for the number of fringe firms to capture variation in market structure over time across origin-destination pairs. We include origin-destination fixed effects. Our nesting structure includes all inside goods in one nest. We include instruments to handle endogeneity issues for prices and nests. We use BLP instruments as the average rival distance, the average number of markets a rival serves, and the number of rival carriers.

The results for demand estimation are reported in Table (ref). In line with the previous literature, we find that consumers prefer a higher share of nonstop flights and incur disutility from more miles traveled. There is strong within-nest substitution. The median own-price elasticity of $-5.17$ matches the literature well.\\

\noindentPre-merger Supply Estimation: We consider two models of conduct for our supply specifications: (i) Bertrand pricing and (ii) a flexible supply function as described in Section (ref). In this section, we focus on the flexible specification and relegate details of the Bertrand specification to Appendix (ref).

We estimate the flexible supply model with the VMM technique described in Section (ref).\footnote{In our baseline specification, we do not include demand derivatives, although the model should fit them given the data at hand. As a robustness check, we fit a model that includes demand derivatives but found negligible differences in performance. } We include in the supply function market shares and the average distance in thousands of miles as an observable cost shifter. We also include origin-destination fixed effects. We instrument the endogenous market shares with BLP instruments formed with the following characteristics: average rival distance, average number of markets a rival serves, and number of rival carriers. Additionally, we include own-product characteristics that do not directly impact marginal costs -- the share of nonstop flights and squared average distance in thousands of miles -- as excluded instruments.

Having estimated the two models, we can evaluate their fit in the pre-merger data. The flexible supply function estimated with VMM significantly outperforms the Bertrand conduct assumption by around 36%; this margin is similar in the training data and a test sample. We stratify the data by market and split it into 80% of markets for training, leaving the remaining 20% of markets as a hold-out test sample to evaluate the fit.

Merger Simulation Results

We examine the merger of American Airlines and US Airways in our counterfactuals. As in the difference-in-differences, we focus on markets with three firms in the pre-merger period and two firms in the post-merger period. We compare the predictions of the models to the true post-merger prices. The observed price differences are presented in Figure (ref).

figure[figure omitted — 998 chars of source]

Figure (ref) presents the results of the merger simulation exercise. Panel A represents the distribution of predicted price increases from the merger under the flexible supply model and under the standard merger simulation with Bertrand. We find that the flexible model predicts a fairly tight distribution of price changes, with an average predicted change of $2.16\%$ (median $2.05\%$). This is in line with the descriptive DiD result, which found a retrospective price change in the data of $2.92\%$ in the markets we examine. In contrast, the standard merger simulation procedure with Bertrand conduct predicts an average price change of $6.66\%$ (median $1.45\%$), which is largely driven by a few large predicted changes (up to $40\%$ increases). The mass of large price increases are predicted for markets that move closer to a monopoly after the merger. More specifically, the market was dominated by US Airways and American Airlines; the third firm was a fringe in the market with a very small market share. After the merger, the market appears close to a monopoly, leading to large price increases under the Bertrand assumption.

To analyze the source of these different predictions, we now compare whether the flexible model or the standard merger simulation model more closely matches realized post-merger prices. Panel B of Figure (ref) plots the distribution of percentage differences between predicted and observed prices for the two methods in the post-merger period. The flexible model estimated with VMM is centered at zero, with a large fraction of predicted prices within $20\%$ of realized prices, and an MSE of $67$. Instead, the standard merger simulation method over-predicts changes and has an overall MSE of $366$. In sum, our flexible model substantially outperforms the standard toolkit when predicting post-merger prices for the American-US Airways merger.\looseness=-1 \\

Quantifying Uncertainty: Finally, we quantify the uncertainty of our predictions in the merger simulation exercise. We follow Algorithm (ref) to construct the confidence intervals. Notably, we use a more conservative Bonferroni correction for ease of exposition, allowing us to present the results with a single set of bounds for each point. We construct bounds for all points in the sample selected for merger simulation.

The results are presented in Appendix Figure (ref), where we show the total width of the confidence interval as a summary of uncertainty. The predictions of the inference exercise show that uncertainty is roughly constant with prediction levels. Further, and more importantly, the width is at a reasonably small level (mostly between 5-10 for predicted prices in the range 100-300) in which we can make precise point estimates even with a high-dimensional supply function.

Conclusion

This paper demonstrates how machine learning methods can enhance merger analysis while maintaining economic structure. Our approach relaxes standard assumptions about firm conduct when rich market data are available, adapting recent advances in variational inference to estimate a flexible model of supply that nests both Bertrand-Nash and alternative models of competition. Applied to the American Airlines-US Airways merger, the method produces more accurate predictions of post-merger prices compared to traditional merger simulation approaches, while maintaining computational tractability. The framework also provides valid statistical inference, allowing antitrust practitioners to quantify uncertainty in their predictions. Beyond mergers, our methodology opens new possibilities for empirical work in IO by showing how machine learning tools can be integrated into structural economic models without sacrificing their economic content.

The method involves important trade-offs and limitations. To mention one, while our method performs well when the post-merger market structure has some precedent in the training data, it may be less reliable for mergers that would create entirely novel market structures, or for which the researcher lacks relatively rich pre-merger data on market outcomes. An important direction for future research is developing hybrid approaches that combine data-driven flexibility with economic restrictions in settings where data are limited. Despite these limitations, our results suggest that careful application of modern machine learning methods can significantly improve our ability to predict merger effects while maintaining the conceptual foundations that make merger simulation such a valuable tool for antitrust analysis.