<p>You could solve for the value function ex-post from the Bellman equation. For simplicity, consider a deterministic dynamic programming problem (in OLG model, you'd have age as another state variable, but I'll abstract from that). If $x$ is state and its next-period value $x'$ is control, $U(x,x')$ is one-period utility and you have somehow obtained decision rule $x' = g(x)$, it must be the case that the value function satisfies</p>

<p>$$
V(x) = U(x,g(x)) + \beta V(g(x))
$$</p>

<p>This is a functional equation in $V()$ that could also be solved by projection method. Alternatively, you could iterate on the Bellman equation (on some grid over state space) just like in VFI, but skipping the optimization step (since you already know the optimal choice), and eventually the value function should converge.</p>

CC BY-SA 3.0
2015-01-05T22:25:21.247Z
2015-01-05T22:25:21.247Z
ivansml
<p>I can't decide between using value function iteration or projection on chebyshev polynomials.</p>

<p>I'm inclined to use projection, however I need to compute (for welfare analysis) the value of the value function at some specific age.</p>

<p>Using the decision rules computed by projection and derived from FOCS is it possible to compute the expected lifetime discounted utility?</p>

<macroeconomics><computation>
Solving an OLG model, value function iteration vs. projection (chebyshev polynomial)
CooT
# Solving an OLG model, value function iteration vs. projection (chebyshev polynomial)

(Asked by: username_0 on 2015-01-05)

I can't decide between using value function iteration or projection on chebyshev polynomials.

I'm inclined to use projection, however I need to compute (for welfare analysis) the value of the value function at some specific age.

Using the decision rules computed by projection and derived from FOCS is it possible to compute the expected lifetime discounted utility?

**Tags:** macroeconomics, computation

---

## 1 answers

### Answer by username_1 on 2015-01-05. Score: 1 | Accepted answer

You could solve for the value function ex-post from the Bellman equation. For simplicity, consider a deterministic dynamic programming problem (in OLG model, you'd have age as another state variable, but I'll abstract from that). If $x$ is state and its next-period value $x'$ is control, $U(x,x')$ is one-period utility and you have somehow obtained decision rule $x' = g(x)$, it must be the case that the value function satisfies

$$
V(x) = U(x,g(x)) + \beta V(g(x))
$$

This is a functional equation in $V()$ that could also be solved by projection method. Alternatively, you could iterate on the Bellman equation (on some grid over state space) just like in VFI, but skipping the optimization step (since you already know the optimal choice), and eventually the value function should converge.


---

