1
1.1
Feb 20
Road map
From now on, we will look at Recursive Competitive Equilibrium (RCE). In Randys class, we learned that a Sequential Problem of SPP can be solved using Dynamic Programming. Now we will see that we can use the same Dynamic Programming technique to solve an equilibrium, RCE. First, we know the equivalence between an allocation of SPP and an allocation of ADE, using Welfare Theorems. And we showed that ADE can be represented as SME, where the market arrangements are more palatable. From today, we will see that SME is equivalent to RCE. When Welfare Theorems holds, we do not need to directly solve the equilibrium, because we know that allocation of SPP can be supported as an equilibrium and it is unique, meaning the SPP allocation is the only equilibrium. But if (i) assumptions of Welfare Theorems do not hold or (ii) we have more than one agent, thus we have many equilibrium depending on the choice of the Pareto weight in the Social Planners Problem, we can solve the equilibrium directly, both in theory and empirically using computer. Since (i) solving ADE is almost impossible, (ii) solving SME is very hard, but (iii) solving RCE is possible, RCE is important for analyzing this class of economies, where Welfare Theorems fail to hold. In ADE and SME, sequences of allocations and prices characterize the equilibrium, but in RCE, what characterize the equilibrium are functions from state space to space of controls and values.
1.2
Recursive representation in equilibrium
Remember that the consumers problem in SME is as follows: X t u(ct ) max
{kt+1 ,ct }t=0 t
(1) (2)
ct + kt+1 = wt + [1 + rt ]kt
How to translate the problem using recursive formulation? First we need to dene the state variables. state variables need to satisfy the following criteria: 1. PREDETERMINED: when decisions are made, the state variables are taken as given.
2. It must MATTER for decisions of agents: there is no sense of adding irrelevant variables as state variable. 3. It VARIES across time and state: otherwise, we can just take it as a parameter. Be careful about the dierence between aggregate state and individual state. Aggregate state is not aected by individual choice. But aggregate state should be consistent with the individual choice (we will consider the meaning of consistency more formally later), because aggregate state represents the aggregated state of individuals. In particular, in our RA-NGM, as we have only one agent, aggregate capital turns out to be the same as individual state in equilibrium, but this does not mean that the agent decide the aggregate state or the agent is forced to follow the average behavior, but rather the behavior of the agent turns out to be the aggregate behavior, in equilibrium. Also note that prices (wages, and rental rates of capital) is determined by aggregate capital, rather than individual capital, and since individual takes aggregate state as given, she also takes prices as given (because they are determined by aggregate state). Again, the aggregate capital turns out to coincide with the individual choice, but it is not because of the agents choice, rather it is the result of consistency requirement. One notational note. Victor is going to use a for individual capital and K for aggregate capital, in order to avoid the confusion between K and k. But the problem with aggregate and individual capital is often called as big-K, small-k problem, because the dierence of aggregate capital and individual capital is crucial. So for our case, the counterpart is big-K, small-a problem. Having said that we guess that candidates for state variables are {K, a, w, r }. But we do not need {r, w}. Why? Because they are redundant: K is the sucient statistics to calculate {r, w} and K is a state variable, we do not need {r, w} as state variables. Now lets write the representative consumers problem in the recursive way. At this point, the time subscript has not be got rid of. People care about todays period utility and the continuation utility from tomorrow t+1: Vt (K, a; G) = max [u(c) + Vt+1 (K 0 , a0 ; G)] 0
c,a
(3)
subject to c + a0 = w + [1 + r ]a w = w(K ) r = r(K ) K 0 = G(K ) Fundamental rules to write a well-dened problem: 2 (4) (5) (6) (7)
All the variables in the problem above: ([u(c) + V (K 0 , a0 ; Ge )]) have to be either (i) a parameter or an argument of the value function V(.) (state variable), (ii) a choice variable (so appear below max operator, c and a0 here), (iii) or dened by a constraint, in order for the problem to be well dened. In the case above, note (i) c and a0 is a choice variable, (ii) K 0 is dened by (7) (which we will discuss below), (iii) the variables in (4) (especially r and w) are also dened by constraints, which only contains state variables (K ), thus we know that the problem is well dened. Agents need to make expectations about tomorrows price to make consumption saving choice. Because prices {r, w} are given by marginal product of production functions. Agents have to make forecast or expectations about the future aggregate state of the world. We index the value function with G because the solution of the problem above depends on the choice of G. But what is appropriate G? This is revealed when we see the denition of an equilibrium below. Homework 1.1 Show the mapping dened by (3) is a contraction mapping. And prove the existence of FP and give the solutions properties.
1.3
Recursive Competitive Equilibrium:
Now, lets dene the Recursive Competitive Equilibrium: Denition 1.2 A Representative Agent Recursive Competitive Equilibrium with arbitrary expectation GE is {V (.), g (.), G(.)} such that 1. {V (.), g(.)} solves consumers problem: V (K, a, GE ) = max [u(c) + V (K 0 , a0 ; GE )] 0
c,a
subject to c + a0 = w (K ) + [1 + r (K ) ]a K 0 = GE (K ) Solution is g K, a; GE . (8) (9)
2. Aggregation of individual choice: K 0 = G(K ; GE ) = g(K, K ; GE ) 3 (10)
Some comments on the second condition. The second condition means that if a consumer turns out to be average this period (her individual capital stock is K, which is aggregate capital stock), the consumer will choose to be average in the next period (she chooses G(K ), which is a belief on the aggregate capital stock in the next period if todays aggregate capital stock is K). You can interpret this condition as consistency condition, because this condition guarantees that in an equilibrium, individual choice turns out to be consistent with the aggregate law of motion. Agents have rational expectation when G = GE . To compute this equilibrium, we can dene GE rst, then get g and G (.). The whole sequence of equilibrium choice is obtained by iteration. Now, lets dene A Representative Agent Recursive Competitive Equilibrium with rational expectation. Denition 1.3 A Representative Agent Recursive Competitive Equilibrium with rational expectation is {V (.), g (.), G(.)} such that 1. {V (.), g(.)} solves consumers problem: [u(c) + V (K 0 , a0 ; GE )] V (K, a, G) = max 0
c,a
subject to c + a0 = w (K ) + [1 + r (K ) ]a K 0 = G(K ) Solution is g (K, a; G) . 2. Aggregation of individual choice: K 0 = G(K ) = g (K, K ; G) (13) (11) (12)
In other words, a RA RCE with rational expectation is a RA RCE with expectation GE while with additional condition imposed: G K, GE = GE (K )
1.4
Solve SPP and RCE
When we look at SPP in recursive form, we nd a contraction mapping. The SPP is solved as the xed point of contraction mapping. In math, we dene R (K, K 0 ) + V1 (K 0 ) T (V0 ) (K ) = max 0
K X
where T maps a continuos, concave function to a continuos and concave function. And we can show T is a contraction mapping. To nd the xed point of this contraction V , we can use iteration: for any continuos and concave function V0 , V = lim T n (V0 )
n
such that R (K, K 0 ) + V (K 0 ) V = max 0
K X
But to solve a RE RA RCE, we cannot use such xed point theorem because we need b which has three parts nd (V, G, g ) jointly. Similarly, we can dene the following mapping T corresponding to (V, G) . s.j. c + a and the decision rule is a0 = g (K, a; G0 ) b2 (V0 , G0 ) = g (K, K ; G0 ) G1 (K ) = T b1 (V0 , G0 ) = max u (c) + V0 (G0 (K ) , a0 ) V1 (K, a) = T 0
c,a 0
= w (K ) + [1 + r (K )] a
b mapping gives V , and the second part gives G. We can see the rst component of T b is RE RA RCE. Fixed point of this mapping T b is not a contraction. It is more dicult to nd RE RA RCE in theory, but we But, T will see how we can solve the problem on computer later.
Another comment about RCE: If there are multiple equilibria in the economy, it is problematic to dene RCE. The reason is that RCE solution is functions. Given todays state variable, tomorrows state is unique. When we construct SME out of RCE {..., Ki , Kj , ...}, given Ki , there is only one unique Kj .
2
2.1
Feb 25
From RCE to SME
Homework 2.1 Prove that a RCE with RE is a SME. Hint 2.2 You can show by construction. Suppose we have a RCE. Using a0 (given) and G(K ), we can derive a whole sequence of {kt , ct } t=0 . Using the constructed sequences of allocation, we can construct sequence of prices {rt , wt } t=0 . Remember that we have necessary and sucient conditions for SME. we just need to show that the necessary and sucient conditions are satised by the constructed sequences.
2.2
RCE for the Economy with Endogenous Labor-Leisure Choice
Lets try to write down the problem of consumer. The rst try: V (K, a; G) = max {u(c, n) + V (K 0 , a0 ; G)} 0
c,n,a
(14)
subject to c + a0 = [1 + r(K )]a + w(K )n K 0 = G(K ) (15) (16)
This is an ill-dened problem. Why? Something is missing! r (K ) and w (K ) are wrong function of price because now K is not sucient determinant of w and r.From rms problem, we know w = f2 (K, N ) Now we have two options to add the missing piece. Option 1: write V (K, a; G, w (.) , r (.)). And the equilibrium condition would be w (K ) . = f2 (K, N ) r (K ) = f1 (K, N ) Option 2: write V (K, a; G, H ) where H function is agents expectation about aggregate labor as function of aggregate capital. N = H (K ) 6
then, the price function is w (K ) = f2 (K, H (K )) r (K ) = f1 (K, H (K )) We will use option 2 to write RCE with RE. Homework 2.3 Dene RCE using option 1 From now on, we will only look at RCE with rational expectation. Now the consumers problem is V (K, a; G, H ) = max {u(c, n) + V (K 0 , a0 ; G, H )} 0
c,n,a
(17)
subject to c + a0 = [1 + f1 (K, H (K ))]a + f2 (K, H (K ))n K 0 = G(K ) And the solutions are: a0 = g (K, a; G, H ) n = h(K, a; G, H ) Denition 2.4 A RCE is a set of functions {V (.), G (.) , H (.), g (.) , h(.)} such that 1. Given {G (.) , H (.)}, {V (.), g (.), h(.)} solves the consumers problem. 2. G(K ) = g(K, K ; G, H ) H (K ) = h(K, K ; G, H ) (22) (23) (20) (21) (18) (19)
2.3
More on solving RCE
We have known that we can dene mapping for u (a, a0 ) + V 1 (K 0 , a0 ) V 0 (K, a) = T V 1 (.) = max 0
a X
Note that we cannot solve a mapping since thats a mechanic thing. Mapping we have here is from a functional space to a functional space. We can only solve equation. For example, the Bellman equation is a functional equation which we can solve. u (a, a0 ) + V (K 0 , a0 ) V (K, a) = max 0
a X
When the mapping we dened above is a contraction mapping (sucient condition is monotonicity and discounting), then there is a unique xed point. This xed point can be obtained by iteration. For RCE, if we x G and H , we can construct the contraction mapping and get xed point by iteration. The reason why the value function is xed point is that in innite horizon economy, todays view of future is the same as that of tomorrow. For nite horizon economy, we have to solve problem backward, starting from VT 1 (.) = max u (.) + VT (.) To solve RCE, there are two steps. First, given G and H , we can solve the problem by some approximation methods (you will see this in late May). Second, we have to verify that G and H are consistent in equilibrium. That is agents expectation is actually correct as what happens in life. Since there is no contraction mapping for G0 (K ) = g K, K ; G0 , H 0 H 0 (K ) = h K, K ; G0 , H 0 Although compared with SPP, RCE is hard to solve, it can be used to characterize more kinds of economies, including those environments when welfare theorem does not hold.
it is hard to prove existence directly. But we can construct one and verify the equilibrium condition. This is the way to solve RCE.
2.4
RCE for non-PO economies
What we did with RCE so far can be claimed to be irrelevant. Why? Because, since the Welfare Theorems hold for these economies, equilibrium allocation, which we would like to investigate, can be solved by just solving SPP allocation. But RCE can be useful for analyzing much broader class of economies, many of them is not PO (where Welfare Theorems do not hold). Thats what we are going to do from now. Lets dene economies whose equilibria are not PO, because of distortions to prices, heterogeneity of agents, etc.
2.5
Economy with Externality
Suppose agents in this economy care about others leisure. We would like to have beer with friends and share time with them. So other peoples leisure enters my utility function. That is, the preference is given by
u(c, n, N ) where L=1-N is the aggregate leisure. One example may be log c + log (1 n) + (1 n) (1 N )17 With externality in the economy, competitive equilibrium cannot be solved from SPP. The problem of consumer is as follows: {u(c, n, N ) + V (K 0 , a0 )} V (K, a) = max 0
c,n,a
(24)
subject to c + a0 r w K0 N And the solutions are: a0 = g (K, a) n = h(K, a) We can dene RCE in this economy. Homework 2.5 Please dene a RCE for this economy. Compare the equilibrium with social planners solution and explain the dierence. Comments: 9 = = = = = [1 + r]a + wn Fk (K, N ) FN (K, N ) G(K ) H (K ) (25) (26) (27) (28) (29)
1. We will not write G and H in value function since this is the way we see in literature. But you should feel it.
N 2. What if you only wanna hang out with some friends? Write 12 in the utility function. This is the way we can work with RA framework. We can see how far we can get from RA model. To think how to write a problem with unemployment in a RA model, for example. But if you only wanna hang out with rich guys, RA is not enough. We will see how to model economy with certain wealth distribution later.
2.6
Economy with tax (1)
What is the government? It is an economic entity which takes away part of our income and uses it. The traditional (or right-wing) way of thinking of the role of the government is to assume that the government is taking away part of our disposable income and throw away into ocean. If you are left-wing person, you might think that the government return tax income to household as transfer or they do something we value. Lets rst look at the rst version where income tax is thrown into ocean. For now, we assume that the government is restricted by period-by-period budget constraint (so the government cannot run decit nor surplus). The consumers problem is as follows: V (K, a) = max [u(c, n) + V (G (K ) , a0)] 0
c,n,a
(30)
subject to c + a0 = a + {nf2 (K, H (K )) + [f1 (K ) ]a}(1 ) (31)
Income tax is proportional tax and only levied on income not on wealth. Depreciation is exempt from tax too. The government period by period constraint is trivial in this case: government expenditure = [f (K, H (K )) K ] Remark 2.6 Notice that the economy does not achieve Pareto Optimality, thus solved by SPP. Because in SPP, marginal rate of substitution equals to marginal rate of transformation. But in this economy, income tax aected equilibrium allocation in the following way: (i) the distortion is in favor of leisure against consumption. Why? Tax is only on income which is needed to get consumption not on leisure, but agent can simply work less to get higher utility. (ii) the distortion is in favor of today against tomorrow. The reason is the return of saving is less due to tax. 10
2.7
Economy with tax (2)
Now lets look at an economy where the tax income is returned to household in the form of lump sum transfers. Consumers problem is [u(c, n) + V (G (K ) , a0)] V (K, a) = max 0
c,n,a
(32)
subject to c + a0 = a + {nf2 (K, H (K )) + [f1 (K ) ]a}(1 ) + T (33)
Where T is lump sum transfer. From government period by period constraint, we know T = [f (K, H (K )) K ] The equilibrium in this economy is not Pareto optimal. The reason is that agents tend to work less in order to pay less tax. And they do not realize the lump sum tax they will get from government is aected by their action. But we can not blame them because agent only have power to control what she does, not others action. Only in a RA world, her action happens to be the aggregate state. We have to separate agents problem from equilibrium condition.
2.8
Economy with shocks to production
When there is shocks to production, should it be included in state variables?Yes, because shocks matters in two ways: (1) it changes rate of return. (2) it aects the way that economy evolves. Therefore, the state variables are: z, K, a. Consumers problem is X { u ( c ) + zz0 V (z 0 , K 0 , a0 (z 0 ) ; G, qz0 )} (34) V (z, K, a; G, qz ) = max 0 0
c,a (z ) z0
subject to c+ X
z0
qz0 (z, K ) a0z0 = [1 + r (z, K )]a + w (z, K ) r (z, K ) = zf1 (K, H (K )) w (z, K ) = zf2 (K, H (K )) K 0 = G(z, K )
(35) (36) (37) (38)
11
There is a complete set of markets for all possible contingences. So people can sign contract to trade state-contingent goods. What we have in the question above is statecontingent asset. q (z, z 0 ) has a fancy name of pricing kernel and it has to induce equilibrium in this economy. Since there is only one RA, in equilibrium, there is no trade. The decision rule is: a0z0 = gz0 (z, K, a; G, qz ) (39) Agent is free to choose any asset holding conditional on any z 0 . Thats why there are nz decision rules. But in equilibrium, there is only one K 0 get realized which cannot depend on z0. First, we can get nz market clearing condition for equilibrium: G (z, K ) = gz0 (z, K, K ) (40)
But there are nz + 1 functions to solve in equilibrium: gz0 and G. So there is one missing condition. We will see in next class that the missing condition is No Arbitrage condition: If one is free to store capital rather than trade state-contingent claim, the result is the same.
Feb 27
subject to
We have talked about stochastic RCE from last class. The consumers problem is X { u ( c ) + zz0 V (z 0 , K 0 , a0 (z 0 ))} V (z, K, a) = max 0 0
c,a (z ) z0
(41)
c+
X
z0
qz0 (z, K ) a0z0 = [1 + r (z, K )]a + w (z, K ) r (z, K ) = zf1 (K, H (K )) w (z, K ) = zf2 (K, H (K )) K 0 = G(z, K )
(42) (43) (44) (45)
The decision rule is: a0z0 = gz0 (z, K, a; G, qz ) In RCE, G (z, K ) = gz0 (z, K, K ) (47) (46)
which gives us nz conditions. But we need nz + 1 conditions. The missing condition is NA. 12
3.1
No Arbitrage condition in stochastic RCE
If the agent wanna have one unit of capital good for tomorrow, there are two ways to achieve this. One is the give up one unit of consumption today and store it for tomorrows one unit of capital good. The cost is 1. The other way is to purchase state-contingent asset to get one unit of capital good for tomorrow. How to do this? Buy one unit of state-contingent asset for all the possible z 0 . That is a0 (z 0 ) = 1, z 0 .The total cost is X qz0 (z, K )
z0
No Arbitrage condition is X qz0 (z, K ) = 1
z0
(48)
3.2
Steady State Equilibrium
In a sequential market environment, steady state equilibrium is an equilibrium where kt = k, t. In a deterministic economy without leisure nor distortion, we can rst look at the steady state of SPP. To nd steady state, we use Euler equation and equate all the k0 s. Note: Euler equation is a second order dierence equation, so there are k0 s at three dierent time involved, kt, kt+1 , kt+2 . In a RCE, steady state equilibrium is when K = G (K ) When there is shock in economy, strictly speaking steady state does not exist in the sense of K = G (K ) . Because now z is evolving stochastically and K 0 = G (z, K ). But we will see the probability measure of (K, z ) can be found as a stationary once the capital is set at right range. And of course, the shock has to be stationary somehow itself. Comments: 1. RCE is stationary automatically in the sense that there is no time subscript in value function and decision rule. 2. For some growing economy, we can always transform it into a non-growing economy, as you may see with Randy. 3. The way that econometricians and macroeconomists look at data are dierent. Econometricians believe there is a true data generating process underlying the data. Macroeconomists think that real data are generated by peoples choice. They test models by 13
comparing the properties of data generated by model to the real data. We will see how to use model to look at data later in the class.
3.3
FOC in stochastic RCE
u0 (c (z, K, K )) = X
z0
zz0 u0 [c (z 0 , K 0 , K 0 )] [1 + r (z 0 , K 0 )]
(49)
where from budget constraint, c (z, K, a) = [1 + r (z, K )]a + w (z, K ) X
z0
qz0 (z, K ) a0z0
Comment: in (49), the RA condition a = K is used. It is allowed because the substitution is done after we derive rst order condition. Agent only optimizes with respect to a0 , not K 0 . So, we get correct FOC rst. Then, we can apply equilibrium condition that a0 = K 0 . To derive FOC, envelope condition is used. FOC (a0 ): u0 (c (z, K, K )) qz0 (z, K ) + 0zz0 V3 (z 0 , K 0 , a0z0 ) = 0 By envelop condition V3 (z 0 , K 0 , a0z0 ) = [1 + r (z 0 , K 0 )]u0 [c (z 0 , K 0 , K 0 )] Homework 3.1 Derive Envelope condition for this problem. Therefore, u0 (c (z, K, K )) = 0zz0 [1 + r (z 0 , K 0 )]u0 [c (z 0 , K 0 , K 0 )] qz0 (z, K ) (51) (50)
If we can get c (z, K, K ) from SPP, (51) is an equation of qz0 (z, K ). qz0 (z, K ) = 0zz0 u0 [c (z 0 , K 0 , K 0 )] [1 + r (z 0 , K 0 )] u0 (c (z, K, K )) (52)
(52) gives the price that induce household to choose the same allocation c and a0 as from SPP. And such price ensure that agents decision gz0 (z, K, a) does not depend on z 0 in equilibrium: G (z, K ) = gz0 (z, K, K ) 14
Remark 3.2 Price q are related to but not the same as probability 0zz0 . It is also weighted by intertemporal rate of substitution to measure peoples evaluation on consumption at some event. One simple example: in two period economy where good state and bad state happen with equal probability, to induce people to choose endowment of 2 and 1 at time 1, price for bad state must be higher since consumption at bad state is more valuable to people. Remark 3.3 In this version of stochastic RCE, agent chooses state-contingent asset a0 for next period before shocks are realized. When next period comes, z 0 realizes and production takes place using the saving a0 . There are other dierent timings. Say, consumer chooses consumption and saving after shocks for next period get revealed. (49) and (52) are equilibrium condition for RCE. We can also get (49) in the following way: (52) holds for all z 0 . If we sum (52) over z 0 and use the No Arbitrage condition (48), we can get X 0 0 u0 [c (z 0 , K 0 , K 0 )] X [1 + r (z 0 , K 0 )] = zz 0 qz0 (z, K ) = 1 u ( c ( z, K, K )) 0 0 z z Therefore, u0 (c (z, K, K )) = X
z0
zz0 u0 [c (z 0 , K 0 , K 0 )] [1 + r (z 0 , K 0 )]
Up to this point, we know that people will same the same amount regardless of tomorrows state, because the price of state-contingent asset will induce them to do so. Therefore, an equivalent way to write RCE is to let agent choose tomorrows capital without trade of state-contingent asset. And we can dene RCE without q 0 s. Homework 3.4 Show that if there is a law saying that people have no right to buy statecontingent commodities. Then in equilibrium, the law is not binding. In other word, consumers problem is equivalent to X u ( c ) + zz0 V (z 0 , K 0 , a0 ) V (z, K, a) = max 0
c,a z0
subject to c + a0 = [1 + r (z, K )]a + w (z, K ) K 0 = G(z, K )
15
3.4
Economy with Two Types of Agents
Assume that in the economy there are two types of agents, called type A and type B. Measure of the agents of type A and type B are the same. Without loss of generality, we can think of the economy as the one with two agents, both of whom are price takers. Agents can be dierent in many ways, including in terms of wealth, preference, ability, etc. We will rst look at an economy where agents are dierent in wealth. There are 1/2 population of rich people and 1/2 population of poor people. For simplicity, we assume there are no shocks and agents do not value leisure. The state variables are aggregate wealth of both types, K A and K B . Why? We know wage and rental only depends on total capital stock K = K A + K B . But K is not sucient as aggregate state variables because agents need know tomorrows price which depends on tomorrows aggregate capital. Agents preference is the same, so the problem for both types are: V (KA , KB , a) = max {u(c) + V (GA (KA , KB ) , GB (KA , KB ))} 0
c,a
(53)
subject to c + a0 = [r (K ) + 1 ] a + w (K ) Solutions are: a0 = g (KA , KB , a) In RCE, the equilibrium condition is: GA (KA , KB ) = g (KA , KB , KA ) GB (KA , KB ) = g (KA , KB , KB ) Homework 3.5 Show that necessary condition for K to be sucient state variable is that agents decision rules are linear. Homework 3.6 Show GA (KA , KB ) = GB (KB , KA ) Homework 3.7 What does the theory say about the wealth distribution in steady state equilibrium for 2-type-agent economy above? Compare it with steady state wealth distribution in island economy where markets do not exist. (54)
16