Definition 1.0.1 (Adjustment principle). According to Kocherlakota
(2007), by this principle, the better a model’s projected
data adheres to observed data, the more preferable it is for policy
analysis.
# 1.1 The idea of Representative Agents and Lifespan
The solution found was to group economic agents into large categories, for example, in the case of a study regarding consumers, forming groups with similar consumption characteristics (high, average and low-income consumers) would be recommended. Representative Agent
Households
Firms
Government
Financial Sector
Foreign Sector
Consider each agent’s lifespan
Obviously, firms and governments do not exist forever. However, when a government decides upon its budget, it does not expect that it will cease to exist. Firms act likewise; when deciding their budgets, they do not consider that they will go bankrupt in the future. This assumption in relation to consumers is simpler. Although it is assumed that each consumer has a finite lifespan, when considering the family structure in which members periodically are born and die, the "family" representative agent becomes infinite.
Real business cycle theory states that supply shocks (technological shocks) are what generate economic fluctuations, and uses a neoclassical growth model as a reference for the economy’s longterm behavior.
# 2.1 Brief theoretical review: Real Business Cycles
Three main problems:
a model with two goods (consumption and leisure)
u(C,H)
Strictly increasing, ∂C∂u>0 and ∂H∂u>0; and
Diminishing marginal returns, ∂C2∂2u<0 and ∂H2∂2u<0
intertemporal consumption-savings
a firm’s profit maximization problem
# 2.1.1 Model with two "goods": consumption and leisure
Assuming that an individual can work the amount of hours he/she likes (L), receiving an hourly wage W , total weekly income is:
Y=LW
As previously mentioned, the number of work hours (L) plus the number of leisure hours (H) per week, must be equal to 60 hours, L=60−H. Thus, income can be written as a function of leisure:
Y=(60−H)W
Another simplifying assumption is that individuals spend all their income on consumption, not saving anything. Each consumer good, c, can be bought on the market for the price P. Thus, an individual’s consumption in each period is:
Pc=Y
Combining the two previous expressions, we arrive at the following budget constraint:
Pc=(60−H)W
Budget constraint:
c=(P60W)−(PW)H
# Individuals’ decisions regarding consumption and work
In this model, individuals receive income twice during their lives - once in period 1 and once in period 2. They start off in period 1 with a certain amount of wealth, A0 . They choose consumption in period 1 (c1) paying a price of P1, and also decide how much wealth they will carry forward to period 2, A1. Thus, an individual’s budget constraint in period 1 can be written as:
P1c1+A1=RA0+Y1
where R is the gross nominal interest rate that represents the returns on each monetary unit held as a financial asset from one period to another.
Definition 2.1.5 (Problem of the firm). A profit-maximizing firm chooses input and production levels with the sole objective of maximizing economic profit. That is, firms wish to obtain the largest possible difference between total revenue and total costs.
Definition 2.1.6 (Marginal Rate of Technical Substitution). The negative slope of an isoquant curve consisting of two inputs, capital (K) and labor (L) is called the Marginal Rate of Technical Substitution (MRTS) at that point. That is,
Assumption 2.2.4. The economy in this model is formed by a unitary set of households indexed by j∈[0,1] whose problem is to maximize a particular intertemporal welfare function. To this end, a utility function is used, additively separable into consumption (C) and labor (L).
Assumption 2.2.5. Consumption is intertemporally additively separable (no habit formation).
Assumption 2.2.6. Population growth is ignored.
Assumption 2.2.7. The labor market structure is one of perfect competition (no wage rigidity).
The representative household optimizes the following welfare function (Constant Relative Risk Aversion, CRRA):
where Et is the expectations operator, β is the intertemporal discount factor, C is the consumption of goods, L is the number of hours worked, σ is the relative risk aversion coefficient, and φ is the marginal disutility in respect of labor supply.
UC>0andUL<0UCC<0andULL<0
Budget Constraints (Two sectors: Households own firms):
Pt(Cj,t+Ij,t)=WtLj,t+RtKj,t+Πt
where P is the general price level, I is level of investment, W is the level of wages, K is the capital stock, R is the return on capital, and Π is the firms’ profit (dividends).
Capital accumulation over time
Kj,t+1=(1−δ)Kj,t+Ij,t
where δ is the depreciation rate of physical capital.
The previous equation determines the household’s savings decision (in this model, savings is the acquisition of investment goods). Thus, when households decide their level of savings, they compare the utility rendered by consuming an additional amount today with the utility that would be rendered by consuming more in the future. Thus, if interest rate expectations rise, consuming "today" (at t) is more expensive and, ceteris paribus, future consumption (t+1) will rise.
where Etrt+1=Et(Pt+1Rt+1) is the real rate of return on capital.
In short, the problem of the household boils down to two choices. The first is an intratemporal choice between acquiring consumption and leisure goods. The other is an intertemporal choice, in which the household must choose between present and future consumption.
Assumption 2.2.8. There is a continuum of firms indexed by j that maximize profit observing a structure of perfect competition, this means that their profits will be zero (Πt=0, for every t).
To this end a Cobb-Douglas production function is used:
Yj,t=AtKj,tαLj,t1−α
Or, more popular one (CES):
F(Kt,Lt)=[αKtρ+(1−α)Ltρ]ρ1
where ρ∈(−∞,1)
The problem of the firm is solved by maximizing the Profit function, choosing the amounts of each input (Lt,Kt):
It is assumed that productivity shocks follow a AR(1) process, such that:
logAt=(1−ρA)logAss+ρAlogAt−1+ϵt
where Ass is the value of productivity at the steady state, ρA is the autoregressive parameter of productivity, whose absolute value must be less than one (∣ρA∣<1) to ensure the stationary nature of the process and εt∼N(0,σA).
Assumption 2.2.9. Productivity growth is ignored in this model.
As the marginal cost depends solely on productivity and the prices of the factors of production, it will be the same for all firms (MCj,t=MCt). Knowing that Pt=MCt, we arrive at the general price level,
since xi(p,pwi)satisfies the budget constraint pxi=pwi for each individual i=1,...,n
In other words, Walras’ law states that if each individual satisfies his/her budget constraint, the value of his/her excess demand is zero, therefore the sum of excess demand must also be zero.
Walras’ Law implies the existence of k-1 independent equations in equilibrium with k goods. Thus, if demand is equal to supply in k-1 markets, they will also be equal in the kth market. Consequently, if there are k markets, only k-1 relative prices are required to determine equilibrium.
Price Normalization:
pi=∑j=1kp^jp^i
The sum of the normalized prices pi must always be 1
k−1 dimension degree of freedom
Sk−1={p∈R+k:i=1∑kpi=1}
In short, the economy’s general price level can be normalized, Pss=1
Rss=Pss[(β1)−(1−δ)]
In the Dynare simulation, there is no need to substitute Rss in the other equations. It should just be shown before the other steady states.
Wss=(1−α)Pss1−α1(Rssα)1−αα
The next step is to satisfy the equilibrium condition.
To this end, the variables that make up aggregate demand (Css and Iss) must be determined.
The idea underlying the equilibrium condition is formed by the following proposition.
Proposition 2.2.2 (Market adjustment). Given k markets, if demand is equal to supply in k−1 markets and pk>0, then demand must equal supply in the kth market.
The problem is converting a non-linear model to a sufficiently adequate linear approximation such that its solution helps in the understanding of the underlying non-linear system’s behavior.
Uhlig (1999) recommends a simple method of log-linearization of functions that does not require differentiation: simply replacing a variable Xt with XsseX~t, where X~t=logX−logXss represents the log of the variable’s deviation in relation to its steady state.
Here, we have wt=Wt−Pt and rt=Rt−Pt, which represent wages and the real interest rate, respectively.
It can be seen that the inflection point for the wage level is 57% higher than its steady state level.
# 2.4 BOX 2.1 - Basic log-linear RBC moel on Dynare
// RBC model -Chapter 2
// note: W and R are real the simulation
var Y I C R K W L A;
varexo e;
parameters sigma phi alpha beta delta rhoa;
sigma = 2;
phi = 1.5;
alpha = 0.35;
beta = 0.985;
delta = 0.025;
rhoa = 0.95;
model(linear);
#Pss = 1;
#Rss = Pss*((1/beta)-(1-delta));
#Wss = (1-alpha)*(Pss^(1/(1-alpha)))*((alpha/Rss)^(alpha/(1-alpha)));
#Yss = ((Rss/(Rss-delta*alpha))^(sigma/(sigma+phi)))*(((1-alpha)^(-phi))*((Wss/Pss)^(1+phi)))^(1/(sigma+phi));
#Kss = alpha*(Yss/Rss/Pss);
#Iss = delta*Kss;
#Css = Yss - Iss;
#Lss = (1-alpha)*(Yss/Wss/Pss);
//1-Labor supply
sigma*C + phi*L = W;
//2-Euler equation
(sigma/beta)*(C(+1)-C)=Rss*R(+1);
//3-Law of motion of capital
K =(1-delta)*K(-1)+delta*I;
//4-Production function
Y=A + alpha*K(-1) + (1-alpha)*L;
//5-Demand for capital
R = Y - K(-1);
//6-Demand for labor
W = Y - L;
//7-Equilibrium condition
Yss*Y =Css*C + Iss*I;
//8-Productivity shock
A = rhoa*A(-1) + e;
end;
steady;
check;
model_diagnostics;
model_info;
shocks;
var e;
stderr 0.01;
end;
stoch_simul;
# 3.1.1 Differentiated Products and the Consumption Aggregator
Q: How to understand "the only one final comsumption good"?
A: One way to reconcile the use of a single consumption good is to assume that everything is made up of these many differentiated products. Specifically, it is assumed that the habitual notion of consumption is a function,
c=c(c1,c2,c3,…,cN)
If there are N different products, the consumption of all things is a function of N different types of consumer good, formally known as a consumption aggregator function.
The features of consumption function:
∂cj∂c(.)>0
∂cj2∂2c(.)<0
The aggregate consumption function most commonly used in New-Keynesian models is
where ψ is the elasticity of substitution between these differentiated goods, possessing great economic significance in New-Keynesian models. It determines to what degree, from a consumer’s point of view, products differ from one another.
ψ→∞, results in the simple linear sum c1+c2+c3+...+cN. Thus, each consumer good is as good as any other, from the viewpoint of the representative consumer, that is, the goods are perfect substitutes.
With ψ−1ψ>1, however, the goods are only imperfect substiψ −1 tutes, which means that they are differentiated to some degree, depending on the exact value of ψ. Generally, New-Keynesian models assume ψ−1ψ>1.
Definition 3.1.1 (Elasticity of substitution between two goods). For an aggregate function c(c1,c2)=[(c1)ψψ−1+(c2)ψψ−1]ψ−1ψ, the elasticity of substitution ψ measures the proportional change in c1/c2 in relation to the proportional change in the Marginal Rate of Substitution (MRS) along an indifference curve. That is, (WHY?)
The fundamental idea of New-Keynesian models does not lie in the representative consumer, but in firms, each of the N differentiated products presumed to be produced by a distinct monopolistically competitive firm.
Definition 3.1.2 (Monopolistic competition). A market is in monopolistic competition when it has many firms that produce very similar, but not identical products, and when new firms can freely enter the market. The causes of differentiation between products can be many and varied: products’ intrinsic qualities, location of firms, additional services provided by firms etc.
Defining ψ→∞ is a way of "turning off" the elements that New-Keynesian models use to include monopolistic competition.
In New-Keynesian models, there is imperfect competition in the market for products. The previous Keynesian models assumed perfect competition.
While previous Keynesian models consider nominal stickiness in monetary wages, New-Keynesian models also focus on the stickiness of the prices of products.
Besides the factors that cause stickiness in nominal variables, New-Keynesian models introduce real stickiness.
Definition 3.1.3 (Price stickiness). This refers to a situation in which the price of a good does not change immediately to a new equilibrium price when demand and/or supply curves are altered. Therefore, it is a failure of buyers and sellers to adapt to new market conditions and arrive at an equilibrium price.
Generally, the stylized facts about alterations in prices and wages are:
Prices and wages are temporarily rigid.
Prices and wages are readjusted on average two or three times a year.
Prices and wages being adjusted frequently are the main factor responsible for high inflation.
Prices and wages are not readjusted simultaneously.
Changes in prices of tradable goods are more frequent than with non-tradable goods.
# Appendix 1 An Application of DSGE: NONRIVALRY AND THE ECONOMICS OF DATA 数据经济学
We are particularly interested in how different property rights for data determine its use in the economy, and thus affect output, privacy, and consumer welfare.
The key finding in our paper is that policies related to data have important economic consequences. When firms own data, they may not adequately respect the privacy of consumers. But nonrivalry leads to other consequences that are less obvious. Because data is nonrival, there are potentially large gains to data being used broadly. Markets for data provide financial incentives that promote broader use, but if selling data increases the rate of creative destruction, firms may hoard data in ways that are socially inefficient.
Another allocation we consider is one in which a government — perhaps out of concern for privacy — sharply limits the use of consumer data by firms. While this policy succeeds in generating privacy gains, it may potentially have an even larger cost because of the inefficiency that arises from a nonrival input not being used at the appropriate scale.
Finally, we consider an institutional arrangement in which consumers own the data associated with their behavior. Consumers then balance their concerns for privacy against the economic gains that come from selling data to all interested parties. This equilibrium results in data being used broadly across firms, taking advantage of the nonrivalry of data. Across a wide range of parameter values explored in our numerical example, consumer ownership of data generates consumption and welfare that are substantially better than firm ownership.
the bundle B can be used by any number of firms simultaneously.
B≡x~NYi and x~ is the fraction of other firms' data that Tesla gets to use. (In richer model, both x and x~ are endogenous, subject to privacy considerations)
∴ Multiplier: the more people consume your product, the more data you have.