Next Article in Journal
Folding Every Point on a Polygon Boundary to a Point
Next Article in Special Issue
Iterative Oblique Decision Trees Deliver Explainable RL Models
Previous Article in Journal
A Shadowed Type-2 Fuzzy Approach for Crossover Parameter Adaptation in Differential Evolution
Previous Article in Special Issue
Inverse Reinforcement Learning as the Algorithmic Basis for Theory of Mind: Current Methods and Open Problems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Reinforcement Learning in a New Keynesian Model †

1
Department of Economics, University of Exeter, Exeter EX4 4PU, UK
2
School of Economics, University of Surrey, Guildford GU2 7XH, UK
3
Department of Economics, City University London, London EC1R 0JD, UK
4
Department of Economics, Swansea University, Swansea SA2 8PP, UK
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper presented at the CEF 2015 Conference, Taiwan, June 2015; the MMF 2016 Conference, University of Bath, September 2016; workshops at the Bank of England, March 2015, the Tinbergen Institute, October, 2015 and the Bank of Portugal, June 2018.
Algorithms 2023, 16(6), 280; https://doi.org/10.3390/a16060280
Submission received: 24 March 2023 / Revised: 22 May 2023 / Accepted: 22 May 2023 / Published: 31 May 2023
(This article belongs to the Special Issue Advancements in Reinforcement Learning Algorithms)

Abstract

:
We construct a New Keynesian (NK) behavioural macroeconomic model with bounded-rationality (BR) and heterogeneous agents. We solve and simulate the model using a third-order approximation for a given policy and evaluate its properties using this solution. The model is inhabited by fully rational (RE) and BR agents. The latter are anticipated utility learners, given their beliefs of aggregate states, and they use simple heuristic rules to forecast aggregate variables exogenous to their micro-environment. In the most general form of the model, RE and BR agents learn from their forecasting errors by observing and comparing them with each other, making the composition of the two types endogenous. This reinforcement learning is then at the core of the heterogeneous expectations model and leads to the striking result that increasing the volatility of exogenous shocks, by assisting the learning process, increases the proportion of RE agents and is welfare-increasing.

1. Introduction

Since the burst of the United States housing bubble in 2008, a large amount of recent behavioural macroeconomics literature has emerged in response to what many regard as the extreme modelling assumption of rational (model-consistent) expectations—henceforth RE. Its defining characteristic is to limit the cognitive skills of at least a group of agents in the model. One strand of this literature achieves this by introducing simple ‘heuristic’ learning rules which can be thought of as parsimonious forms of forecasting rules (as in References [1,2,3,4]). This, we argue, fits well the behavioural approach of assuming agents in the model with limited cognitive skills who behave according to bounded rationality—henceforth BR.
However, this raises the opposite concern regarding the bounds on BR: with heuristic rule-of-thumb behaviour, agents may fall considerably short of building RE, and such models are particularly vulnerable to the Lucas critique when policy scenarios are studied. The problem is that agents can depart from rationality in an infinite number of ways, leading into the “the wilderness of bounded rationality problem” of Reference [5]. The challenge posed by the wilderness is clearly demonstrated by the sheer size of literature on behavioural macroeconomics and the huge number of equilibria proposed. Surveys include References [6,7,8,9].
The concern of behavioural models regarding RE are shared by the recent Agent-Based(AB) alternatives. This approach represents economic agents as well as various social and environmental phenomena as autonomous virtual entities that interact during simulation experiments following pre-defined rules. In standard macroeconomic models, agents’ decisions consist of behavioural equations or, in the case of dynamic stochastic general equilibrium (DSGE) models, micro-founded first-order conditions satisfying a dynamic optimisation problem, that are continuous functions of the current and past state of the economy. The AB approach provides a potentially more flexible way of modelling the cognitive capabilities of decision makers and their responses to both the macro- and individual micro-environment (for example, the authors of Reference [10] studied the inter-linkages between the real and financial sides of the economy using an AB framework in which different types of agents interact on different markets following simple heuristic rules).
When emotional states, cognitive limitations and past information play a key role in economic behaviour, the AB decision process serves as a promising approach for accounting for the behaviour of heterogeneous rule-possessing agents. In AB models, economies can represent out-of-equilibrium behaviour and non-market clearing and can be regarded as “evolving systems of autonomous interacting agents” Reference [11]. Hence, while DSGE assumes that agents have very sophisticated computational capabilities and live in very simple environments, AB models assume that people use simple behavioural rules to cope with complex and dynamic environments. Many of the features of AB models in addition to non-RE, such as heterogeneous agents and unemployment, are now being incorporated into DSGE models. The bounded-rational behavioural models with learning can be then seen as a genre with both classical DSGE and AB modelling features (see Reference [12] for further discussions).
In response to the wilderness concern, the literature on BR models adopts a basic general heterogeneous expectations framework pioneered by Reference [13]. To limit the departure from rationality, the approach of reinforcement learning proposes that, although adaptation can be slow and there can be a random component of choice, the higher the “payoff” (defined appropriately) from taking an action in the past, the more likely it will be taken in the future. We adopt a heterogeneous RE-BR model of this type. The idea behind this correction mechanism in which agents evaluate the payoff function is rooted in discrete choice theory, which is extensively studied in the fields of experimental economics and cognitive psychology. Recent studies have shown that, when managing their incentive structures, agents with market-consistent information may not follow rational choice theory and do not always correct irrational behaviour even if they have sufficient knowledge available to correct it Reference [14]. Instead, a recent study by Reference [15] conducted several experiments to analyse how agents decide between different alternatives. The results showed that people tend to evaluate their perceived efficacy to correct the error by following rational principles based on cognitively assessing the costs and benefits (payoff) associated with the correction.
In addition to the selection mechanism, for given proportions of RE and BR agents, there then exists a choice of learning model: Euler versus the anticipated utility approach (following Reference [16])—henceforth EL and AU. In both approaches, agents cannot form model-consistent expectations. Under EL, agents forecast their own one-period-ahead decisions, whereas under AU, agents form beliefs over the future infinite time horizon of aggregate states and prices which are exogenous to their decisions (AU, also known the “infinite time-horizon” framework, is closely related to the “internal rationality” (IR) approach of Reference [17]). Under both IR and AU, agents maximise utility, given their constraints and a consistent set of probability beliefs about payoff-relevant variables that are external. Then with IR, beliefs take the form of a well-defined probability measure over a stochastic process (the “fully Bayesian” plan). The authors of Reference [18] compared the IR vs. AU and found that AU can closely approximate the fully Bayesian optimisation. The two approaches then differ with respect to what agents learn about—their own future one-period ahead decision for EL and variables exogenous to the agents for AU.
In this paper, we introduce heterogeneity in a full Brock–Hommes new Keynesian (NK) model with a composite specification of BR and RE agents allowing for a wealth distribution between the two groups. A third-order perturbation solution leads to a demonstration of the effects of reinforcement learning in our NK boundedly rational model environment. The primary interest of this paper is to study the effect of learning on the business cycle and its implications for the design of optimal policy strategies within the BR environment. To this end, the discussions are organised around a number of issues that we aim to address. Can our model with an endogenous selection mechanism generate endogenous persistence and non-normality in the frequency distribution of macroeconomic aggregates? Does the composition of the types of agents change with reinforcement learning and the nature of the shocks hitting the economy? What are the welfare implications based on a behavioural macroeconomic model of this type?
In particular, the main contributions of this paper are as follows: (1) we develop a micro-founded framework that models the endogenous composition of RE and non-RE agents with reinforcement learning along the lines of Reference [19]; (2) we carry out our simulations based on different parameterisations of the model and focus on an assessment of the model-implied moments, including the simulated impulse response functions. Furthermore, in Appendix A, Appendix B, Appendix C, Appendix D, Appendix E, Appendix F and Appendix G we discuss the sources of instability and indeterminacy in our setup featuring the BR agents who solve their decision problems using the EL and AU expectation formation schemes. The highly non-linear structure of the BR specification in which agents endogenously select the heuristic rules is crucial for conducting optimal policy in macroeconomic models.
Our paper aims to contribute to both the learning and macroeconomic literature. The investigation on the role of BR behaviour in understanding the dynamics in economic activity observed empirically and guiding policy choices is not a trivial one. Various attempts modify the baseline NK model to account for hybrid heterogeneous expectations and BR. An approach that is closely related to ours in this regard is from the earlier contributions of References [3,19,20], in which they studied calibrated composite heterogeneous expectations models of RE and BR agents and discuss implications for the business cycle and designing stabilisation policies. In our setting, we focus on the major BR approaches with reinforcement learning—a highly non-linear structure within BR which is methodologically relevant for capturing movements that are non-normally distributed in empirical data. We also investigate the effect on rationality when we subject our model to the occurrence of more volatile exogenous shocks.
The rest of the paper is structured as follows. Section 2 sets out the standard linear RE NK model used in the literature and then proceeds to the Brock–Hommes composite model of rational and boundedly rational agents. Section 3 goes back to the non-linear foundations of the model. Section 4 describes the specific market-consistent environment in which households and firms form their expectations. Then, Section 5 presents our main results. Section 5.3 discusses how we choose the set of parameter values that avoids chaotic dynamics. Finally, Section 6 concludes the paper. Appendix A, Appendix B, Appendix C, Appendix D, Appendix E, Appendix F and Appendix G contain further details and results on the model’s stability and the construction of the model.

2. The Standard Behavioural NK Model

This section discusses the standard behavioural NK model framework used by References [3,4,19,20,21,22] and others.

2.1. The Workhorse NK Model

We first set out the most basic three-equation linearised workhorse NK model with RE
y t = E t y t + 1 ( r n , t E t π t + 1 ) + u 1 , t
π t = β E t π t + 1 + κ y t + u 2 , t
r n , t = ρ r r n , t 1 + ( 1 ρ r ) ( θ π π t + θ y y t ) + u 3 , t
where y t , π t and r n , t are the output gap, the inflation rate and the nominal interest rate, respectively. All variables are expressed in log-deviation form about a zero net-inflation steady state. The shock processes u i , t , i = 1 , 2 , 3 should be interpreted as exogenous shocks to demand (or preferences), the supply side, and monetary policy, respectively, and they are usually AR(1) processes. Expectations ( E t ) up to now are formed, assuming RE and perfect information of the state vector (which includes the shock processes). Equation (1) is the linearised Euler equation for consumption which is equated with output in equilibrium (there is no government expenditure). The value (2) is the NK Phillips curve, and (3) is the nominal interest rate rule in “implementable form” in that it responds to output relative to the steady state rather than the output gap (note that (1) assumes logarithmic utility and that the supply side shock is a composite of technology and marginal cost processes in the model developed in this paper. The AR(1) feature of shock processes is criticised by Reference [4], as it implies that persistence is exogenously generated. This paper addresses this critique in developing strong endogenous persistence mechanisms through learning).
Before relaxing the RE assumption, two points about this formulation need to be made. First, there are not a lagged term in y t in the demand curve (1) nor a lagged term in π t in the Phillips curve (2) (as, for example, in Reference [23]). These can enter through the introduction of external habits in the consumers’ utility function and price indexing, respectively, but we choose to focus on learning as a persistence mechanism; thus, both these features are omitted. Second, the linearisation even without these persistence terms is only correct for a zero-inflation steady state.

2.2. The Brock–Hommes Behavioural NK Model

In the Brock–Hommes framework, which we later follow, the model becomes behavioural by a departure from the RE assumption and the introduction of two groups of agents. One group is rational, and the other forms EL expectations through simple “heuristic” learning rules. RE agents form model-consistent expectations fully aware of the existence of BR agents in the composite model. A version of general adaptive learning rules (the authors of Reference [24] provided lab-based support for such rules, and the generalised heuristic rule we later adopt in Section 4 includes a t 2 period and encompasses all the different behavioural group forecast heuristics) that encompasses those adopted by References [3,4,13,19,25] is
E t * y t + 1 = E t 1 * y t + λ y ( y t j E t 1 * y t ) ; λ y [ 0 , 1 ] , j = 0 , 1
E t * π t + 1 = E t 1 * π t + λ π ( π t j E t 1 * π t ) ; λ π [ 0 , 1 ] , j = 0 , 1
where we can in principle allow for both current and lagged observations of output and inflation, j = 0 , 1 , respectively. Throughout the rest of the paper, we make the following information assumptions: for observations of aggregateoutput and inflation, similar to the EL approach, we assume j = 1 . Later in the AU approach, we need to model observations of market-specificvariables consisting of factor prices, profits and marginal costs. These we assume can be observed without a lag, and therefore, j = 0 .
Let n y , t , n π , t be the proportions of rational agents forecasting output and inflation, respectively. The IS and NK Phillips curve equations then become
y t = n y , t E t y t + 1 + ( 1 n y , t ) E t * y t + 1 [ r n , t ( n π , t E t π t + 1 + ( 1 n π , t ) E t * π t + 1 ) ] + u 1 , t
π t = β [ n π , t E t π t + 1 + ( 1 n π , t ) E t * π t + 1 ] + λ y t + u 2 , t
To complete the model, we need expressions for the weights n y , t and n π , t . These follow the reinforcement learning literature by choosing probabilities
n x , t = exp ( γ Φ x , t R E ( { x t } ) ) exp ( γ Φ x , t R E ( { x t } ) ) + exp ( γ Φ x , t A E ( { x t } ) )
where Φ x , t R E ( { x t ) } ) and Φ x , t A E ( { x t ) } ) are “fitness” measures, respectively, of the forecast performance of the rational and non-rational predictor of outcome { x t } = { y t } , { π t } given by a discounted least-squares error predictor
Φ x , t R E ( { x t } ) = μ R E Φ x , t 1 R E ( { x t } ) + ( 1 μ R E ) ( [ x t E t 1 x t ] 2 + C x )
Φ x , t A E ( { x t } ) = μ A E Φ x , t 1 A E ( { x t } ) + ( 1 μ A E ) [ x t j E t 1 j * x t 1 ] 2 ; j = 0 , 1
where μ R E and μ A E capture the memory of the agents forming RE and adaptive expectations (a measure of forgetfulness of past observations). C x represents the relative costs of being rational in learning about variable x t . Thus, the proportion of rational agents in the steady state is given by
n x = exp ( γ C x ) exp ( γ C x ) + 1
which is pinned down by the γ C x . Equations (3)–(10) constitute the linearised NK behavioural model (the authors of References [3,4] constructed a rather different composite EL-type model consisting of “fundamentalist” rather than rational agents alongside adaptive learners. For the former RE, E ( · ) are replaced with E f y t + 1 = y t F and E f π t + 1 = 0 . Thus, fundamentalists always believe that the next period’s output gap is zero and that the net inflation rate will return to its steady-state value of zero. The same authors also assume C x = 0 in (9)).

3. The Non-Linear NK Model

Thus far in the linearised model, the justification for the form of adaptive forecasts needs to be established. In order to address this, we step back to the underlying non-linear model and introduce the distinction between internal decisions and aggregate macro-variables. We start with the non-linear RE model and proceed from full to bounded rationality in stages. The complete model setup and its balanced growth steady state are summarised in Appendix A, Appendix B, Appendix C, Appendix D, Appendix E, Appendix F and Appendix G.

3.1. Households

Household j chooses savings between work and labour supply. Let C t ( j ) be consumption and H t ( j ) be the proportion of available work or leisure spent at the former. The single-period utility we choose, compatible with a balanced growth steady state, is
U t ( j ) = U ( C t ( j ) , H t ( j ) ) = log ( C t ( j ) ) H t ( j ) 1 + ϕ 1 + ϕ
and the value function of the representative household at time t dependent on its assets B is
V t ( j ) = V t ( B t 1 ( j ) ) = E t s = 0 β s U ( C t + s ( j ) , H t + s ( j ) )
The household’s problem at time t is to choose paths for consumption { C t ( j ) } , labour supply { H t ( j ) } and holdings of financial savings to maximise V t ( j ) , given by (11), given its budget constraint in period t
B t ( j ) = R t B t 1 ( j ) + W t H t ( j ) + Γ t C t ( j ) T t ϖ 2 ( B t 1 ( j ) B ) 2
where B t ( j ) is the given net stock of real financial assets at the end of period t, W t is the wage rate, T t are lump-sum taxes, and Γ t are profits from wholesale and retail firms owned by households. In order to allow for a wealth distribution by heterogenous agents introduced later and to achieve a stationary path for bond holdings, we introduce a portfolio adjustment cost (this as a modelling device similar to that used in open economies with home and foreign household is pioneered by Reference [26]. We examine the limit as ϖ becomes very small so that our choice of real rather than nominal bond holding costs is immaterial. The wealth distribution effect does not significantly change the equilibrium). R t is the real interest rate paid on assets held at the beginning of period t given by R t = R n , t 1 Π t R S t , where R n , t and Π t are the nominal interest and inflation rates, respectively, and R S t is a risk premium shock. W t , R n , t , Π t and Γ t are all exogenous to household j. As usual, all real variables are expressed relative to the price of the final output. The standard first-order conditions are
E t Λ t , t + 1 ( j ) R t + 1 = 1 + ϖ ( B t ( j ) B ) U H , t ( j ) U C , t ( j ) = W t
where Λ t , t + 1 ( j ) β U C , t + 1 ( j ) U C , t ( j ) is the stochastic discount factor for household j, over the interval [ t , t + 1 ] . For our choice of utility function U C , t = 1 C t and U H , t = H t ϕ , and these become
β E t C t ( j ) R t + 1 C t + 1 ( j ) = 1 + ϖ ( B t ( j ) B )
C t ( j ) H t ( j ) ϕ = W t H t ( j ) = W t C t ( j ) 1 ϕ
The first-order conditions up to now are suitable for the RE solution. We now express the solution in a form suitable for moving from an RE to a learning equilibrium. We consider the limit as ϖ 0 . Solving (12) forward in time and imposing the transversality condition on debt, we can write
B t 1 ( j ) = PV t ( C t ( j ) ) PV t ( W t H t ( j ) ) PV t ( Γ t ) + PV t ( T t )
where the present (expected) value of a series X { X t + i } i = 0 at time t is defined by
PV t ( X t ) E t i = 0 X t + i R t , t + i = X t R t + 1 R t PV t ( X t + 1 )
writing R t , t + i R t R t + 1 R t + 2 R t + i as the real interest rate over the interval [ t 1 , t + i ] .
The forward-looking budget constraint (15) holds for the representative household. If we allow RE and BR agents to borrow from or lend to one another, we must allow for B t 1 0 . Then, in a symmetric equilibrium with C t ( j ) = C t and H t ( j ) = H t , (15) and (14) become
B t 1 = PV t ( C t ) PV t W t 1 + 1 ϕ C t 1 ϕ PV t ( Γ t ) + PV t ( T t ) H t = W t C t 1 ϕ
Solving (13) forward in time and using the law of iterated expectation, we have for i 1
1 C t = β i E t R t + 1 , t + i C t + i ; i 1
We now express the solution to the household optimisation problem for C t and H t that are functions of point expectations  { E t W t + i } i = 1 , { E t R t + 1 , t + i } i = 1 and { E t Γ t + i } i = 0 , treated as exogenous processes given at time t. With point expectations, we use (17) to obtain the following optimal decision for C t + i , given the point expectations E t R t + 1 , t + i
C t + i = C t β i E t R t + 1 , t + i ; i 1
E t ( W t + i H t + i ) = ( E t W t + i ) 1 + 1 ϕ C t + i 1 ϕ
Substituting (18) and (19) into the forward-looking household budget constraint, using i = 0 β i = 1 1 β and E t R t , t + i = R t E t R t + 1 , t + i for i 1 , we arrive at
C t R t B t 1 ( 1 β ) = 1 C t 1 ϕ W t 1 + 1 ϕ + i = 1 ( β 1 ϕ ) i E t W t + i E t R t + 1 , t + i 1 + 1 ϕ + Γ t T t + i = 1 E t ( Γ t + i T t + i ) ) E t R t + 1 , t + i
which can be written in recursive form as
C t R t B t 1 ( 1 β ) = 1 C t 1 ϕ W t 1 + 1 ϕ + Ω 1 , t + Γ t T t + Ω 2 , t Ω 1 , t i = 1 ( β 1 ϕ ) i E t W t + i E t R t + 1 , t + i 1 + 1 ϕ = ( β 1 ϕ ) 1 E t W t + 1 E t R t + 1 , t + 1 1 + 1 ϕ + Ω 1 , t + 1 β 1 ϕ E t R t + 1 Ω 2 , t i = 1 E t ( Γ t + i T t + i ) E t R t + 1 , t + i = E t ( Γ t + 1 T t + 1 ) E t R t + 1 , t + 1 + Ω 2 , t + 1 E t R t + 1
Consumption is then given by (20), assuming point expectations or by the symmetric form of the Euler equation (13) under full rationality (i.e., households know the symmetric nature of equilibrium with C t ( j ) = C t ). C t is a function of rational point expectations { E t W t + i } i = 1 , { E t R t , t + i } i = i and { E t Γ t + i } i = 1 which can be treated as exogenous processes given at time t or as rational model-consistent expectations. Since E t f ( X t ) f ( E t ( X t ) ) ; E t f ( X t Y t ) ) f ( E t ( X t ) E t ( Y t ) ) up to a first-order Taylor-series expansion, assuming that point expectations are equivalent to using a linear approximation (given below), as is usually performed in the literature.

3.2. Firms, Government Expenditures and Monetary Policy

This section sets out the wholesalers and the retail sector which is optimised using Calvo-pricing contracts. We close the non-linear setup with resource and balanced government budget constraints, a monetary policy rule and by specifying the structural shocks in the economy. Wholesale firms employ a Cobb–Douglas production function to produce a homogeneous output
Y t W = F ( A t , H t ) = A t H t α
where A t is total factor productivity. Profit-maximising demand for labour results in the first-order condition
W t = P t W P t F H , t = α P t W P t Y t W H t
The retail sector costlessly converts a homogeneous wholesale good into a basket of differentiated goods for aggregate consumption
C t = 0 1 C t ( m ) ( ζ 1 ) / ζ d m ζ / ( ζ 1 )
where ζ is the elasticity of substitution. For each m, the consumer chooses C t ( m ) at a price P t ( m ) to maximise (22) given total expenditure 0 1 P t ( m ) C t ( m ) d m . Assuming that government services are similarly differentiated, this results in a set of demand equations for each differentiated good m with price P t ( m ) of the form
Y t ( m ) = P t ( m ) P t ζ Y t
where P t = 0 1 P t ( m ) 1 ζ d m 1 1 ζ , P t is the aggregate price index, and C t and P t are Dixit–Stigliz aggregates; see Reference [27].
Following Reference [28], we assume that there is a probability of 1 ξ at each period that the price of each retail good m is set optimally to P t O ( m ) . If the price is not re-optimised, then it is held fixed. For each retail producer m, given its real marginal cost M C t = P t W P t , the objective is at time t to choose { P t O ( m ) } to maximise discounted real profits
E t k = 0 ξ k Λ t , t + k P t + k Y t + k ( m ) P t O ( m ) P t + k M C t + k
subject to (23), where Λ t , t + k β k U C , t + k U C , t is the stochastic discount factor over the interval [ t , t + k ] . The solution to this is standard and is given by
P t O ( m ) P t = ζ ζ 1 E t k = 0 ξ k Λ t , t + k Π t , t + k ζ Y t + k M C t + k E t k = 0 ξ k Λ t , t + k Π t , t + k ζ Π t , t + k 1 Y t + k
Denoting the numerator and denominator by J t and J J t , respectively, and introducing a mark-up shock M S t to M C t , from Appendix D, we write in recursive form
P t O ( m ) P t = J t J J t
J t ξ E t [ Λ t , t + 1 Π t + 1 ζ J t + 1 ] = 1 1 1 ζ Y t M C t M S t
J J t ξ E t [ Λ t , t + 1 Π t + 1 ζ 1 J J t + 1 ] = Y t
Using the fact that all resetting firms will choose the same price, by the law of large numbers, we can find the evolution of inflation given by
1 = ξ Π t 1 , t ζ 1 + ( 1 ξ ) P t O P t 1 ζ
Price dispersion lowers aggregate output as follows. Market clearing in the labour market gives
H t = m = 1 n H t ( m ) = m = 1 n Y t ( m ) A t 1 α = Y t A t 1 α m = 1 n P t ( m ) P t ζ α
using (23). Hence, equilibrium for good m gives Y t = Y t W Δ t α , where price dispersion is defined by
Δ t m = 1 n P t ( m ) P t ζ α
Assuming that the number of firms is large from Appendix E, we obtain the following dynamic relationship
Δ t = ξ Π t ζ α Δ t 1 + ( 1 ξ ) J t J J t ζ α
To close the model, we first require total profits from retail, and wholesale firms, Γ t , is remitted to households. This is given in real terms by
Γ t = Y t P t W P t Y t W r e t a i l + P t W P t Y t W W t H t W h o l e s a l e = Y t α P t W P t Y t W
using the first-order condition (21). Then, to complete closure, we have resource and balanced government budget constraints
Y t = C t + G t = C t + T t
where G t is an exogenous demand process, and a monetary policy rule for the nominal interest rate given by the following implementable Taylor-type rule
log R n , t R n = ρ r log R n , t 1 R n + ( 1 ρ r ) ( θ π log Π t Π t a r g , t + θ y log Y t Y + θ d y log Y t Y t 1 ) + ϵ M P , t
and ϵ M P , t is an i.i.d. shock to monetary policy. Π t a r g , t is a time-varying inflation target and together with A t , G t , R S t and M S t follows an AR(1) process. This completes the model.

3.3. Recovering the NK Workhorse Model

We now show that the linearised form of the non-linear model about the steady state reduces to the standard workhorse model in Section 2.1 where rational expectations E t y t + 1 and E t π t + 1 or non-RE E t * y t + 1 and E t * π t + 1 can be treated as expectations by individual households and firms, respectively, of aggregate future output and inflation. We consider the linearised form of the above set-up about a zero inflation and growth deterministic steady state. We also ignore lending or borrowing between RE and BR agents. With RE, the household j’s first-order conditions take one of two forms. First, linearising (20), we have
α 1 c t ( j ) = α 2 w t + α 3 ( ω 2 , t + r t ) + α 4 ω 1 , t ω 1 , t = α 5 E t w t + 1 α 6 E t r t + 1 + β E t ω 1 , t + 1 ω 2 , t = ( 1 β ) ( γ t g t ) r t + β E t ω 2 , t + 1 γ t = 1 γ y y t α γ y ( w t + h t )
where lower case variables x t log ( X t / X ) , X is the steady state of X t ; c y C Y , γ y Γ Y , g y G Y and γ t is exogenous profit per household (a function of aggregate consumption and hours). Positive coefficients are given by α 1 1 + α ϕ c y , α 2 ( 1 β ) ( 1 + 1 ϕ ) α c y , α 3 γ y c y , α 4 β α c y , α 5 ( 1 β ) ( 1 + 1 ϕ ) and α 6 ( 1 + 1 ϕ ) . Alternatively, from Euler Equation (13),
c t = E t c t + 1 E t r t + 1
in a symmetric equilibrium. Under RE, (29) or (30) lead to the same equilibrium, but under BR, this is no longer the case.
Linearising the household supply of hours decision, the resource constraint and the Fisher equation, we have
y t = ( 1 g y ) c t + g y g t
r t = r n , t 1 π t + r s t 1 h t = 1 ϕ ( w t c t )
Then, in a special case where G t = 0 and there is no distinction between public and private consumption, g y = 0 and y t = c t . Equations (30)–(32) with r s t = u 1 , t reduce to (1) where E t y t + 1 is the forecast of aggregate output.
Turning to the supply side, for the wholesale sector
y t = a t + α h t m c t = w t y t + h t
For retail firm m, linearising the pricing dynamics (24)–(26) about a zero net equation steady state and solving forward, we have
p t o ( m ) p t = β ξ E t [ π t + 1 + p t + 1 o ( m ) p t + 1 ] + ( 1 β ξ ) ( m c t + m s t ) = E t i = 0 ( β ξ ) i [ β ξ π t + i + 1 + ( 1 β ξ ) ( m c t + i + m s t + i ) ]
Then, in a symmetric equilibrium, we have
π t = ( 1 ξ ) ξ E t i = 0 ( β ξ ) i [ β ξ π t + i + 1 + ( 1 β ξ ) ( m c t + i + m s t + i ) ]
where E t [ π t + i + 1 ] and E t [ m c t + i + m s t + i ] are expectations of aggregate inflation and real marginal costs, both variables exogenous to individual price setters. However, if price setters know they are identical, they know the aggregate price level over non-optimising and optimising firms
p t ( m ) = ξ p t 1 + ( 1 ξ ) p t o ( m )
to obtain in a symmetric equilibrium
p t o ( m ) p t = p t o p t = ξ ( 1 ξ ) ( p t p t 1 ) = ξ ( 1 ξ ) π t
Then, substituting back into (33), we arrive at
π t = ( 1 ξ ) ( 1 β ξ ) ξ E t * i = 0 β i ( m c t + i + m s t + i )
which omits learning about aggregate inflation. Equation (36) is the familiar linearised Phillips curve. Under RE, (34) and (36) are equivalent. (Putting m c t = w t a t + h t = ( 1 + ϕ ) h t = ( 1 + ϕ ) ( y t a t ) α , (36) in recursive form gives (2) with λ = ( 1 ξ ) ( 1 β ξ ) ( 1 + ϕ ) α ξ and u 2 , t = λ m s t ). The form of the Phillips curve (36), which is equivalent to (2), is often used in the behavioural NK literature (see, for example, Reference [4]), but as we have shown, this assumes that firms know they are identical. In our BR model, we use (29) and (34), which do not make this assumption.

4. AU Learning and Market-Consistent Information

With anticipated utility (AU) learning, our learning model is one where agents make fully optimal decisions, given their individual specification of beliefs, but have no macroeconomic model to form expectations of aggregate variables. We draw a clear distinction between aggregate and internal quantities so that identical agents in our model are not aware of this equilibrium property (nor any others).
To close the model, we need to specify the manner in which households and firms form their expectations. To do so, we assume that variables which are local to the agents, in a geographical sense, are observable within the period, whereas variables that are strictly macroeconomic are only observable with a lag. This categorisation regarding information about the current state of the economy follows Reference [29], which distinguishes between the local information that agents acquire directly through their interactions in markets and statistics that are collected and summarised, usually by governments, and are made available to the wider public. (This paper actually focuses on a third category, information provided by the news media, and allows for imperfect information in the form of noisy signals, issues which go beyond the scope of our paper.) The policy rate is announced by the central bank; thus, it is observed without a lag, and it is common knowledge. Given this, we assume an adaptive expectations forecasting rule given below by (38) and (39) about variables external to agents’ decisions. Let x t = r t , r n , t , π t , w t , γ t , then household expectations are given by
E t * x t + i = E t * x t + 1 ; i 1
Expressing E t ω 1 , t + 1 and E t ω 2 , t + 1 in (29) as forward-looking summations and using (37), we arrive at the individual learning consumption equation
α 1 c t = α 2 w t + α 3 ( ω 2 , t + r t ) + α 4 ω 1 , t ω 1 , t = 1 1 β α 5 E t * w t + 1 α 6 ( β E t * r n , t + 1 E h , t * π t + 1 ) α 6 r n , t ω 2 , t = ( 1 β ) ( γ t g t ) r t + β 1 β ( ( 1 β ) ( E t * γ t + 1 E t * g t + 1 ) E t * r t + 1 )
which is now expressed in terms of one-step ahead forecasts by
E t * x t + 1 = E t * x t + λ x ( x t j E t * x t ) ; x = w , r n , π , γ ; j = 0 , 1
Households make inter-temporal decisions for their consumption and hours supplied given adaptive expectations of the wage rate, the nominal interest rate, inflation and profits. These macro-variables may in principle be observed with or without a one-period lag ( j = 1 , 0 ), but as stated earlier, we assume j = 0 for market-specific variables w t , γ t , and j = 1 for aggregate inflation π t . However, we assume that the current nominal interest rate, r n , t , is announced and therefore is observed without a lag.
We distinguish household and firm expectations E h , t * π t + 1 , E f , t * π t + 1 . Then, for retail firm m
E t * π t + i + 1 = E t * π t + 1 ; i 0 E t * ( m c t + i + m s t + i ) = E t * ( m c t + 1 + m s t + 1 ) ; i 1 p t o ( m ) p t = β ξ 1 β E f , t * π t + 1 + ( 1 β ξ ) ( m c t + m s t ) + β 1 β E t * ( m c t + 1 + m s t + 1 )
where one-step ahead forecasts are given by the adaptive expectations rule
E t * x t + 1 = E t * x t + λ x ( x t j E t * x t ) ; x = π , ( m c + m s ) ; j = 0 , 1
Retail firms make inter-temporal decisions for their price and output given adaptive expectations of the aggregate inflation rate and their post-shock real marginal shock wage rate. As before, these variables may be observed with or without a one-period lag ( j = 1 , 0 ), but for aggregate inflation, we assume j = 1 as for households, but j = 0 for the market-specific variable m c t . Note that we can in principle distinguish between households’ and firms’ expectations of inflation.

5. Heterogeneous Expectations across Agents

Now we come to the full Brock–Hommes NK model but with BR-AU rather than EL boundedly rational agents. We argue that our benchmark models, namely, an agent-level learning behavioural NK model with infinite horizon learners (AU) who use the standard Brock–Hommes forecast heuristics to form expectations, and a composite version with fixed proportions of agents forming both RE and AU in a NK setting, are selected because we want to compare the equilibrium features and empirical performance of these assumptions in an informational, consistent environment. We assume that all RE agents know the composite model, and moreover, we impose informational inconsistency by assuming that they have the same imperfect information set as the BR-AU agents. The latter do not know the model, but they make individually optimal decisions given individual observations of the states and belief formations. The composite RE-BR model then has an equilibrium (in non-linear form)
H t d = n h , t H t s R E + ( 1 n h , t ) H t s B R C t = n h , t C t R E + ( 1 n h , t ) C t B R = Y t G t P t o P t = n f , t P t o P t R E + ( 1 n f , t ) P t o P t B R
Zero net wealth in aggregateimplies that n h , t B t R E = ( 1 n h , t ) B t B R .
We first consider the properties of the model with fixed exogenous proportions of RE and BR agents. Then, in Section 5.2, we allow these proportions to be determined endogenously.

5.1. Exogenous Proportions of RE and BR Agents

For our model of BR with AU, Figure 1 plots the impulse response functions (IRFs) with standard parameters for the rule for a shock to monetary policy under fast and slow learning. Figure A3 and Figure A4 in Appendix F show IRFs for the technology and mark-up shocks. Not surprisingly, fast learning sees an IRF converge faster to the RE case, but in either case, BR introduces more persistence compared with RE. This suggests that this feature should lead to a better fit of the data without relying on other persistence mechanisms (shocks, habit or price indexing). The stability properties of the model are examined in the WP version of the paper and Appendix A.

5.2. Endogenous Proportions of RE and BR Agents with Reinforcement Learning

Proportions of rational households ( n h , t ) and firms ( n f , t ) are given by (8)
n j , t = exp ( γ Φ j , t R E ) exp ( γ Φ j , t ) R E + exp ( γ Φ j , t B R ) ; j = h , f
where fitness for households and firms j = h , f is given by
Φ j , t R E = μ j R E Φ j , t 1 R E + ( 1 μ j R E ) weighted   sum   of   forecast   errors + C j Φ j , t B R = μ j B R Φ j , t 1 B R + ( 1 μ j B R ) weighted   sum   of   forecast   errors
Table 1 provides a third-order perturbation solution of the non-linear NK RE-BR model. We use the Bayesian estimation of the model in Reference [30] where the model is linearised and the proportions n h , t and n f , t are fixed. Non-linear estimation would be required to pin down the parameters n h , n f in the steady state in the BR scenarios and μ h R E , B R , μ f R E , B R and γ in the reinforcement learning process, which goes beyond the scope of this paper. Thus, here we impose them as reported in the table ( n h , t = n f , t = 0.1 ). We also scale the estimated standard deviations of the shocks using a parameter σ = 1 , 2 . For the robustness of our results, we perform additional simulations, for different choice of the memory parameters, and present the results with μ h R E = μ h B R = μ f R E = μ f B R = 0.5 and = 0.75 in Appendix G. The robustness exercise assumes instead that agents have some memory of past observations.
The main results from these simulations are as follows. First, reinforcement learning introduces high kurtosis and skewness in macroeconomic variables, the absence of kurtosis in the standard NK model, often highlighted in the literature (see, for example, Reference [3]), is in part simply the consequence of linearisation, and non-normality is a feature of higher order approximations. Second, reinforcement learning with stronger switching processes (i.e., γ = 100 , 1000 ) coupled with higher volatility of exogenous shocks results in the numbers of rational agents increasing from the estimated deterministic steady state value of 0.1 to 0.13 and 0.15 for households and firms, respectively, in the stochastic steady state. Third, given that BR is a welfare-reducing friction in these models, it follows that volatility can actually be welfare-increasing in our heterogeneous expectations setting. Furthermore, when we assume that agents have some memory of past observations when revising their expectations given their forecast performances, the simulated skewness and kurtosis are lower compared to the case when no memory is assumed in the learning process.
Our main results clearly suggest that, when the switching process between groups of heterogeneous agents becomes more deterministic depending on agents’ willingness to learn from the past performance when predicting future outcomes, this leads to an increase in the level of rationality in the BR macroeconomy. This result is in line with the finding in Reference [3]. The cognitive effect of this selection mechanism is much stronger with the occurrence of large exogenous shocks. This group behaviour not only plays a key role in explaining the dynamic properties of the data, revaluating the importance of expectations in driving economic fluctuations in the spirit of Keynes’ concept of animal spirits, but has important implications for the optimal control of policy in the spirit of the Lucas critique. Depending on intentions on the part of policymakers, the model suggests that different versions of policy can be designed and devised in a game between policymakers and the economy, with uncertainty as to which expectation formation is selected.

5.3. The Possibility of Bifurcation and Chaotic Dynamics

Non-linear models in general open up the possibility that, for certain parameter values or initial conditions, they may exhibit chaotic dynamics. How are the obtained results related to such dynamics? This possibility is examined using the model of this paper in Reference [22].
The conclusions are: first, the RE determinancy condition for the linearised model in the vicinity of the deterministic steady state ensures local determinancy and stability in the model with a fixed proportion n of fully rational agents. Second, if the linear form of the model starts from a position of indeterminacy, an increase in the fixed cost of being fully rational can lead to the loss of local stability via a Hopf bifurcation. This Hopf bifurcation appears to be super-critical, giving rise to stable limit cycles. As the speed at which agents learn increases, a rational route to randomness appears to follow, which we explore with numerical methods. From a policy point of view, the main conclusion is that local indeterminacy about the steady state can be avoided by a careful choice of interest-rate rule that obeys a “Taylor condition” modified to allow for persistence. This is the case for our simulations which avoid chaotic dynamics.

6. Conclusions

This paper studies an NK behavioural model for which boundedly rational beliefs of economic agents are about payoff-relevant macroeconomic variables that are exogenous to their decision rules. Reinforcement learning is at the core of the heterogeneous expectations model and leads to the striking result that a high volatility of exogenous shocks, by assisting the learning process, can be welfare-increasing.
The results from our simulations have a range of practical and theoretical implications. From a practical point of view, our model provides a behavioural explanation for the important properties of the business cycle dynamics and (ir)rationality under market economy. Our findings shed more light on the underlying mechanism that guides policy choices in a society comprising policymakers and agents who form heterogeneous expectations. Regarding the theoretical implications, our results for a simple NK model suggest a new agenda for constructing empirical medium-sized NK models for agents’ behaviours under imperfect information. Future work will embed the RE-BR composite model into a richer NK macroeconomic model along the lines of Reference [31], use non-linear estimation methods to identify a number of parameters involving reinforcement learning that are not identified using linear Bayesian estimation, and examine optimal monetary policy.
Another potential direction for future research is to investigate how reinforcement learning affects the possible chaotic dynamics of the model. We know that an increase in the fixed cost of being fully rational can lead to the loss of local stability. If we enter a region of local instability, but global boundedness, we see chaotic dynamics as highlighted generally in Reference [25]. In addition, from Reference [22], who plotted the simulated trajectories for various parameter values with an almost purely stochastic switching process ( γ = 0.1 ), it is evident that, when the level of rationality varies according to reinforcement learning, it is likely that we see very different stability/determinancy properties of the model, which imply that uncertainty as to how expectations and learning are processed can lead to a policy rule that is unstable or has infinite multiple equilibria (i.e., is indeterminate).
As with any research, there are limitations in our study that should be addressed in future work. We have alluded to the wilderness of non-rational expectations posed by the sheer size of the literature on behavioural macroeconomics and the huge number of equilibria proposed. Any analysis based on only one choice of model clearly has limitations when turning to policy implications. A policy that works well for one particular choice may perform badly using a different model. One solution to this problem proposed by References [32,33] is to choose a policy to maximise weighted average inter-temporal welfare across a set of competing models and to weigh models based on relative forecasting performance. In other studies, the proportions of rational and non-rational agents are fixed; a possible avenue for future research would be to extend the analysis to time-varying endogenous proportions as in this paper.
Finally, there remains a wide range of views over the asymmetric macroeconomic effects of economic shocks (e.g., news, energy and monetary policy) as well as over the variations in these effects with respect to economic conditions and states. Different strands of literature offer different explanations on the existence of non-linearities, focusing on the sources of the shocks, econometric specifications and time-variation in impact and policy responses (see Reference [34] for a recent study that addresses the latter two aspects). We argue that the modelling approach and non-linear techniques used in our paper add an important dimension to this strand of literature by providing a variety of starting points for future work that investigates the non-linear effects of shocks that may originate from the time-varying nature of expectation formations and complex adaptive systems.

Author Contributions

Conceptualization, S.D., P.L., J.P. and B.Y.; methodology, S.D. and P.L.; software, S.D., P.L. and B.Y.; validation, P.L. and B.Y.; formal analysis, S.D., P.L. and B.Y.; investigation, S.D., P.L., J.P. and B.Y.; writing—original draft preparation, P.L. and J.P.; writing—review and editing, P.L. and B.Y.; project administration, P.L.; funding acquisition, P.L. and J.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the ESRC, grant number: ES/K005154/1.

Data Availability Statement

No data were created or analysed in this study.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Stability Analysis

We have three possible models of expectations: rational (i.e., model consistent), boundedly rational with Euler learning and boundedly but with infinite-horizon learning. We denote these three cases by RE, EL and AU, respectively. In this section, we consider homogeneous expectations for which all agents (households and firms) form either RE or AU or EL expectations. In Section 5 of the main paper, we then allow for the possibility that households and firms are heterogenous across these groups (but retain intra-group homogeneity).
In the numerical results below, we fix parameters at their priors used in the Bayesian estimation apart from the adaptive learning parameter λ x which we set at unity. We make the following information assumptions: for observations of aggregate output and inflation, j = 1 , which is assumed in the EL approach. In the AU approach, we need to model observations of market-specific variables consisting of factor prices, profits and marginal costs. These we assume can be observed without a lag, and therefore, j = 0 . Note this only applies to the EL and AU agents, but the RE equilibrium assumes perfect information where agents observe all current values of state variables. However, for rational agents, the stability conditions considered now can be derived from a perfect foresight equilibrium and are independent of the information assumption.
Figure A1 compares the models in the ( ρ r , θ π ) space with θ y = 0.3 and θ d y = 0 . Figure A2 sets ρ r = 1 and compares the EL and AU models in ( θ y , θ π ) space having re-parameterised the rule as r n , t = ρ r r n , t 1 + θ π π t + θ y y t . Note that this rule reduces to a price-level rule when θ y = 0 . The differences in the sizes of the policy spaces that result in a saddle-path stable equilibrium are significant. Furthermore, a clear ranking of the sizes of these spaces emerges with R E E L A U . This means that, unless the policy rule is designed for the AU model, uncertainty as to which model of expectations is correct can lead to a rule that is unstable or has infinite multiple equilibria (i.e., is indeterminate).
Figure A1. Comparison of stability properties of RE, EL and AU models in ( ρ r , θ π ) space; ρ r > 0 , λ x = 1 ; red: determinancy; black: indeterminacy; green: instability. (a) RE: θ y = 0.3 ; (b) EL: θ y = 0.3 ; (c) AU: θ y = 0.3 .
Figure A1. Comparison of stability properties of RE, EL and AU models in ( ρ r , θ π ) space; ρ r > 0 , λ x = 1 ; red: determinancy; black: indeterminacy; green: instability. (a) RE: θ y = 0.3 ; (b) EL: θ y = 0.3 ; (c) AU: θ y = 0.3 .
Algorithms 16 00280 g0a1
Figure A2. Comparisonof stability properties of EL and AU models in ( θ y , θ π ) space; ρ r = 1 , λ x = 1 ; red: determinancy; black: indeterminacy; green: instability. (a) EL: ρ r = 1 ; (b) AU: ρ r = 1 .
Figure A2. Comparisonof stability properties of EL and AU models in ( θ y , θ π ) space; ρ r = 1 , λ x = 1 ; red: determinancy; black: indeterminacy; green: instability. (a) EL: ρ r = 1 ; (b) AU: ρ r = 1 .
Algorithms 16 00280 g0a2

Appendix B. Summary of Composite RE-BR Model

In stationarised form of the model for exogenous proportions n h , t and n f , t , we have
  • RE Households:
U t R E = U ( C t R E , H t R E ) = log C t R E ( H t R E ) 1 + ϕ 1 + ϕ U C , t R E = E t [ β g , t + 1 U C , t + 1 R E R t + 1 ] β g , t = β / ( 1 + g t ) g t = ( 1 + g ) exp ( ϵ A t r e n d ) 1 R t = R n , t 1 Π t U C , t R E = 1 C t R E U H , t R E = ( H t R E ) ϕ U H , t R E U C , t R E = W t
  • BR Households:
U t B R = U ( C t B R , H t B R ) = log C t B R ( H t B R ) 1 + ϕ 1 + ϕ C t B R ( 1 E t β g , t + 1 ) = 1 ( C t B R ) 1 ϕ W t 1 + 1 ϕ + E t * R n , t + 1 R n , t E t * W t + 1 1 + 1 ϕ ( E t β g , t + 1 ) 1 ϕ ( E t * R t + 1 e x ) 1 + 1 ϕ 1 + Γ t G t + E t * R n , t + 1 R n , t E t * ( Γ t + 1 G t + 1 ) E t * R t + 1 e x 1 1 ( C t B R ) 1 ϕ W t 1 + 1 ϕ + E t * R n , t + 1 R n , t 1 + 1 ϕ Ω 1 , t + Γ t G t + E t * R n , t + 1 R n , t Ω 2 , t U C , t B R = 1 C t B R U H , t B R = ( H t B R ) ϕ U H , t B R U C , t B R = W t
where
Ω 1 , t = E t * W t + 1 1 + 1 ϕ ( E t β g , t + 1 ) 1 ϕ ( E t * R t + 1 e x ) 1 + 1 ϕ 1 Ω 2 , t = E t * ( Γ t + 1 G t + 1 ) E t * R t + 1 e x 1 E t * R t + 1 e x = E t * R n , t + 1 E h , t * Π t + 1
  • Wholesale Firms:
Y t W = F ( A t , H t ) = A t H t α = A t ( n h , t H t R E + ( 1 n h , t ) H t B R ) α Y t = Y t W Δ t α P t W P t F H , t = P t W P t α Y t W H t = W t 1 = ξ Π t ζ 1 + ( 1 ξ ) n f , t J t R E J J t R E 1 ζ + ( 1 n f , t ) J t B R J J t B R 1 ζ Δ t = ξ Π t ζ α Δ t 1 + ( 1 ξ ) n f , t J t R E J J t R E ζ α + ( 1 n f , t ) J t B R J J t B R ζ α M C t = P t W P t = W t F H , t Γ t = Y t α M C t Y t W
  • RE Retail Firms:
J J t R E ξ E t [ Π t + 1 ζ 1 J J t + 1 R E β g , t + 1 ] = Y t n h , t U C , t R E + ( 1 n h , t ) U C , t B R J t R E ξ E t [ Π t + 1 ζ J t + 1 R E β g , t + 1 ] = 1 1 1 ζ Y t M C t M S t n h , t U C , t R E + ( 1 n h , t ) U C , t B R P t 0 P t R E = J t R E J J t R E
  • BR Retail Firms:
J t B R = 1 1 1 ζ Y t M C t M S t + Ω 3 , t J J t B R = Y t + Ω 4 , t P t 0 P t B R = J t B R J J t B R
where
Ω 3 , t = ξ ( E f , t * Π t + 1 ) ζ E t * Y t + 1 E t * M C t + 1 E t * M S t + 1 E f , t * R t + 1 ξ ( Π t + 1 ) ζ Ω 4 , t = ξ ( E f , t * Π t + 1 ) ζ 1 E t * Y t + 1 E f , t * R t + 1 ξ ( E f , t * Π t + 1 ) ζ 1 E f , t * R t + 1 = E f , t * R n , t Π t + 1 = R n , t E f , t * Π t + 1
  • One-Period Ahead Adaptive Expectations:
E t * [ β g , t + 1 ] = E t 1 * [ β g , t ] + λ 1 , β g β g , t 1 E t 1 * [ β g , t ] + λ 2 , β g β g , t 1 β g , t 2 ; λ i , β g [ 0 , 1 ] E t * [ G t + 1 ] = E t 1 * [ G t ] + λ 1 , G G t E t 1 * [ G t ] + λ 2 , G G t G t 1 ; λ i , G [ 0 , 1 ] E t * [ W t + 1 ] = E t 1 * [ W t ] + λ W W t E t 1 * [ W t ] + λ 2 , W W t W t 1 ; λ i , W [ 0 , 1 ] E t * [ Γ t + 1 ] = E t 1 * [ Γ t ] + λ 1 , Γ Γ t E t 1 * [ Γ t ] + λ 2 , Γ Γ t Γ t 1 ; λ i , Γ [ 0 , 1 ] E t * [ R n , t + 1 ] = E t 1 * [ R n , t ] + λ 1 , R n R n , t E t 1 * [ R n , t ] + λ 2 , R n R n , t R n , t 1 ; λ i , R n [ 0 , 1 ] ( households ) E h , t * [ Π t + 1 ] = E t 1 * [ Π t ] + λ 1 h , Π Π t 1 E t 1 * [ Π t ] + λ 2 h , Π Π t 1 Π t 2 ; λ i h , Π [ 0 , 1 ] ( households ) E f , t * [ Π t + 1 ] = E t 1 * [ Π t ] + λ 1 f , Π Π t 1 E t 1 * [ Π t ] + λ 2 h , Π Π t 1 Π t 2 ; λ i f , Π [ 0 , 1 ] ( firms ) E t * [ Y t + 1 ] = E t 1 * [ Y t ] + λ 1 , Y Y t 1 E t 1 * [ Y t ] + λ 2 , Y Y t 1 Y t 2 ; λ i , Y [ 0 , 1 ] E t * [ M C ˜ t + 1 ] = E t 1 * [ M C ˜ t ] + λ 1 , M C M C ˜ t E t 1 * [ M C ˜ t ] + λ 2 , M C M C ˜ t M C ˜ t 1 ; λ i , M C [ 0 , 1 ]
where M C ~ t M C t M S t . Note that we have used the first-order approximation log X t X X t X X .
  • Wealth Distribution:
First, define bond holdings of BR households by
B t B R = R t B t 1 B R + W t H t B R + Γ t C t B R T t ϖ 2 ( B t 1 B R B ) 2
having introduced a portfolio cost adjustment with a small ϖ . Then, replace C t B R and the Euler equation above with
C t B R B t B R ( 1 E t * β g , t + 1 ) = 1 ( C t B R ) 1 ϕ W t 1 + 1 ϕ + E t * R n , t + 1 R n , t E t * W t + 1 1 + 1 ϕ ( E t * β g , t + 1 ) 1 ϕ ( E t * R t + 1 e x ) 1 + 1 ϕ 1 + Γ t G t + E t * R n , t + 1 R n , t E t * ( Γ t + 1 G t + 1 ) E t * R t + 1 e x 1 1 ( C t B R ) 1 ϕ W t 1 + 1 ϕ + E t * R n , t + 1 R n , t 1 + 1 ϕ Ω 1 , t + Γ t G t + E t * R n , t + 1 R n , t Ω 2 , t U C , t R E = E t β g , t + 1 U C , t + 1 R E ( R t + 1 ϖ ( B t R E B ) )
where zero net wealth implies n h , t B t R E = ( 1 n h , t ) B t B R .
  • Closure of Model:
Y t = n h , t C t R E + ( 1 n h , t ) C t B R + G t G t = T t log R n , t R n = ρ r log R n , t 1 R n + ( 1 ρ r ) ( θ π log Π t Π t a r g , t + θ y log Y t Y + θ d y log Y t Y t 1 ) + ϵ M P , t log A t log A = ρ A ( log A t 1 log A ) + ϵ A , t log G t log G = ρ G ( log G t 1 log G ) + ϵ G , t log M S t log M S = ρ M S ( log M S t 1 log M S ) + ϵ M S , t log Π t a r g , t log Π = ρ π ( log Π t a r g , t 1 log Π ) + ϵ π , t
  • Endogenous Proportions of RE and BR Agents:
The payoff for households and firms is expressed in terms of a discounted sum of past weighted forecast errors, Φ h , t say, starting at t = 0 for rational and non-rational households, respectively,
Φ h , t R E = μ h R E Φ h , t 1 R E ( 1 μ h R E ) ( w β g ( β g , t E h , t 1 β g , t ) / β g ) 2 + w G ( ( G t E h , t 1 G t ) / G ) 2 + w W ( ( W t E h , t 1 W t ) / W ) 2 + w h , Π ( ( Π t E h , t 1 Π ) / Π ) 2 + w Γ ( ( Γ t E h , t 1 Γ t ) / Γ ) 2 + w R ( ( R n , t E t 1 R n , t ) / R n ) 2 + C h ) Φ h , t B R = μ h B R Φ h , t 1 B R ( 1 μ h B R ) ( w β g ( β g , t E h , t 1 * β g , t ) / β g ) 2 + w G ( ( G t E h , t 1 * G t ) / G ) 2 + w W ( ( W t E h , t 1 * W t ) / W ) 2 + w h , Π ( ( Π t E h , t 1 * Π ) / Π ) 2 + w Γ ( ( Γ t E h , t 1 * Γ t ) / Γ ) 2 + w R ( ( R n , t E t 1 R n , t ) / R n ) 2 ) )
The parameter C h is a fixed cost of being rational for households. For firms, this becomes
Φ f , t R E = μ f R E Φ f , t 1 R E ( 1 μ f R E ) ( w Y ( ( Y t E f , t 1 Y t ) / Y ) 2 + w f , Π ( ( Π t E f , t 1 Π ) / Π ) 2 + w M C ( ( M C ˜ t E f , t 1 M C ˜ t ) / M C ) 2 + C f ) Φ f , t B R = μ f B R Φ f , t 1 B R ( 1 μ f B R ) ( w Y ( ( Y t E f , t 1 * Y t ) / Y ) 2 + w f , Π ( ( Π t E f , t 1 * Π ) / Π ) 2 + w M C ( ( M C ˜ t E f , t 1 * M C ˜ t ) / M C ) 2 )
where parameter C f is a fixed cost of being rational for firms, and we allow for the possibility that C h C f . Then, the proportions of rational households and firms is given by
n h , t = exp ( γ Φ h , t R E ) exp ( γ Φ h , t ) R E + exp ( γ Φ h , t B R ) = exp ( γ ( Φ h , t R E Φ h , t B R ) ) exp ( γ ( Φ h , t R E Φ h , t B R ) ) + 1 n f , t = exp ( γ Φ f , t R E ) exp ( γ Φ f , t ) R E + exp ( γ Φ f , t B R ) = exp ( γ ( Φ f , t R E Φ f , t B R ) ) exp ( γ ( Φ f , t R E Φ f , t B R ) ) + 1
Thus, the proportion of rational agents in the steady state is given by
n h = exp ( γ C h ) exp ( γ C h ) + 1 n f = exp ( γ C f ) exp ( γ C f ) + 1
which is pinned down by the cost parameters ( C h , C f ) (which can be positive or negative).
  • Welfare and Consumption Equivalence:
U t = log ( ( n h , t C t R E + ( 1 n h , t ) C t B R ) ( n h , t H t R E + ( 1 n h , t H t ) B R ) 1 + ϕ 1 + ϕ w e l t = ( 1 β g , t ) U t + E t [ β g , t + 1 w e l t + 1 ] w e l t R E = ( 1 β g , t ) U t R E + E t [ β g , t + 1 w e l t + 1 R E ] w e l t B R = ( 1 β g , t ) U t B R + E t [ β g , t + 1 w e l t + 1 B R ] C E t = log ( 1.01 C t ) log ( C t )

Appendix C. Balanced Growth Steady State

In recursive form, the zero-growth zero-inflation ( Π = 1 ) steady state can be written as
R = 1 β Λ = β M C = P W P = 1 1 ζ C Y = 1 g y H = α Δ α M C κ ( 1 g y ) Y W = ( A H ) α Y = Y W Δ α W = α P W P Y W H J = Y M C U C ( 1 1 ζ ) ( 1 ξ β Π ζ ) J J = Y U C ( 1 ξ β Π ζ 1 ) Hence ,   with   Π = 1 , J = J J Δ = 1 Γ = Y α M C Y W
For a particular steady state, the inflation rate Π > 1 , and the NK features of the steady state become
J J J = 1 ξ Π ζ 1 1 ξ 1 1 ζ M C = P W P = 1 1 ζ J ( 1 β ξ Π ζ ) J J ( 1 β ξ Π ζ 1 ) Δ = ( 1 ξ ) α J J J ζ 1 ξ Π ζ
then, P W Y W / P Y = M C Δ .
We can now easily set up the model with a balanced exogenous-growth steady state. Now the process for A t is replaced with
A t = A ¯ t A t c A ¯ t = ( 1 + g ) A ¯ t 1 exp ( ϵ A , t ) log A t c log A c = ρ A ( log A t 1 c log A c ) + ϵ A , t
where A t is a labour-augmenting technical progress parameter which we decompose into a cyclical component, A t c , modelled as a temporary AR(1) process and a stochastic trend, whose log is a random walk with drift, A ¯ t . Thus, the balanced growth deterministic steady state path is driven by labour-augmenting technical change growing at a net rate g. If we put g = ϵ t r e n d , t = 0 and A ¯ t = 1 , we arrive at our previous formulation with A t c = A t .
Now stationarise the variables by defining cyclical and stationary components
( Y t W ) c Y t W A ¯ t = A t c H t α C t c C t A ¯ t W t c W t A ¯ t U t c log C t c κ H t 1 + ϕ 1 + ϕ U C , t c 1 C t c Λ t , t + 1 = β U C , t + 1 U C , t = β g , t + 1 U C , t + 1 c U C , t c
for all non-stationary variables where
g t ( A ¯ t A ¯ t 1 ) A ¯ t = ( 1 + g ) exp ( ϵ A , t ) 1 β g , t β ( 1 + g t )
is the stochastic steady state growth rate; then, the stationarised Euler equation and the Calvo pricing become
E t Λ t , t + 1 R t + 1 = E t β g , t + 1 U C , t + 1 c U C , t c R t + 1 = 1
and
J J ^ t c ξ E t [ Π t + 1 ζ 1 J J ^ t + 1 c Λ t , t + 1 ] = Y t c J ^ t c ξ E t [ Π t + 1 ζ J ^ t + 1 c Λ t , t + 1 ] = Y t c M C t M S t
or equivalently
J J ^ t c ξ E t [ Π t + 1 ζ 1 J J ^ t + 1 c β g , t + 1 ] = Y t c U t c J ^ t c ξ E t [ Π t + 1 ζ J ^ t + 1 c β g , t + 1 ] = Y t c U t c M C t M S t
The steady state for the rest of the system is the same as the zero-growth one except for the following relationships:
R = 1 β g = R n Π
where R and R n are the real and nominal steady state interest rates, and Π is inflation.

Appendix D. Lemma

In the first-order conditions for Calvo contracts and expressions for value functions, we are confronted with expected discounted sums of the general form
Ω t = E t k = 0 β k X t , t + k Y t + k
where X t , t + k has the property X t , t + k = X t , t + 1 X t + 1 , t + k and X t , t = 1 (for example an inflation, interest or discount rate over the interval [ t , t + k ] ).
Lemma A1.
Ω t can be expressed as
Ω t = Y t + β E t X t , t + 1 Ω t + 1
Proof. 
Ω t = X t , t Y t + E t k = 1 β k X t , t + k Y t + k = Y t + E t k = 0 β k + 1 X t , t + k + 1 Y t + k + 1 = Y t + β E t k = 0 β k X t , t + 1 X t + 1 , t + k + 1 Y t + k + 1 = Y t + β E t X t , t + 1 Ω t + 1

Appendix E

Proof of Equation (28). 
In the next period, ξ of these firms will keep their old prices, and ( 1 ξ ) will change their prices to P t + 1 O . By the law of large numbers, we assume that the distribution of prices among those firms that do not change their prices is the same as the overall distribution in period t. It follows that we may write
Δ t + 1 = ξ j n o c h a n g e P t ( j ) P t + 1 ζ + ( 1 ξ ) J t + 1 J J t + 1 ζ = ξ P t P t + 1 ζ j n o c h a n g e P t ( j ) P t ζ + ( 1 ξ ) J t + 1 J J t + 1 ζ = ξ P t P t + 1 ζ j P t ( j ) P t ζ + ( 1 ξ ) J t + 1 J J t + 1 ζ = ξ Π t + 1 ζ Δ t + ( 1 ξ ) J t + 1 J J t + 1 ζ

Appendix F. Additional Simulated IRFs for RE-BR Composite Models

Figure A3. RE versus RE-BR composite expectations with n h = n f = 0.5 ; λ x = 0.25 , 1.0 ; Taylor rule with ρ r = 0.7 , θ π = 1.5 and θ y = 0.3 ; technology shock.
Figure A3. RE versus RE-BR composite expectations with n h = n f = 0.5 ; λ x = 0.25 , 1.0 ; Taylor rule with ρ r = 0.7 , θ π = 1.5 and θ y = 0.3 ; technology shock.
Algorithms 16 00280 g0a3
Figure A4. RE versus RE-BR composite expectations with n h = n f = 0.5 ; λ x = 0.25 , 1.0 ; Taylor rule with ρ r = 0.7 , θ π = 1.5 and θ y = 0.3 ; mark-up shock.
Figure A4. RE versus RE-BR composite expectations with n h = n f = 0.5 ; λ x = 0.25 , 1.0 ; Taylor rule with ρ r = 0.7 , θ π = 1.5 and θ y = 0.3 ; mark-up shock.
Algorithms 16 00280 g0a4

Appendix G. Robustness

Table A1. Third-order solution of the estimated NK RE-BR model; μ h R E = μ h B R = μ f R E = μ f B R = 0.5 ; γ = 1 , 100 , 1000 .
Table A1. Third-order solution of the estimated NK RE-BR model; μ h R E = μ h B R = μ f R E = μ f B R = 0.5 ; γ = 1 , 100 , 1000 .
VariableStochastic MeanStandard Deviation (%)SkewnessKurtosis
C t C 0.9995440.0420570.3233040.093034
H t H 1.0002730.0051110.038002−0.020743
W t W 0.9998100.0381450.3185860.073488
Π t Π 0.9998980.004235−0.0458000.030136
R n , t R n 0.9998870.004440−0.0462540.044145
Φ h , t R E C h −0.0004430.000257−1.5041593.793195
Φ h , t A E −0.0005260.000303−1.5925814.581412
Φ f , t R E C f −0.0001990.000116−1.6727775.558457
Φ f , t A E −0.0003490.000226−1.8973357.457836
n h , t ( γ = 1 ; σ = 1 ) 0.1000080.0000130.4887743.275592
n f , t ( γ = 1 ; σ = 1 ) 0.1000140.0000161.6804926.480563
n h , t ( γ = 100 ; σ = 1 ) 0.1007500.0012950.4887743.275592
n f , t ( γ = 100 ; σ = 1 ) 0.1013520.0015681.6804926.480563
n h , t ( γ = 1000 ; σ = 1 ) 0.1075020.0129520.4887743.275592
n f , t ( γ = 1000 ; σ = 1 ) 0.1135190.0156791.6804926.480563
n h , t ( γ = 1000 ; σ = 2 ) 0.1300100.0528730.5350463.638229
n f , t ( γ = 1000 ; σ = 2 ) 0.1541850.0636241.7793217.399916
Table A2. Third-order solution of the estimated NK RE-BR model; μ h R E = μ h B R = μ f R E = μ f B R = 0.75 ; γ = 1 , 100 , 1000 .
Table A2. Third-order solution of the estimated NK RE-BR model; μ h R E = μ h B R = μ f R E = μ f B R = 0.75 ; γ = 1 , 100 , 1000 .
VariableStochastic MeanStandard Deviation (%)SkewnessKurtosis
C t C 0.9995440.0420570.3233040.093034
H t H 1.0002730.0051110.038002−0.020743
W t W 0.9998100.0381450.3185860.073488
Π t Π 0.9998980.004235−0.0457970.030137
R n , t R n 0.9998870.004440−0.0462510.044145
Φ h , t R E C h −0.0004430.000170−0.9785981.538134
Φ h , t A E −0.0005260.000204−1.0882022.164231
Φ f , t R E C f −0.0001990.000077−1.0633122.243911
Φ f , t A E −0.0003490.000159−1.4142874.290569
n h , t ( γ = 1 ; σ = 1 ) 0.1000080.0000080.3507162.281134
n f , t ( γ = 1 ; σ = 1 ) 0.1000140.0000111.3856354.243151
n h , t ( γ = 100 ; σ = 1 ) 0.1007500.0008210.3507162.281134
n f , t ( γ = 100 ; σ = 1 ) 0.1013520.0010811.3856354.243151
n h , t ( γ = 1000 ; σ = 1 ) 0.1075030.0082110.3507162.281134
n f , t ( γ = 1000 ; σ = 1 ) 0.1135210.0108121.3856354.243151
n h , t ( γ = 1000 ; σ = 2 ) 0.1300120.0336990.4066192.557592
n f , t ( γ = 1000 ; σ = 2 ) 0.1541910.0440601.4910714.993491

References

  1. Branch, W.A.; Evans, G.W. Monetary Policy and Heterogeneous Agents. Econ. Theory 2011, 47, 365–393. [Google Scholar] [CrossRef]
  2. De Grauwe, P. Animal spirits and monetary policy. Econ. Theory 2011, 47, 423–457. [Google Scholar] [CrossRef]
  3. De Grauwe, P. Booms and Busts in Economic Activity: A Behavioral Explanation. J. Econ. Behav. Organ. 2012, 83, 484–501. [Google Scholar] [CrossRef]
  4. De Grauwe, P. Lectures on Behavioral Macroeconomics; Princeton University Press: Princeton, NJ, USA, 2012. [Google Scholar]
  5. Sims, C. Macroeconomics and Reality. Econometrica 1980, 48, 1–48. [Google Scholar] [CrossRef]
  6. Evans, G.W.; Honkapohja, S. Learning and Macroeconomics. Annu. Rev. Econ. 2009, 1, 421–449. [Google Scholar] [CrossRef]
  7. Eusepi, S.; Preston, B. The science of monetary policy: An imperfect knowledge perspective. In Federal Reserve Bank of New York Satff Reports; No. 782; Federal Reserve Bank of New York: New York, NY, USA, 2016. [Google Scholar]
  8. Branch, W.A.; McGough, B. Heterogeneous Expectations and Micro-Foundations in Macroeconomics. In Handbook of Computational Economics 4; Elsevier: Amsterdam, The Netherlands, 2018. [Google Scholar]
  9. CalvertJump, R.; Levine, P. Behavioural New Keynesian Models. J. Macroecon. 2019, 59, 58–77. [Google Scholar]
  10. Caiani, A.; Godin, A.; Caverzasi, E.; Gallegati, M.; Kinsella, S.; Stiglitz, J. Agent based-stock flow consistent macroeconomics: Towards a benchmark model. J. Econ. Dyn. Control 2016, 69, 375–408. [Google Scholar] [CrossRef]
  11. Tesfatsion, L. Agent-based computational economics: A constructive approach to economic theory. In Handbook of Computational Economics; Tesfatsion, L.S., Judd, K.L., Eds.; North-Holand: Amsterdam, The Netherlands, 2006; pp. 831–880. [Google Scholar]
  12. Levine, P. The State of DSGE Modelling. In Oxford Research Encyclopedia of Economics and Finance; Oxford University Press: Oxford, UK, 2020. [Google Scholar]
  13. Brock, W.A.; Hommes, C. A Rational Route to Randomness. Econometrica 1997, 65, 1059–1095. [Google Scholar] [CrossRef]
  14. Tamvada, J.P.; Chowdhury, R. The irrationality of rationality in market economics: A paradox of incentives perspective. Bus. Soc. 2023, 62, 482–487. [Google Scholar] [CrossRef]
  15. Sirota, M.; Juanchich, M.; Holford, D.L. Rationally irrational: When people do not correct their reasoning errors even if they could. J. Exp. Psychol. Gen. 2023. advance online publication. [Google Scholar] [CrossRef]
  16. Kreps, D. Anticipated Utility and Dynamic Choice. In Frontiers of Research in Economic Theory; Jacobs, D., Kalai, E., Kamien, M., Eds.; Cambridge University Press: Cambridge, UK, 1998; pp. 242–274. [Google Scholar]
  17. Adam, K.; Marcet, A. Internal Rationality, Imperfect Market Knowledge and Asset Prices. J. Econ. Theory 2011, 146, 1224–1252. [Google Scholar] [CrossRef]
  18. Cogley, T.; Sargent, T.J. Anticipated utility and rational expectations as approximations of bayesian decision making. Int. Econ. Rev. 2008, 49, 185–221. [Google Scholar] [CrossRef]
  19. Branch, W.A.; McGough, B. Dynamic predictor election in a new keynesian model with heterogeneous agents. J. Econ. Dyn. Control 2010, 34, 1492–1508. [Google Scholar] [CrossRef]
  20. Massaro, D. Heterogeneous Expectations in Monetary DSGE Models. J. Econ. Dyn. Control 2013, 37, 680–692. [Google Scholar] [CrossRef]
  21. Cornea-Madeira, A.; Hommes, C.; Massaro, D. Behavioral Heterogeneity in U.S. Inflation Dynamics. J. Bus. Econ. Stat. 2019, 37, 288–300. [Google Scholar] [CrossRef]
  22. CalvertJump, R.; Hommes, C.; Levine, P. Learning, Heterogeneity, and Complexity in the New Keynesian model. J. Econ. Behav. Organ. 2019, 166, 446–470. [Google Scholar] [CrossRef]
  23. Milani, F. Expectations, learning and macroeconomic persistence. J. Monet. Econ. 2007, 54, 2065–2082. [Google Scholar] [CrossRef]
  24. Anufriev, M.; Hommes, C.; Makarewicz, T. Simple Forecasting Heuristics that Make Us Smart: Evidence from Different Market Experiments; Working Paper Series 29; Economics Discipline Group, UTS Business School, University of Technology: Sydney, Australia, 2015. [Google Scholar]
  25. Hommes, C. Behavioral Rationality and Heterogeneous Expectations in Complex Economic Systems; Cambridge University Press: Cambridge, UK, 2013. [Google Scholar]
  26. Schmitt-Grohe, S.; Uribe, M. Closing small open economy models. J. Int. Econ. 2003, 61, 163–185. [Google Scholar] [CrossRef]
  27. Dixit, A.K.; Stiglitz, J.E. Monopolistic competition and optimal product diversity. Am. Econ. Rev. 1977, 67, 297–308. [Google Scholar]
  28. Calvo, G. Staggered Prices in a Utility-Maximising Framework. J. Monet. Econ. 1983, 12, 383–398. [Google Scholar] [CrossRef]
  29. Nimark, K.P. Man-Bites-Dog Business Cycles. Am. Econ. Rev. 2014, 104, 2320–2367. [Google Scholar] [CrossRef]
  30. Deak, S.; Levine, P.; Pearlman, J.; Yang, B. Internal Rationality, Learning and Imperfect Information; School of Economics, University of Surrey: Guildford, UK, 2017; Discussion Papers 08/17. [Google Scholar]
  31. Smets, F.; Wouters, R. Shocks and Frictions in US business cycles: A Bayesian DSGE approach. Am. Econ. Rev. 2007, 97, 586–606. [Google Scholar] [CrossRef]
  32. Deak, S.; Mirza, A.; Levine, P.; Pearlman, J. Designing Robust Policies using Optimal Pooling; School of Economics, University of Surrey: Guildford, UK, 2019; Discussion Papers 12/19. [Google Scholar]
  33. Deak, S.; Mirza, A.; Levine, P.; Pham, S. Negotiating the Wilderness of Bounded Rationality through Robust Policy; School of Economics, University of Surrey: Guildford, UK, 2023; Discussion Papers 02/23. [Google Scholar]
  34. Bildirici, M.; Ersin, O. Markov-switching vector autoregressive neural networks and sensitivity analysis of environment, economic growth and petrol prices. Environ. Sci. Pollut. Res. 2018, 25, 31630–31655. [Google Scholar] [CrossRef] [PubMed]
Figure 1. RE versus RE-BR composite expectations with n h = n f = 0.5 , λ x = 0.25 , 1.0 ; Taylor rule with ρ r = 0.7 , θ π = 1.5 and θ y = 0.3 , θ d y = 0 ; monetary policy shock.
Figure 1. RE versus RE-BR composite expectations with n h = n f = 0.5 , λ x = 0.25 , 1.0 ; Taylor rule with ρ r = 0.7 , θ π = 1.5 and θ y = 0.3 , θ d y = 0 ; monetary policy shock.
Algorithms 16 00280 g001
Table 1. Third-order solution of the estimated NK RE-BR model; μ h R E = μ h B R = μ f R E = μ f B R = 0 ; γ = 1 , 100 , 1000 .
Table 1. Third-order solution of the estimated NK RE-BR model; μ h R E = μ h B R = μ f R E = μ f B R = 0 ; γ = 1 , 100 , 1000 .
VariableStochastic MeanStandard Deviation (%)SkewnessKurtosis
C t C 0.9995440.0420570.3233040.093034
H t H 1.0002730.0051110.038002−0.020743
W t W 0.9998100.0381450.3185860.073488
Π t Π 0.9998980.004235−0.0458000.030136
R n , t R n 0.9998870.004440−0.0462540.044145
Φ h , t R E C h −0.0004430.000446−2.0788096.635580
Φ h , t A E −0.0005260.000516−2.1689478.000489
Φ f , t R E C f −0.0001990.000203−2.2795579.082031
Φ f , t A E −0.0003490.000342−2.2699539.937975
n h , t ( γ = 1 ; σ = 1 ) 0.1000080.0000230.8576384.454288
n f , t ( γ = 1 ; σ = 1 ) 0.1000140.0000251.5861946.015115
n h , t ( γ = 100 ; σ = 1 ) 0.1007500.0022970.8576384.454288
n f , t ( γ = 100 ; σ = 1 ) 0.1013520.0024791.5861946.015115
n h , t ( γ = 1000 ; σ = 1 ) 0.1075010.0229730.8576384.454288
n f , t ( γ = 1000 ; σ = 1 ) 0.1135180.0247871.5861946.015115
n h , t ( γ = 1000 ; σ = 2 ) 0.1300070.0934820.8885924.857691
n f , t ( γ = 1000 ; σ = 2 ) 0.1541820.1002651.6834306.867599
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Deák, S.; Levine, P.; Pearlman, J.; Yang, B. Reinforcement Learning in a New Keynesian Model. Algorithms 2023, 16, 280. https://doi.org/10.3390/a16060280

AMA Style

Deák S, Levine P, Pearlman J, Yang B. Reinforcement Learning in a New Keynesian Model. Algorithms. 2023; 16(6):280. https://doi.org/10.3390/a16060280

Chicago/Turabian Style

Deák, Szabolcs, Paul Levine, Joseph Pearlman, and Bo Yang. 2023. "Reinforcement Learning in a New Keynesian Model" Algorithms 16, no. 6: 280. https://doi.org/10.3390/a16060280

APA Style

Deák, S., Levine, P., Pearlman, J., & Yang, B. (2023). Reinforcement Learning in a New Keynesian Model. Algorithms, 16(6), 280. https://doi.org/10.3390/a16060280

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop