Lecture1 Introduction
Lecture1 Introduction
César Salinas
Indiana University
Spring 2023
Introduction
▶ Email: [email protected]
▶ Python is also very beginner-friendly and is found to be suitable for students learning
programming and recommended to introduce computational methods.
V = TV .
Two useful theorems. 2 crucially theorems in Chapter 3 of Stokey and Lucas: (i) the Blackwell’s
Theorem (BT), and (ii) the Contraction Mapping Theorem (CMT).
▶ To understand the BT you need to be familiarized with metric spaces, norms and contraction
mappings.
▶ The BT gives sufficient conditions for an operator T to be a contraction mapping (it lets
us to invoke the CMT).
▶ The latter theorem establishes that if an operator T is a contraction mapping, then
1. it has a unique fixed point, i.e. there exists a unique function V such that TV = V .
2. T n V0 → V as n → ∞.
▶ The beauty of CMT is powerful. It not only tell us the existence and uniqueness of V ∗ but
it also shows us how to find it!
▶ CMT suggests:
1. Set n = 0. Choose an initial guess V0 ∈ S
2. Find Vn+1 by solving
Vn+1 = TVn = max′ u(c) + βEV (z ′ , k ′ )
c,k
With all this in mind the answers to the previous questions are
1. Does a solution exist? Yes
2. Is there a unique solution or not? Yes
3. What are the relevant z, k? K × Z
4. How can V be represented on a computer? Matrix
5. How can we compute Ez ? Markov Chain
6. How can we find the optimal c and k ′ ? Checking all z, k
A Simple Example
Let’s consider the Neoclassical Growth model with: log utility, Cobb-Douglas production, full
depreciation and non-stochastic
s.t. c + k ′ = Ak α
or more compactly
α ′
Vn+1 (k) = TVn = max
′
log(Ak − k) + βVn (k )
k
We want to solve for the value function V (k) and the policy function k ′ = g (k)
Value Function Iteration
2. V2 becomes
log(Ak α − k ′ ) + β(log A + α log k ′ ) ,
V2 = max
′ k
αβAk α
and the FOC implies k′ = 1+αβ
3. Substitute k’ to obtain V2 and keep iterating until convergence. We can verify that in the
limit T → ∞
k ′ = αβk α
Projection Methods
▶ From the previous slide, we can notice that the value function takes the form of V (k) =
a + b log k where a and b are unkown coefficients.
Then, all we need to solve for is
▶ This can be solved with pencil and paper and we should get
▶ This method can also be applied to solve for the policy function directly.
When FOCs are sufficient, then we can find the solution to the above problem using the
FOC:
1 αβA(g (k))α−1
− = 0,
Ak − g (k) A((g (k))α − g (g (k)))
α
▶ Guessing g (k) = sAk α and substituting in the equation above we should be able to find
s = αβ
▶ The functional form will not be as simple and trivial as this one, but we will cover methods
to approximate functions with pretty flexible basis functions later
Content
2. Function Approximation
2.1 Endogenous Grid Method
3. Root Finding
3.1 Value Function Iteration with first order conditions
4. Optimization Methods
4.1 Value Function Iteration with optimization methods