scieee AI-readable full text Open interactive document viewer

A stationary mean-field equilibrium model of irreversible investment in a two-regime economy

Aïd, René,Basei, Matteo,Ferrari, Giorgio

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Aïd, René; Basei, Matteo; Ferrari, Giorgio Working Paper A stationary mean-field equilibrium model of irreversible investment in a two-regime economy Center for Mathematical Economics Working Papers, No. 679 Provided in Cooperation with: Center for Mathematical Economics (IMW), Bielefeld University Suggested Citation: Aïd, René; Basei, Matteo; Ferrari, Giorgio (2023) : A stationary mean-field equilibrium model of irreversible investment in a two-regime economy, Center for Mathematical Economics Working Papers, No. 679, Bielefeld University, Center for Mathematical Economics (IMW), Bielefeld, https://nbn-resolving.de/urn:nbn:de:0070-pub-29787967 This Version is available at: https://hdl.handle.net/10419/278469 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/ 679 April 2023 A Stationary Mean-Field Equilibrium Model of Irreversible Investment in a Two-Regime Economy Ren´e A¨ıd, Matteo Basei, and Giorgio Ferrari Center for Mathematical Economics (IMW) Bielefeld University Universit¨atsstraße 25 D-33615 Bielefeld ·Germany e-mail: [email protected] uni-bielefeld.de/zwe/imw/research/working-papers ISSN: 0931-6558 Unless otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International (CC BY) license. Further information: https://creativecommons.org/licenses/by/4.0/deed.en https://creativecommons.org/licenses/by/4.0/legalcode.en A STATIONARY MEAN-FIELD EQUILIBRIUM MODEL OF IRREVERSIBLE INVESTMENT IN A TWO-REGIME ECONOMY RENÉ AÏD, MATTEO BASEI, AND GIORGIO FERRARI Abstract. We consider a mean-eld model of rms competing à la Cournot on a commodity market, where the commodity price is given in terms of a power inverse demand function of the industryaggregate production. Investment is irreversible and production capacity depreciates at a constant rate. Production is subject to Gaussian productivity shocks, while large non-anticipated macroeconomic events driven by a two-state continuous-time Markov chain can change the volatility of the shocks, as well as the price function. Firms wish to maximize expected discounted revenues of production, net of investment and operational costs. Investment decisions are based on the long-run stationary price of the commodity. We prove existence, uniqueness and characterization of the stationary mean-eld equilibrium of the model. The equilibrium investment strategy is of barrier-type and it is triggered by a couple of endogenously determined investment thresholds, one per state of the economy. We provide a quasi-closed form expression of the stationary density of the state and we show that our model can produce Pareto distribution of rms' size. This is a feature that is consistent both with observations at the aggregate level of industries and at the level of a particular industry. We establish a relation between economic instability and market concentration and we show how macroeconomic instability can harm rms' protability more than productivity uctuations. Keywords : mean-eld stationary equilibrium; irreversible investment; regime-switching; market concentration; value of economic stability. OR/MS subject classication : Dynamic programming/optimal control: Markov; Games/group decisions: Stochastic; Inventory/production: Stochastic models. JEL subject classication : C61, C62, C73, D25, D41, E32, L11, L22. MSC2020 subject classication : 49N80, 49L20, 91A15, 91A16. 1. Introduction We investigate the long-run market structure of rms competing à la Cournot in a context where they face both idiosyncratic uctuations and macroeconomic cycles. In particular, we are interested in the eects of macroeconomic instability on the stationary state of the market structure, described by the density of rms' size, the market concentration, and the protability of rms. To this purpose, we consider a mean-eld model of rms competing à la Cournot on a commodity market. Investment is irreversible and production capacity depreciates at a constant rate. Two types of shocks aect rms' prot and cost. First, production is subject to Gaussian shocks, representing random variations of productivity. Second, non-anticipated macroeconomic events can drive the whole market into instability (large uctuations of productivity) or stability (small uctuations of productivity). Such events are driven by a two-state continuous-time Markov chain. When a regime-change occurs, the values of the average level and elasticity of prices, as well as the volatility of the Gaussian shocks aecting production, can change. Firms wish to maximize expected discounted revenues of production, net of the investment and operational costs. One key aspect of our irreversible investment model is the pricing rule used by the representative rm to assess the appropriate level of investment. The commodity price is given in terms of a decreasing power function of the industry-aggregate production. However, we assume that the decision-maker uses the long-term stationary price of the commodity in order to estimate the protability of her investment. Because there is a one-to-one Date : April 30, 2023. 1 2 AÏD, BASEI, AND FERRARI correspondence between production capacity in the market and the price, the assumption made by the decision-maker is equivalent to making an estimation of the appropriate level of capacity that can be sustained in the market in the long-run. Although such a criterion does not corresponds to the future realised cash-ows that the rm can expect to make, it corresponds to a decision-making process of most of the rms involved in commodity markets. As a matter of fact, since making long-term forecasts of commodity prices is a highly risky exercise, rms reduce the complexity of the potential futures by designing long-run scenarios of prices. By considering a stationary mean-eld equilibrium, we assume that rms found it easier to coordinate or to agree on the level of capacity that can be sustained in the market in the long-run, rather than on the whole path of investment decisions. The present model clearly takes the counter-step of stochastic dynamic models in high dimension, aiming at capturing most of the risk factors of an industry, as well as the dierences in technologies (see Aïd et al. (2014) and the references therein for an overview of this modeling framework applied to electricity generation). Mathematical results. The considered stationary irreversible investment problem is modeled through a mean-eld model with nondecreasing singular stochastic controls (see, e.g., Bertola (1998) or Chapter 11 in Dixit and Pindyck (1994) for early contributions on irreversible investment problems with singular controls). The monotonicity requirement on the control processes well describes the irreversibility constraint of the investment policies and also allows to take into account lump-sum or singularly-continuous actions. The singular control aects linearly Markov-modulated geometric Brownian dynamics providing the evolution of the representative company's production capacity, and each unit of investment into production gives rise to proportional costs. At equilibrium, the company maximizes total expected discounted net revenues from production and sells the produced good at a regime-dependent price which is given in terms of the long-run industry-aggregate production. We are able to show existence, uniqueness and characterization of the equilibrium. This is achieved via a constructive three-step approach . Firstly, for a given and xed vector-valued parameter representing the regime-dependent long-run industry-aggregate production, we solve the singular stochastic control problem with regime-switching faced by the representative company. Solving such a dynamic optimization problem through a guess- and-verify approach (i.e., considering suitable parametric candidate solutions to the corresponding dynamic-programming equation and selecting the optimal parameters by imposing appropriate regularity conditions, i.e. the so-called smooth-t and smooth-pasting conditions) is possible, but challenging in the present context (among many others, see Sotomayor and Cadenillas (2011), Cadenillas et al. (2012), Guo et al. (2005) for Markov-modulated control problems addressed via the guess-and- verify approach). As a matter of fact, the underlying Markov chain makes the dynamic programming equation result into a system of interconnected constrained ODEs, with the eect that it becomes hard to show existence and uniqueness of the solution to the highly nonlinear (and unhandy) smooth-t and smooth-pasting equations. We therefore adopt a dierent approach, already employed in Ferrari and Rodosthenous (2020) (and inspired by the early contributions in Karatzas and Shreve (1984) and Baldursson and Karatzas (1997)): We introduce an optimal stopping problem with regime switching; via direct probabilistic and analytic methods, we prove existence of thresholds triggering its optimal stopping rule, as well as regularity of its value function; nally, we verify that a suitable integral of the stopping problem's value function identies with the value function of the considered singular stochastic control problem. As a by-product, we also obtain the form of the optimal investment rule. This prescribes to exert the minimal amount of eort needed to prevent that the (optimally controlled) production capacity falls below an endogenous trigger, depending on the current regime and, clearly, on the xed stationary industry-aggregate production. As a second step, still for a given and xed vector-valued parameter representing the regimedependent long-run industry-aggregate production, we determine the joint stationary distribution of the optimally controlled production process and of the underlying Markov chain. This is obtained MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 3 by solving the corresponding stationary Fokker-Planck equation which, in the present setting, corresponds to a system of interconnected ODEs subject to suitable boundary conditions (see also D'Auria and Kella (2012)). It is worth emphasizing here, that we do obtain a semi-explicit formula for such a stationary distribution, and not only its existence and uniqueness. Finally, we impose the consistency condition, that is, we impose that the vector-valued parameter Q xed in the previous two steps indeed identies with the regime-dependent long-run industryaggregate production. This naturally leads to a xed point problem, in that the stationary distribution, and therefore its average, depend on Q . We address the question of existence of a solution to the xed point problem via the Brower's xed point theorem, while uniqueness follows from a contradiction argument, inspired by Weintraub (2022), which exploits a suitable monotonicity property of the investment triggers with respect to Q . It is worth noticing that such a monotonicity can be easily shown via the relation to optimal stopping and it is not implied by the well-known Lasry-Lions monotonicity condition (see, e.g., p. 169 of volume I in Carmona and Delarue (2018)), as our requirements on the instantaneous prot and inverse demand functions make the Lasry-Lions condition not fullled in general (see also Remark 1 in Cao et al. (2022)). Our constructive approach to the existence and uniqueness has the important by-product that it also yields a complete characterization of the equilibrium itself. In particular, the equilibrium regimedependent investment-triggers and prices are completely determined through a system of nonlinear algebraic equations. Those can be then solved numerically in order to understand the economic insights of our model. Economic results. In the course of the construction of the mean-eld equilibrium, a rst important result concerns the semi-explicit determination of the stationary distribution of the rms' sizes, which follows a Pareto law, PX∞≥x∼x−|θ2| for some tail parameter |θ2| (here, and in the following, with a slight abuse of notation, X∞ is a random variable distributed according to the stationary distribution of the equilibrium state-process). It is a well-documented stylized fact in Industrial Economics (see Axtell (2001)) that at the aggregate level (i.e. mixing all types of rms in the same sample), the tail parameter is close to one. In that case, the distribution becomes a Zipf's law (see Gabaix (1999)). According to the model of endogenous rms' growth based on innovation developed by Luttmer (2007), a potential explanation for this value is the small imitation cost across sectors and rms. In our model, the tail parameter θ2 depends only on the volatilities of the states, the depreciation rate of the capital, and on the Markov chain's intensities of jumps. When intensities of switches are small ( p1=p2≈0 ), we recover the power law coecient as in Luttmer (2007)(see p. 1125 therein). Besides, we nd that in sectors where capital slowly erodes, the power law turns closer to a Zipf's law. However, in contrast, our model can also induce large deviations from one, if, for instance, the capital erodes quickly (see Section 3.2). As a matter of fact, at the sectoral level, it is possible to exhibit power law coecients larger than one. In Rossi-Hansberg and Wright (2007) it is showed that rms' size tail distribution depends on the capital intensity usage, both physical and human capital. Recent empirical results at dierent industries level exhibit large negative exponent, like in Halvarsson (2014)(Figure 1), where a coecient around −4 can be found in some industries (see also Bee et al. (2017)). Second, we investigate the market concentration in the stationary state. Indeed, in a general setting of stationary mean-eld models, Adlakha et al. (2015) nd that the light-tail feature of the stationary distribution of players' size is a sucient condition for the existence of a stationary mean- eld equilibrium. In our model, we have seen that equilibrium rms' size exhibit fat-tails, thus showing that the sucient condition of Adlakha et al. (2015) is not necessary. Hence, in order to measure the extent of market concentration in a setting with an continuum of rms, we introduce two indices. The rst one is a version of the Herndahl-Hirschman index (HHI), when the number of rms goes to innity. The HHI index is used in market concentration analysis by most regulators and it is dened as Hn:= Pn i=1 s2 i , where n is the number of rms serving the market and si is the market share of rm i . Fully fragmented and highly concentrated markets both exhibit an average market 4 AÏD, BASEI, AND FERRARI share going to zero as n goes to innity. However, in the rst case, the variance of market shares is constantly equal to zero, while the ratio between variance and expectation in the latter case admits a nite limit (see Section 3.3). Those remarks suggest using as an index of market concentration the ratio between the variance of the rms' size and the square of its expectation at the stationary equilibrium. The second index we choose is a Gini index, as already suggested in Hopenhayn (1992). For a given quantile q∈(0,1) , dene x(q) as the lowest x such that F(x) := P(X∞≤x) = q . Then we dene the Gini curve by ¯ Q(q) = E[X∞|X∞≤x(q)]/Q?∈(0,1) , where Q? is the equilibrium average production across the regimes. Finally, the Gini index of market concentration is dened as H:= Z1 0q−¯ Q(q)dq. The H-index measures deviations from the uniform distribution of market shares, as measured by the capacity held by rms at each level of quantiles. A fully fragmented market would yield a zero H-index, whereas a fully concentrated market served by a single monopolistic rm would induce an H-index of 1/2. We inquiry the eect of economic instability as measured by the increase of p1 on market concentration. As a matter of fact, 1/p1 is the average time spent by the economy in the regime with larger volatility of production. We nd that, both indicators, HHI and Gini H-index, show consistent results: a longer period of unstable economy tends to increase market concentration. Third, we analyze the value of stability (see Section 3.4). This point relates to the result of Lucas (1977) on the irrelevance of social hedging against the cost of volatility growth. Using a simple model of intertemporal maximization of utility of a risk-averse representative agent, Lucas nds that excessively high risk-aversion would be necessary to justify the economic interest to hedge society against macroeconomic uctuations. This result was reassessed in the macroeconomic literature, in particular in Epaulard and Pommeret (2003), where the authors reach the same conclusion using more recent growth data and an endogenous growth model. Our model is only a partial equilibrium model. Nevertheless, it allows to investigate at a sectoral level the relative eects of Gaussian uctuations of productivity compared to global macroeconomic shocks. To do so, using our quasi-analytical solution of the stationary state density, we compute the value V? of the rms' expected prot at the stationary equilibrium. Consider the vector νi:= (σi, pi, φi) of the volatility of production shocks σi , the intensity of switch pi , and the level of price φi . We evaluate the elasticities of V? w.r.t. the State 1 volatility σ1 , intensity of switch p1 , and the average level of price φ1 at a point where ν1=ν2 . That is, we assess the percentage eect of a slight increase in quality of State 1, compared to State 2 on the protability of the representative rm. Using standard value parameters for depreciation and discount rate, we nd that increasing the volatility σ1 by 1% decreases the stationary value of the rm by 0.08%, but reducing the price level φ1 by 1% cuts the value V? by nearly the same amount. This result provides a quantication of the intuition that a small reduction on the average selling price is a larger disaster at sectoral level than a small increase of productivity shocks volatility. Besides, we observe a quasi-constant and close to 1 elasticity of V? w.r.t. the level of price, as well as a lower but sharply increasing elasticity w.r.t. the volatility. It means that the marginal cost of volatility is increasing while the marginal gain from stability is decreasing. Related literature. Our paper belongs to the literature on the dynamics of investment of rms, in particular when investment is irreversible and represented as a singular control process. This vast literature includes the early Baldursson and Karatzas (1997) and Bertola (1998), and the more recent Aïd et al. (2015), De Angelis et al. (2017), Ferrari (2015), and Riedel and Su (2011), and the references therein. A close related paper is Grenadier (2002), where a singular control equilibrium problem with homogeneous rms competing à la Cournot similar to ours can be found. In his setting, Grenadier provides the N -rm equilibrium and gives explicit solution for the investment threshold for dierent classical dynamics of the demand shocks. In Back and Paulsen (2009) and Steg (2012), N -player capital accumulation games with open loop strategies are considered in general Markovian and non-Markovian settings, respectively. On the other hand, Kwon (2022) proposes a two-player MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 5 singular stochastic control game to model a public good irreversible contribution game and analyze the gradualism arising from the free rider eect (see also Ferrari et al. (2017)). With reference to the literature on mean-eld games and competitive market equilibria with a continuum of agents, our paper is placed amongst those works that study mean-eld equilibria for games with singular controls. Amongst those, Miao (2008) presents an analytically tractable competitive equilibrium model and study the eect of frictions, such as irreversibility and xed costs, on the longrun equilibrium; Bertola and Caballero (1994) propose and solve a model of sequential irreversible investment and study theoretically and empirically the aggregate implications of microeconomic irreversibility and idiosyncratic uncertainty; Cao and Guo (2022) solve a stationary discounted mean-eld game with two-sided singular controls, and analyze its relation to the associated N -player game; Cao et al. (2022) address a general class of stationary one-dimensional mean-eld games with discounted and ergodic criteria and study the relation between the resulting equilibria; in Campi et al. (2022) and Guo and Xu (2019) mean-eld and N -player stochastic games for nite-fuel follower problems are studied, and the structure of equilibria is obtained. Finally, Horst and Fu (2017) provide a careful technical analysis of the question of existence for general mean eld games involving singular controls. Our model focuses on the determination and characterization of a stationary equilibrium. In this regard, our work relates more generally to those treating stationary mean-eld games and stationary oblivious equilibria for innite models (cf. Adlakha et al. (2015); Bardi (2016); Hopenhayn (1992); Weintraub et al. (2008,2011), among others), where it is assumed that the representative player makes actions only on the basis of her own state and the long-run average state of the mass. This formalizes the following idea: In a symmetric game with a large number of players, whose state and performance criterion only depend on the distribution of opponents' state (i.e. an anonymous game, cf. Jovanovic and Rosenthal (1988)), uctuations of players' states are expected to average out, the behavior of the other agents is lost in the crowd, and the population's state remains roughly constant over time. Structure of the paper. The paper is organized as follows. Section 2provides a detailed description of the model, its assumptions and gives the main result of existence and uniqueness of the equilibrium together with the closed-form expression of the equilibrium stationary distribution of the state-process. Section 3builds on the former section to provide rst illustrations of the solution (Section 3.1), and then results on the density of rms (Section 3.2), on the market concentration (section 3.3) and on the protability of rms (section 3.4). Section 4provides the proof of the main result. Finally, Appendix Acollects some technical proofs. 2. The Model and the Main Result There is a continuum of rms of unitary mass indexed by their production capacity. Firms behave competitively, taking prices of output and input as given. Firms are ex ante identical in that their technology or productivity shocks are drawn from the same distribution. They dier ex post in the realization of idiosyncratic shocks. This is modeled as a one-dimensional Brownian motion B= (Bt)t≥0 on a given complete probability space (Ω,F,P) . We denote by E the expectation under P . On the same probability space, it is also dened a two-state irreducible continuous-time Markov chain ε= (εt)t≥0 , with irreducible generator P= (Pij)i,j=1,2 and stationary distribution π : (2.1) P:= −p1p1 p2−p2, π = (π1, π2) := p2 p1+p2 ,p1 p1+p2, with p1, p2∈(0,1) . In particular, the time spent in state i before switching to state j6=i is an exponential random variable with parameter pi . We assume that B and ε are independent and we denote by F:= (Ft)t≥0 the ltration generated by (Bt, εt)t≥0 , as usual augmented by the P -null sets of F0 . While the Brownian motion B drives the stochastic component of the production and is responsible, e.g., of productivity shocks, the two-state Markov chain ε models the regime of the economy. 6 AÏD, BASEI, AND FERRARI A representative company's production capacity evolves as (2.2) dXI t=−δXI tdt +σεtXI tdBt+XI t◦dIt, t ≥0, X0−=x > 0, where δ, σ1, σ2>0 are given positive constants and I= (It)t≥0∈ M , where M:= {I: Ω ×[0,∞)→[0,∞) , F -adapted, with t7→ It non-decreasing, càdlàg and I0−= 0 a.s. }. The rst term on the right-hand side of (2.2) corresponds to depreciation, due to the ageing of the means of production; the second term models production uncertainty, with the amplitude of the Brownian shocks depending on the current regime of the economy; the third term is due to the company's irreversible investment into production. As a matter of fact, It represents the cumulative investment (per unit of production) performed over the time period [0, t] , so that dIt represents, informally, the amount of investment, per unit of production capacity, made in the innitesimal amount of time dt . More precisely, given that any I∈ M can be decomposed as It=Ic t+Ij t , where Ij t:= Ps≤t,∆Is6=0 ∆Is , with ∆Is:= Is−Is− , is the discontinuous part of I and Ic t:= It−Ij t is its continuous part, we follow Zhu (1992), Al Motairi and Zervos (2017) and Guo and Zervos (2015), among others, and dene (2.3) Z[0,·] XI t◦dIt:= Z· 0 XI tdIc t+X t≤· XI t−Z∆It 0 eudu =Z· 0 XI tdIc t+X t≤· XI t−e∆It−1. In order to justify (2.3), assume that a small intervention h implies a proportional jump, i.e. Xt= (1 + h)Xt−∼ehXt− . Thinking of any intervention ∆It as the combination of N small interventions of size h= ∆It/N , this in turn leads to Xt= (eh)NXt−=e∆ItXt− , hence ∆Xt= (e∆It−1)Xt− . Thanks to (2.3), an application of Itô's formula implies that (2.2) admits the following solution: (2.4) XI t=xexp −δt +1 2Zt 0 σ2 εsds+Zt 0 σεsdBs+It. Let ηi be the unitary market price of the company's production (goods, commodities, ...) when the economy is in regime i∈ {1,2} , so that, assuming that production happens at full capacity and that demand and oer are in equilibrium, the company's revenue from the sale of its production at time t is then ηεtXI t . Furthermore, we assume that production gives rise to running costs that are quadratic in the production capacity, while investment cost is proportional to the invested amount, with marginal cost κ > 0 . Hence, given (x, i)∈R+× {1,2} be a given initial state, for xed Q∈R2 + and I∈ A , with (2.5) A:= nI∈ M : lim T↑∞ E(x,i)e−ρT |XI T|2= 0 and E(x,i)Z∞ 0 e−ρt(XI t)2dt +XI t◦dIt<∞o, the company faces the following net prot functional: (2.6) J(x,i)(I, Q) := E(x,i)Z∞ 0 e−ρtηεtXI tdt −c(XI t)2dt −κXI t◦dIt. Above and in the sequel, ρ, c > 0 are given constants and E(x,i) denotes the expectation conditioned on (XI 0−, ε0−)=(x, i) . The next technical condition requires that the representative agent is suciently impatient, and it will be relevant when proving the admissibility of a candidate equilibrium irreversible investment. Assumption 2.1. ρ > 2 max{σ2 1, σ2 2}. Notice that, under Assumption 2.1, one has ρ+2δ > max{σ2 1, σ2 2} , which suces in order to ensure that the control I≡0 belongs to A , and therefore A 6=∅ . MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 7 The interaction of the representative company with the industry comes through the price at which the produced good is sold. In particular, we assume that, for any regime i∈ {1,2} , prices are given through the inverse-demand relation ηi=ϕi+ζiQ−α i, (2.7) where ϕ1, ϕ2, ζ1, ζ2>0 and 0< α < 1 are given constants such that min{ϕ1, ϕ2}> ρ +δ 1 and Qi gives the stationary aggregate production of the industry in regime i∈ {1,2} . This is claried through the following Denition of equilibrium. Denition 2.2. The pair (I?, Q?)∈ A × R2 + is a stationary mean-eld equilibrium (MFE) for the model with data (x, i)∈R+× {1,2} if: (i) I? maximizes J(x,i)(·, Q?) ; that is, J(x,i)(I?, Q?)≥J(x,i)(I, Q?), I ∈ A; (ii) the pair (XI? t, εt)t≥0 , formed by the optimally controlled production capacity and the Markov chain, admits a stationary distribution (p∞(dx, i))i=1,2 and, letting (XI? ∞, ε∞)∼p∞ , we have Q? i=1 πiZ∞ 0 x p∞(dx, i), i = 1,2. Remark 2.3. Recalling that the mass of the continuum of companies has been normalized to one, 1 πip∞(dx, i) in Denition 2.2 represents the equilibrium number (i.e. the equilibrium percentage) of companies that in the long-run have production capacity between x and x+dx , when the regime of the economy is i∈ {1,2} . In particular, this allows to equivalently write (2.8) Q? i=EXI? ∞ε∞=i, i ∈ {1,2}, where the random variable (XI? ∞, ε∞)∼p∞ and ε∞∼π (cf. (2.1) ). Under technical integrability requirements, we can prove that a unique mean-eld equilibrium indeed exists. The following statement is presented in an informal way and it is just meant to provide the necessary information on the equilibrium structure needed for the numerical analysis developed in the next Section 3. The constructive proof of the existence and uniqueness claim will be then distilled in Section 4. Theorem 2.4. [Equilibrium existence, uniqueness and structure] Let Assumption 2.1 hold and, for i∈ {1,2} , dene φi(θ) := 1 2σ2 iθ2+δ+1 2σ2 iθ−pi and denote by θ2 the largest negative root of the equation φ1(θ)φ2(θ)−p1p2= 0 . If θ2<−1 , then there exists a unique stationary mean-eld equilibrium in the sense of Denition 2.2. In particular: (i) The equilibrium investment strategy I? is given by I? t= 0 ∨sup 0≤s≤tln(aεs/x) + Zs 0 (δ+1 2σ2 εu)du −Zs 0 σεudBu, t ≥0, I? 0−= 0. It prescribes to keep the equilibrium production capacity above a regime-dependent barrier at all the times via an upwards reection: XI? t≥a? εt . In particular, the investment should be the minimal one that prevents the production leaves the region {(x, i)∈R+×{1,2}:x≥a? i} . The barriers a? i , i∈ {1,2} , are endogenously determined and uniquely solve a system of nonlinear algebraic equations (cf. (4.23) below). (ii) The stationary distribution of (XI? t, εt)t≥0 admits a density with respect to the Lebesgue measure, it is explicitly computable (see Corollary 4.7 below) and P(XI? ∞≥x)∼xθ2 . 1 This means that the price of the good is strictly larger than the price arising in a perfectly competitive market, i.e. ρ+δ . In particular, such a condition on the exogenous parameters is sucient to ensure a trade-o between costs of production and investment and revenues. 14 AÏD, BASEI, AND FERRARI Here, the innitesimal generator L is dened as (4.6) Lw(x, i) := 1 2σ2 ix2w00(x, i)−δxw0(x, i) + 2 X j=1 Pijw(x, j), w(·, i)∈C2(R+), i ∈ {1,2}. In (4.6), P denotes the generator matrix of the Markov chain ε , see (2.1), and dierentiation is always meant with respect to x . On the other hand, investing h > 0 at time t= 0 and then following an optimal control rule (if one does exists) gives V(x, i)≥Vx+x(eh−1), i−κx(eh−1) ∼V(x+hx, i)−κhx, and hence V(x+hx, i)−V(x, i) hx ≤κ, which, letting h→0 , suggests that (4.7) V0(x, i)≤κ, (x, i)∈R+× {1,2}. Since one of the two possibilities (intervening or not intervening) is optimal, one of the two inequalities (4.5) and (4.7) is indeed an equality. Overall, we get the following candidate equation for V : (4.8) max n(L − ρ)w(x, i) + xηi−cx2, w0(x, i)−κo= 0,(x, i)∈R+× {1,2}. This is a system of ordinary dierential equations (ODEs), due to the transition amongst the regimes, with gradient constraints. Because of the structure of the problem, we expect that the representative company does not intervene until its production falls below a certain critical level, depending on the state of the economy. In other words, we expect the company's no-action region to be in the form (4.9) NA := (x, i)∈R2 +× {1,2}:w0(x, i)< κ=(x, i)∈R+× {1,2}:x>ai, for some constants ai , i∈ {1,2} to be determined. Notice that, under the additional assumption (4.9), equation (4.8) is in fact equivalent to the free-boundary problem (4.10)          (L − ρ)w(x, i) + ηix−cx2≤0, x < ai, (L − ρ)w(x, i) + ηix−cx2= 0, x ≥ai, w0(x, i)−κ= 0, x ≤ai, w0(x, i)−κ < 0, x > ai. Based on (4.10), the following verication theorem for problem (4.4) holds. Proposition 4.1. Let w:R+× {1,2} → R such that: (i) for i∈ {1,2} , w(·, i)∈C2(R+) and there exists K > 0 such that |w(x, i)| ≤ K(1 + |x|2) for any x∈R+ ; (ii) there exists (a1, a2)∈R2 + such that (4.9) holds; (iii) w is a solution to the free-boundary problem (4.10) . Then, the value function V of the singular control problem (4.4) identies with w , V≡w , and the optimal control is given by (4.11) I? t= 0 ∨sup 0≤s≤tln(aεs/x) + Zs 0 (δ+1 2σ2 εu)du −Zs 0 σεudBu, t ≥0, I? 0−= 0. Proof. Postponed to Appendix A.  MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 15 Notice that the optimal control I? in (4.11) is such that (XI?, I?, ε) solves a Skorokhod reection problem at the regime-dependent boundary aε (cf. Budhiraja and Liu (2012)). In particular, P -a.s. for all t≥0 : (4.12) XI? t≥aεt, I? t=Z[0,t] 1{XI? s−≤aεs}dI? s,Z∆I? t 0 1(XI? t−+z,εt)∈N A}dz = 0. That is, I? keeps (XI?, ε) for all times in the closure of the no-action region {(x, i)∈R+× {1,2}: V0(x, i)< κ} , and it acts only as much as it is necessary to prevent that the state-process leaves such a portion of the state-space. Solving problem (4.10) by a guess-and-verify approach (i.e., considering suitable parametric candidate solutions to (4.8) and selecting the optimal parameters by imposing appropriate regularity conditions, the so-called smooth-t and smooth-pasting conditions) is possible but challenging in the present context. As a matter of fact, the underlying Markov chain makes the system of constrained ODEs in (4.8) interconnected, with the result that it becomes very dicult to show existence and uniqueness of the solution to the highly nonlinear (and unhandy) smooth-t and smooth-pasting equations. We therefore adopt a dierent approach here, already employed in Ferrari and Rodosthenous (2020): We introduce an optimal stopping problem with regime switching; We prove existence of thresholds triggering its optimal stopping rule and regularity of its value function; nally, by means of Proposition 4.1, we verify that a suitable integral of the stopping problem's value function identies with the value function of the singular control problem (4.4). 4.1.2. A related optimal stopping problem and its relation to the singular control problem. Let us start by dening (4.13) v(x, i) := inf τ≥0 ¯ E(x,i)Zτ 0 e−(ρ+δ)t(ηεt−2c¯ Xt)dt +κe−(ρ+δ)τ,(x, i)∈R+× {1,2}, where τ has to be chosen in the class of F -stopping times and ¯ X satises (4.14) d¯ Xt=−(δ−σ2 εt)¯ Xtdt +σεt¯ XtdBt,¯ X0=x > 0. In (4.13) above, ¯ E(x,i) denotes the expectation under ¯ P(x,i)[·] := P[· | ¯ X0=x, ε0=i] . Furthermore, for future frequent use, we note that the following second-order dierential operator is the innitesimal generator associated to (¯ X, ε) : (4.15) ¯ Lw(x, i) = 1 2σ2 ix2w00(x, i)−(δ−σ2 i)xw0(x, i)+ 2 X j=1 Pijw(x, j), w(·, i)∈C2(R+), i ∈ {1,2}, with P as in (2.1). As it is customary in optimal stopping theory (see Peskir and Shiryaev (2006)), we introduce the continuation and stopping regions of Problem (4.13) (4.16) C:= {(x, i)∈R+× {1,2}:v(x, i)< κ},S:= {(x, i)∈R+× {1,2}:v(x, i)≥κ}, as well as their i -sections: Ci:= {x∈R+: (x, i)∈ C},Si:= {x∈R+: (x, i)∈ S}. Then, the next result holds true. Proposition 4.2. The value function v of the optimal stopping problem (4.13) satises the following properties: (i) there exists (a1, a2)∈R2 + such that Ci={x∈R+:x<ai},Si={x∈R+:x≥ai}. 16 AÏD, BASEI, AND FERRARI (ii) v(·, i)∈C1(R+) , v(·, i)∈C2(Ci) , and v00(·, i)∈L∞ loc(R+) , for i∈ {1,2} , and satises (4.17)          (¯ L − (ρ+δ))v(x, i) + ηi−2cx ≥0, x < ai, (¯ L − (ρ+δ))v(x, i) + ηi−2cx = 0, x > ai, κ−v(x, i)≥0, x < ai, κ−v(x, i) = 0, x ≥ai. (iii) τ?(x, i) := inf{t≥0 : ¯ Xt≤aεt},¯ P(x,i) -a.s., is optimal for (4.13) . Proof. Postponed to Appendix A.  The next proposition nally links the optimal stopping problem (4.13) to the singular control problem (4.4). Proposition 4.3. Let v(x, i) and ai be as in Proposition 4.2, and k1 and k2 be the unique solutions to the linear system (4.18)        −(ρ+p1)k1+p1k2+η1−δa1κa1−ca2 1−p1Za2 a1 v(y, 2)dy = 0, p2k1−(ρ+p2)k2+η2−δa2κa2−ca2 2+p2Za2 a1 v(y, 1)dy = 0. Then, the value function V of the singular control problem (4.4) satises (4.19) V(x, i) = ki+Zx ai v(y, i)dy, (x, i)∈R+× {1,2}. Furthermore, the optimal control I? is given by (4.11) . Proof. Postponed to Appendix A.  4.1.3. Semi-closed expressions for v and equations for the free boundaries. Due to Proposition 4.3, v and ai , i= 1,2 , solve Problem (4.17). We then here focus on solving (4.17) and, without loss of generality, we assume (4.20) a1≤a2. The other case can be treated via completely analogous arguments and it is therefore omitted in the interest of brevity. We stress once more that solving (4.17) and imposing the regularity prescribed in Proposition 4.2-(ii) we do obtain the value function of the optimal stopping problem (and not candidate values), as well as equations that are necessarily satised by the free boundaries a1 and a2 . We solve Problem (4.17) by considering separately the three intervals (0, a1) , (a1, a2) , (a2,∞) . The case x∈(0, a1) is trivial: By (4.17) we have v(x, 1) = κ=v(x, 2). When x∈(a1, a2) , functions v(x, 1) and v(x, 2) satisfy ((¯ L − (ρ+δ))v(x, 1) + η1−2cx = 0, v(x, 2) = κ, that is, by the denition of L in (4.6), (1 2σ2 1x2v00(x, 1) −(δ−σ2 1)xv0(x, 1) −(ρ+δ+p1)v(x, 1) = −η1+ 2cx −p1κ, v(x, 2) = κ. The general solution to the rst equation is v(x, 1) = Ax a1γ+ 1+Bx a1γ− 1+bv(x, 1), MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 17 where A, B ∈R are free parameters (to be specied later) and where γ+ 1, γ− 1 are the solutions to 1 2σ2 1γ(γ−1) −(δ−σ2 1)γ−(ρ+δ+p1) = 0; that is, γ± 1=(δ−σ2 1 2)±q(δ−σ2 1 2)2+ 2σ2 1(ρ+δ+p1) σ2 1 (γ− 1<0< γ+ 1). As for bv(x, 1) , by looking for an ane particular solution, we nd bv(x, 1) = C1x+D1, where C1, D1 are given by (where Assumption 2.1 guarantees that C1 is nite) C1=−2c ρ+ 2δ+p1−σ2 1 , D1=η1+p1κ ρ+δ+p1 . Hence, in (a1, a2) we have (v(x, 1) = Ax a1γ+ 1+Bx a1γ− 1+C1x+D1, v(x, 2) = κ. Finally, in x∈(a2,∞) functions v(x, 1) and v(x, 2) satisfy ((¯ L − (ρ+δ))v(x, 1) + η1−2cx = 0, (¯ L − (ρ+δ))v(x, 2) + η2−2cx = 0, that is, by the denition of ¯ L in (4.15), (1 2σ2 1x2v00(x, 1) −(δ−σ2 1)xv0(x, 1) −(ρ+δ+p1)v(x, 1) + p1v(x, 2) = −η1+ 2cx, 1 2σ2 2x2v00(x, 2) −(δ−σ2 2)xv0(x, 2) −(ρ+δ+p2)v(x, 2) + p2v(x, 1) = −η2+ 2cx. The general solution is given by (v(x, 1) = P4 i=1 Mix a2λi+ ˜v(x, 1), v(x, 2) = P4 i=1 ¯ Mix a2λi+ ˜v(x, 2), where Mi∈R are free parameters, ¯ Mi=−G1(λi) p1 Mi=: −G1iMi, i ∈ {1,2,3,4}, with λi being the unique real roots to the equation (4.21) ¯ G(λ) := G1(λ)G2(λ)−p1p2= 0, where Gi(λ) = 1 2σ2 iλ(λ−1) −(δ−σ2 i)λ−(ρ+δ+pi), i ∈ {1,2}. To see that (4.21) admits four distinct real roots λ1< λ2<0< λ3< λ4 , it suces to notice that: (i) ¯ G(γ± 1) = −p1p2<0 , with γ− 1<0< γ+ 1 ; (ii) ¯ G(0) >0 ; (iii) ¯ G(+∞) = ¯ G(−∞) = +∞ . As for ˜v(x, i) , by looking again for ane solutions, one gets ˜v(x, i) = Lix+Ri, i ∈ {1,2}, where Li, Ri are solutions to the linear systems ρ+ 2δ+p1−σ2 1−p1 −p2ρ+ 2δ+p2−σ2 2L1 L2=−2c −2c,ρ+δ+p1−p1 −p2ρ+δ+p2R1 R2=η1 η2. 18 AÏD, BASEI, AND FERRARI Furthermore, to guarantee a linear growth for v(x, i) , we take M3=M4= 0 . Hence, in (a2,∞) we have    v(x, 1) = M1x a2λ1+M2x a2λ2+L1x+R1, v(x, 2) = −M1G11x a2λ1−M2G12x a2λ2+L2x+R2. To determine the value of the parameters A, B, M1, M2, a1, a2 , we impose that v(·, i)∈C1(R+) for i∈ {1,2} (cf. Proposition 4.2-(ii)):                    v(a1−,1) = v(a1+,1), v0(a1−,1) = v0(a1+,1), v(a2−,2) = v(a2+,2), v0(a2−,2) = v0(a2+,2), v(a2−,1) = v(a2+,1), v0(a2−,1) = v0(a2+,1), where, as usual, for a function f:R× {1,2} → R , f(xo±, i) represents the right/left limit at a given point xo . The latter system of conditions leads to (4.22)                            κ=A+B+C1a1+D1, 0 = Aγ+ 1+Bγ− 1+Ca1, κ=−M1G11 −M2G12 +L2a2+R2, j = 1,2 0 = −M1λ1G11 −M2λ2G12 +L2a2, Aa2 a1γ+ 1+Ba2 a1γ− 1+C1a2+D1=M1+M2+L1a2+R1, Aγ+ 1a2 a1γ+ 1+Bγ− 1a2 a1γ− 1+C1a2=M1λ1+M2λ2+L1a2. By considering the pairs (4.22)(i-ii) and (4.22)(iii-iv), one can express A, B and M1, M2 as functions of the unknown a1, a2 : A=(κ−D1)γ− 1 γ− 1−γ+ 1+C1(1 −γ− 1) γ− 1−γ+ 1a1=: c11 +c12a1, B=−(κ−D1)γ+ 1 γ− 1−γ+ 1+−C1(1 −γ+ 1) γ− 1−γ+ 1a1=: c21 +c22a1, M1=−(κ−R2)λ2 G11(λ2−λ1)+−L2(1 −λ2) G11(λ2−λ1)a2=: d11 +d12a2, M2=(κ−R2)λ1 G12(λ2−λ1)+L2(1 −λ1) G12(λ2−λ1)a2=: d21 +d22a2, Plugging into (4.22)(v-vi), we get a two-equation system in the unknown a1, a2 :            (a2/a1)γ+ 1(c11 +c12a1)+(a2/a1)γ− 1(c21 +c22a1) = (d11 +d21 +R1−D)+(d12 +d22 +L1−C)a2=: e11 +e12a2, (a2/a1)γ+ 1(c11 +c12a1)γ+ 1+ (a2/a1)γ− 1(c21 +c22a1)γ− 1 = (d11λ1+d21λ2)+(d12λ1+d22λ2+L1−C)a2=: e21 +e22a2. MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 19 Solving with respect to (a2/a1)γ+ 1(c11 +c12a1) and (a2/a1)γ− 1(c21 +c22a1) , we get      (a2/a1)γ+ 1(c11 +c12a1) = e21−γ− 1e11 γ+ 1−γ− 1 +e22−γ− 1e12 γ+ 1−γ− 1 a2=: f11 +f12a2, (a2/a1)γ− 1(c21 +c22a1) = e11γ+ 1−e21 γ+ 1−γ− 1 +e12γ+ 1−e22 γ+ 1−γ− 1 a2=: f21 +f22a2, and nally (4.23)    a−γ+ 1 1(c11 +c12a1) = a−γ+ 1 2(f11 +f12a2), a−γ− 1 1(c21 +c22a1) = a−γ− 1 2(f21 +f22a2). We resume the results in the following proposition. Proposition 4.4. The following results hold. (i) The optimal threshold a= (a1, a2)∈R2 + of the optimal stopping problem (4.13) is the unique non-negative solution to system (4.23) ; (ii) The value function v of the optimal stopping problem (4.13) is given by (4.24) v(x, 1) =        κ, x ≤a1, Ax a1γ+ 1+Bx a1γ− 1+C1x+D1, x ∈(a1, a2), M1x a2λ1+M2x a2λ2+L1x+R1, x ≥a2, v(x, 2) = (κ, x ≤a2, −M1G11x a2λ1−M2G12x a2λ2+L2x+R2, x > a2, with ai as in (i) and with γi, λi, A, B, C, D, Mi, Li, Ri, G1i dened above. Proof. The structure of v provided in (ii), as well as the fact that the free boundaries solve system (4.23) (cf. claim (i) of the proposition), follow by construction. Therefore, we just discuss the uniqueness claim. If there would be two distinct solutions to (4.23), then one could construct two distinct candidate value functions that, via verication, would identify to two distinct value functions of the optimal stopping problem. However, the value function is unique by denition.  By Proposition 4.3 (see in particular (4.19)), the expression of the value V of the singular control problem is then easily found by suitably integrating the value v of the optimal stopping problem. Thus, by (4.19) and recalling k1 and k2 as in Proposition 4.3, one immediately obtains the following result. 20 AÏD, BASEI, AND FERRARI Corollary 4.5. Suppose that 1 + γ− 16= 0 and 1 + λi6= 0 , for i= 1,2 . Then V(x, 1) =                                        k1+κ(x−a1), x ≤a1, k1+Aa1 1+γ+ 1hx a11+γ+ 1−1i+Ba1 1+γ− 1hx a11+γ− 1−1i+1 2C1(x2−a2 1) + D1(x−a1), x ∈(a1, a2), k1+Aa1 1+γ+ 1ha2 a11+γ+ 1−1i+Ba1 1+γ− 1ha2 a11+γ− 1−1i+1 2C1(a2 2−a2 1) + D1(a2−a1) +M1a2 1+λ1hx a21+λ1−1i+M2a2 1+λ2hx a21+λ2−1i +1 2L1(x2−a2 2) + R1(x−a2), x ≥a2, V(x, 2) =                k2+κ(x−a2), x ≤a2, k2−M1G11a2 1+λ1hx a21+λ1−1i−M2G12a2 1+λ2hx a21+λ2−1i +1 2L2(x2−a2 2) + R2(x−a2), x > a2, On the other hand, if 1 + ζ= 0 for ζ∈ {γ− 1, λ1, λ2} , then the terms of the form 1 1+ζ[(·)1+ζ−1] in the formulas above should be replaced by ln(·) . 4.2. Second step: Determining the stationary distribution. In Section 4.1 we computed, for Q= (Q1, Q2)∈R2 + given and xed, the optimal control I?(Q) . We now determine the stationary distribution (pQ ∞(dx, i))i=1,2 of the joint process (XI?(Q) t, εt)t≥0 . Once again, we x Q= (Q1, Q2)∈ R2 + and omit the dependence on Q to ease the notation burden. To simplify the computations, instead of working with XI? , we will work with its natural logarithm Zt:= ln(XI? t). Notice that by (2.4), for x > 0 , we have dZt=−δ+1 2σ2 εtdt +σεtdBt+dI? t, t ≥0, Z0−= ln(x), where I? is such that Zt≥bεt and that I? t=Rt 0 1 {Zs≤bεs}dI? t , with (4.25) bi:= ln(ai), i ∈ {1,2}. Notice that, under Assumption (4.20), we have b1< b2 . By (Budhiraja and Liu,2012, Theorem 2), the pair (Zt, εt)t≥0 is a positively recurrent process and thus admits a unique stationary distribution Π . By a slight abuse of notation we write Π(z, i) = P(Z∞≤z, ε∞=i), i ∈ {1,2}. Furthermore, by adapting (D'Auria and Kella,2012, Theorem 1) to our setting with only one regimedependent reecting boundary, and recalling Pij and πi as in (2.1), we have the following characterization: For i∈ {1,2} , Π is the unique solution with non-decreasing components to (4.26)      Π(z, i)=0, z < bi, 1 2σ2 iΠ00(z, i) + δ+1 2σ2 iΠ0(z, i) + P2 j=1 PijΠ(z, j) = 0, z ≥bi, Π(z, i) = πi, z →+∞ , MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 21 such that Π(·,1) ∈C0(R)∩C1(R\ {b1})∩C2(R\ {b1, b2}) and Π(·,2) ∈C0(R)∩C1(R\ {b2})∩ C2(R\ {b2}) . In order to determine an explicit expression for Π , we will rst build a parametric class of solutions to (4.26), then set the free parameters by imposing the regularity and asymptotic conditions, and nally check that the candidate function is indeed non-decreasing. We solve (4.26) by considering separately the three intervals (−∞, b1) , (b1, b2) , (b2,+∞) . The case z∈(−∞, b1) is immediate: Π(z, 1) = 0 = Π(z, 2). When z∈(b1, b2) , (4.26) implies that (1 2σ2 1Π00(z, 1) + δ+1 2σ2 1Π0(z, 1) −p1Π(z, 1) = 0, Π(z, 2) = 0. The rst equation is an homogeneous second-order linear ODE, whose solution is Π(z, 1) = A1eα+ 1(z−b1)+A2eα− 1(z−b1), where A1, A2∈R are free parameters and where α− 1, α+ 1 are the two solution to φ1(α) = 0 , with (4.27) φi(α) = 1 2σ2 iα2+δ+1 2σ2 iα−pi, i ∈ {1,2}; that is, (4.28) α± 1=−(δ+1 2σ2 1)±q(δ+1 2σ2 1)2+ 2σ2 1p1 σ2 1 , with α− 1<0< α+ 1. Finally, for z∈(b2,+∞) , (4.26) implies that      1 2σ2 1Π00(z, 1) + δ+1 2σ2 1Π0(z, 1) −p1Π(z, 1) + p1Π(z, 2) = 0,limz↑∞ Π(z, 1) = π1, 1 2σ2 2Π00(z, 2) + δ+1 2σ2 2Π0(z, 2) −p2Π(z, 2) + p2Π(z, 1) = 0,limz↑∞ Π(z, 2) = π2, whose general solution is given by (Π(z, 1) = P4 i=1 Bieθi(z−b2)+ Π part (z, 1), Π(z, 2) = P4 i=1 ¯ Bieθi(z−b2)+ Π part (z, 2), where Bi∈R are free parameters, Π part are particular solutions to the system of ODEs, θ1< θ2< θ3= 0 < θ4 are the four roots of ¯ φ(θ) := φ1(θ)φ2(θ)−p1p2= 0, (4.29) and (cf. (4.27)) (4.30) ¯ Bi=−φ1(θi) p2 Bi=: −φ1iBi, i ∈ {1,2,3,4}. Notice that the existence of the θi s above is guaranteed by the following properties: (i) ¯ φ(αi) = −p1p2<0 , with α2<0< α1 ; (ii) ¯ϕ(0) = 0 and ¯ φ0(0) <0 ; (iii) ¯ φ(+∞) = ¯ φ(−∞)=+∞ . As for Π part , by looking for constant solutions, we notice that Π part (z, i) = πi,(z, i)∈R× {1,2} satises both the equation and the limit condition. Furthermore, in order to ensure that limz↑∞ Π(z, i) = πi is satised, we set B3=B4= 0 , so that we are left with (Π(z, 1) = B1eθ1(z−b2)+B2eθ2(z−b2)+π1, Π(z, 2) = −B1φ11eθ1(z−b2)−B2φ12eθ2(z−b2)+π2. 22 AÏD, BASEI, AND FERRARI To determine A1, A2, B1, B2 , we nally impose that Π(·,1) ∈C0(R)∩C1(R\ {b1})∩C2(R\ {b1, b2}) and Π(·,2) ∈C0(R)∩C1(R\ {b2})∩C2(R\ {b2}) ; that is,          Π(b1−,1) = Π(b1+,1), Π(b2−,1) = Π(b2+,1), Π0(b2−,1) = Π0(b2+,1), Π(b2−,2) = Π(b2+,2), which is, in turn, equivalent to the linear system (4.31)      1 1 0 0 eα+ 1(b2−b1)eα− 1(b2−b1)−1−1 α+ 1eα+ 1(b2−b1)α− 1eα− 1(b2−b1)−θ1−θ2 0 0 φ11 φ12         A1 A2 B1 B2    =    0 π1 0 π2    . It is easy to check that System (4.31) admits a unique solution. The next proposition shows that Π constructed above does indeed identify with the stationary distribution of the process (XI? t, εt)t≥0 . Proposition 4.6. Recall pi, πi as in (2.1) , bi as in (4.25) , α± 1 as in (4.28) , θi as the solutions to (4.29) , Ai, Bi uniquely solving (4.31) , and φ1i as in (4.30) (cf. also (4.27) ). The stationary cumulative distribution function of (Zt, εt)t≥0 , is given by (4.32) Π(z, 1) =      0, z ≤b1, A1eα+ 1(z−b1)+A2eα− 1(z−b1), z ∈(b1, b2), B1eθ1(z−b2)+B2eθ2(z−b2)+π1, z ≥b2, Π(z, 2) = (0, z ≤b2, −B1φ11eθ1(z−b2)−B2φ12eθ2(z−b2)+π2, z > b2. Consequently, the stationary distribution of the joint process (XI? t, εt)t≥0 is given by (4.33) b Π(x, i) := Π(ln(x), i) = Zx −∞ Π0(ln(y), i) ydy =: Zx 0 p∞(dy, i),(x, i)∈R+× {1,2}. Proof. Postponed to Appendix A.  Explicit calculations on (4.32) and (4.33) yield the following. Corollary 4.7. Recall (4.32) and (4.33) . One has: (4.34) b Π(x, 1) =          0, x ≤a1, A1x a1α+ 1+A2x a1α− 1, x ∈(a1, a2), B1x a2θ1+B2x a2θ2+π1, x ≥a2, b Π(x, 2) =    0, x ≤a2, −B1φ11x a2θ1−B2φ12x a2θ2+π2, x > a2, Furthermore, if 1 + θ2<0 , Z∞ 0 xp∞(dx, 1) = A1α+ 1a1 1 + α+ 1ha2 a11+α+ 1−1i+A2α− 1a1 1 + α− 1ha2 a11+α− 1−1i−B1θ1a2 1 + θ1 −B2θ2a2 1 + θ2 (4.35) MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 23 and Z∞ 0 xp∞(dx, 2) = hB1θ1φ11 1 + θ1 +B2θ2φ12 1 + θ2ia2, (4.36) 4.3. Third step: Solution to the xed-point problem. In Section 4.2 we computed, for given Q= (Q1, Q2)∈R2 + , the stationary distribution (pQ ∞(dx, i))i=1,2 of the joint process (XI?(Q) t, εt)t≥0 . We now look for solutions Q?= (Q? 1, Q? 2)∈R2 + to the xed-point problem (4.37)          Q? 1=1 π1Z∞ 0 x pQ? ∞(dx, 1), Q? 2=1 π2Z∞ 0 x pQ? ∞(dx, 2). Theorem 4.1. Let Assumption 2.1 hold and assume 1 + θ2<0 . There exists a unique solution Q?= (Q? 1, Q? 2)∈R2 + to system (4.37) . As a result, (I?(Q?), Q?) is the unique stationary mean-eld equilibrium in the sense of Denition 2.2. Proof. We rst prove existence and then uniqueness. 1. Existence . Dene the map R:R2 +→R2 + as RQ= ((RQ)1,(RQ)2) := 1 π1Z∞ 0 x pQ ∞(dx, 1),1 π2Z∞ 0 x pQ ∞(dx, 2), for each Q= (Q1, Q2)∈R2 + . Then, we are looking for a xed point Q? for R ; that is, Q? such that RQ?=Q?, i.e., (Q? 1= (RQ?)1, Q? 2= (RQ?)2. We will prove the existence of such a Q? by means of the Brower's xed point theorem and the rest of this proof is organized in several steps. In the following, we will fully specify the dependence on Q= (Q1, Q2) of the involved quantities, whenever necessary. Step 1: Monotonicity and continuity of the free boundaries w.r.t. Q . Recalling (4.17), it is easy to see that, for any i= 1,2 , Q17→ vQ(x, i) and Q27→ vQ(x, i) are decreasing. Since ai(Q) = inf nx > 0 : vQ(x, i)< κo, we then have that Q17→ ai(Q) and Q27→ ai(Q) are decreasing as well for any i= 1,2 . Furthermore, recalling that the boundaries ai(Q) uniquely solve System (4.23)  which involves continuously dierentiable functions  the implicit function theorem yields continuity of the functions Q7→ ai(Q) , i∈ {1,2} ; that is, if Qn→Q , then a1(Qn)→a1(Q) and a2(Qn)→a2(Q) . Step 2: Continuity of Q7→ RQ . Given that pQ ∞ is absolutely continuous with respect to the Lebesgue measure, with density sQ ∞(x, i) := 1 x(ΠQ)0(ln(x), i) (cf. (4.33) and (4.32)), continuity of ai7→ sQ ∞(x, i) can be shown by direct check for any (x, i)∈R+× {1,2} . Thanks to Step 1, this in turn yields the continuity of Q7→ sQ ∞(x, i) for any (x, i)∈R+× {1,2} . By dominated convergence theorem, this then ensures that Q7→ RQ is therefore continuous. Step 3: Uniform bounds for RQ . If a xed point exists, then this should necessarily live in the image of Q7→ RQ . Here we determine uniform bounds for RQ . From the optimal stopping problem (4.13), an integration by parts gives vQ(x, i) = κ+ inf τ≥0 ¯ E(x,i)Zτ 0 e−(ρ+δ)sηQ εs−2c¯ Xs−(ρ+δ)ds, 30 AÏD, BASEI, AND FERRARI so that Π0(z, 2) ≥0 if and only if B1≥ −B2 φ1(θ2) φ1(θ1) θ2 θ1e(θ2−θ1)(z−b2). Since the parenthesis in the right-hand side is positive and since z−b2>0 , it suces to prove B1≥ −B2 φ1(θ2) φ1(θ1) θ2 θ1 , which is equivalent to e(α1−α2)(b2−b1)F(α1)≤F(α2), where we have set F(α) := αhφ1(θ1)φ1(θ2)(θ1−θ2) + p1θ1φ1(θ1)−θ2φ1(θ2)i+p1θ1θ2(φ1(θ2)−θ2φ1(θ1)). Notice now that it suces to prove that F0(α)<0 for each α∈R . Indeed, if that is the case, it follows that F(α1)≤F(α2) and that F(α1)≤F(0) <0 , so that e(α1−α2)(b2−b1)F(α1)≤F(α1)≤F(α2). Let us then verify that F is decreasing, which is equivalent to (A.20) θ1φ1(θ1)φ1(θ2) + p1< θ2φ1(θ2)φ1(θ1) + p1. However, (A.20) is always veried. Indeed, if φ1(θ2) + p1>0 , then (A.20) is trivially true. On the other hand, if φ1(θ2) + p1<0 , then (A.20) is equivalent to φ1(θ1) φ1(θ2)>θ1 θ2 φ1(θ1) + p1 φ1(θ2) + p1 . Considering the right-hand side, the rst factor is greater than 1, while the second factor is negative. Hence, θ1 θ2 φ1(θ1) + p1 φ1(θ2) + p1 <φ1(θ1) + p1 φ1(θ2) + p1 <φ1(θ1) φ1(θ2), where the last inequality immediately follows from (A.19).  References S. Adlakha, R. Johari, G.Y. Weintraub, Equilibria of dynamic games with many players: Existence, approximation, and market structure , Journal of Economic Theory, 156:269-316, 2015. R. Aïd, L. Campi, N. Langrené, H. Pham, A probabilistic numerical method for optimal multiple switching problems in high dimension , SIAM Journal of Financial Mathematics, 5:191-231, 2014. R. Aïd, S. Federico, H. Pham, B. Villeneuve. Explicit investment rules with time-to-build and uncertainty , Journal of Economic Dynamics and Control, 51:240-256, 2015. H. Al Motairi, M. Zervos, Irreversible capital accumulation with economic impact , Applied Mathematics and Optimization, 75:525-551, 2017. R. Axtell, Zipf distribution of U.S. rm sizes , Science 293:1818-20, 2001. K. Back, D. Paulsen, Open loop equilibria and perfect competition in option exercise games , Review of Financial Studies, 22:4531-4552, 2009. F.M. Baldursson, I. Karatzas, Irreversible investment and industry equilibrium , Finance and Stochastics 1:69-89, 1997. M. Bardi, Nonlinear elliptic systems and mean-eld games , Nonlinear Dierential Equations and Applications 23:44, 2016. M. Bee, M. Riccaboni, S. Schiavo, Where Gibrat meets Zipf: Scale and scope of French rms , Physica A: Statistical Mechanics and its Applications, 481:265-275, 2017. G. Bertola, R.J. Caballero, Irreversibility and aggregate investment , Review of Financial Studies, 61(2):223246, 1994. MEAN-FIELD EQUILIBRIUM WITH IRREVERSIBLE INVESTMENT AND REGIME SWITCHING 31 G. Bertola, Irreversible investment , Research in Economics, 52(1):337, 1998. A. Budhiraja, X. Liu, Stability of constrained Markov-modulated diusions , Mathematics of Operations Research, 37(4):626653, 2012. A. Cadenillas, P. Lackner, M. Pinedo, Optimal production management when demand depends on the business cycle , Operations Research 61(4):1046-1062, 2012. L. Campi, T. De Angelis, M. Ghio, G. Livieri, Mean eld games of nite-fuel capacity expansion with singular controls , Annals of Applied Probability, 32(5):3674-3717, 2022. H. Cao, X. Guo, MFGs for partially reversible investment , Stochastic Processes and their Applications, 150:995-1014, 2022. H. Cao, J. Dianetti, G. Ferrari, Stationary discounted and ergodic mean-eld games of singular controls , forthcoming on Mathematics of Operations Research, 2022. DOI:10.1287/moor.2022.1323 R. Carmona, F. Delarue, Probabilistic theory of mean eld games with applications, I-II , Springer, Nature, 2018. B. D'Auria, O. Kella, Markov modulation of a two-sided reected Brownian motion with application to uid queues , Stochastic Processes and Applications, 122(4):1566-1581, 2012. T. De Angelis, S. Federico, G. Ferrari, Optimal boundary surface for irreversible investment with stochastic costs , Mathematics of Operations Research, 42(4):1135-1161, 2017. G. de Wit, Firm size distributions: An overview of steady-state distributions resulting from rm dynamics models , International Journal of Industrial Organization 23:423-450, 2005. A.K. Dixit, R.S. Pindyck, Investment under uncertainty , Princeton University Press, 1994. J. Eisenberg, P. Krühner, On Ito's formula for semimartingales with jumps and non- C2 functions , Statistics and Probability Letters, 184:109369, 2022. A. Epaulard, A. Pommeret, Recursive utility, endogenous growth, and the welfare cost of volatility , Review of Economic Dynamics, 6:672-684, 2003. G. Ferrari, On an integral equation for the free-boundary of stochastic, irreversible investment problems , Annals of Applied Probability, 25(1):150-176, 2015. G. Ferrari, P. Schuhmann, S. Zhu, Optimal dividends under Markov-modulated bankruptcy level , Insurance: Mathematics & Economics, 106:146-172, 2022. G. Ferrari, F. Riedel, J.H. Steg, Continuous-time public good contribution under uncertainty: A stochastic control approach , Appled Mathematics and Optimization, 75(3):429-470, 2017. G. Ferrari, N. Rodosthenous, Optimal control of debt-to-GDP ratio in an N-state regime switching economy , SIAM Journal on Control and Optimization, 58(2):755-786, 2020. X. Gabaix, Zipf's law for cities: An explanation , Quarterly Journal of Economics, 94:739-767, 1999. S.R. Grenadier, Option exercise games: An application to the equilibrium investment strategies of rms , The Review of Economic Studies, 15(3):691-721, 2002. X. Guo, J. Miao, E. Morellec, Irreversible investment with regime shifts , Journal of Economic Theory, 122(1):37-59, 2005. X. Guo, M. Zervos, Optimal execution with multiplicative price impact , SIAM Journal on Financial Mathematics, 6(1):281-306, 2015. X. Guo, R. Xu, Stochastic games for fuel follower problem: N versus mean eld game , SIAM Journal on Control and Optimization 57(1):659692, 2019. D. Halvarsson, Industry dierences in the rm size distribution , Ratio Working Paper 214, 2014. H.A. Hopenhayn, Entry, exit, and rm dynamics in long run equilibrium , Econometrica, 60(5):1127- 1150, 1992. U. Horst, G. Fu, Mean eld games with singular controls , SIAM Journal on Control and Optimization 55(6):38333868, 2017. B. Jovanovic, R.W. Rosenthal, Anonymous sequential games ,Journal of Mathematical Economics 17:77-87, 1988. I. Karatzas, S.E. Shreve, Connections between optimal stopping and singuöar stochastic control I. Monotone follower problems , SIAM Journal on Control and Optimization, 22(6):856-877, 1984. 32 AÏD, BASEI, AND FERRARI H.D. Kwon, Game of variable contributions to the common good under uncertainty , Operations Research, 70(3):1359-1370, 2022. B. Light, G.Y. Weintraub, Mean eld equilibrium: Uniqueness, existence, and comparative statics , Operations Research, 70(1):585-605, 2022. R.E. Lucas Jr., Models of business cycles , Yrjö Jahnsson Lectures, Basil Blackwell, 1977. E.G.J. Luttmer, Selection, growth, and the size distribution of rms , The Quarterly Journal of Economics, 122(3):1103-1144, 2007. R. McDonald, D. Siegel, The value of waiting to invest , The Quarterly Journal of Economics, 101(4):707-727, 1986. J. Miao, Corporate tax policy and long-run capital formation: The role of irreversibility and xed costs , unpublished manuscript, 2008. G. Peskir, A. Shiryaev, Optimal stopping and free-boundary problems , Springer, Berlin, 2006. F. Riedel, X. Su, On irreversible investment , Finance and Stochastics, 15:607-633, 2011. E. Rossi-Hansberg, M.L.J. Wright, Establishment size dynamics in the aggregate economy . American Economic Review, 97(5), 1639-1666, 2007 S.E. Shreve, J.P. Lehoczky, D.P. Gaver, Optimal consumption for general diusions with absorbing and reecting barriers , SIAM Journal of Control and Optimization, 22(1):55-75, 1984. J.H. Steg, Irreversible investment in oligopoly , Finance and Stochastics, 16:207-224, 2012. L.R. Sotomayor, A. Cadenillas, Classical and singular stochastic control for the optimal dividend policy when there is regime switching , Insurance: Mathematics & Economics, 48:344-354, 2011. G.Y. Weintraub, C.L. Benkard, B. Van Roy, Markov perfect industry dynamics with many rms , Econometrica, 76:1375-1411, 2008. G.Y. Weintraub, C.L. Benkard, B. Van Roy, Industry dynamics: Foundations for models with an innite number of rms , Journal of Economic Theory, 146(5):1965-1994, 2011. H. Zhu, Generalized solution in singular stochastic control: The nondegenerate problem . Applied Mathematics and Optimization, 25:225245, 1992. R. Aïd: Université Paris-Dauphine, PSL Research University - Department of Economics - Place du Maréchal de Lattre de Tasssigny, 75 775 Paris Cedex, France. Email address : [email protected] M. Basei: EDF R&D Paris and FiME (Finance for Energy Markets Research Centre), Paris, France. Email address : [email protected]r G. Ferrari: Center for Mathematical Economics (IMW), Bielefeld University, Universitätsstrasse 25, 33615, Bielefeld, Germany Email address : [email protected]