Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solving the model with EGM and progressive tax functions #961

Open
jdebacker opened this issue Aug 8, 2024 · 0 comments
Open

Solving the model with EGM and progressive tax functions #961

jdebacker opened this issue Aug 8, 2024 · 0 comments
Labels

Comments

@jdebacker
Copy link
Member

Via email, @john-p-ryan writes:

I have one question which I have been thinking about for a few days with regards to implementing EGM in OG-Core. The final step in solving for the policy functions involves inferring current period assets from the budget constraint. But the budget constraint also includes taxes, which depend on assets. Does this mean we have to solve for a fixed point for every grid point to back out assets from the budget constraint? This would probably considerably slow down the code, so if you have any other recommendations let me know.

We can think about EGM iterating backwards through the lifetime of the agent, using the 3 necessary conditions from the household: (1) the FOC for savings, (2) the FOC for the choice of labor, and (3) the budget constraint.

The FOC for savings (1) implies (in a model with wealth and income taxes, but abstracting from bequests):

$$ c_{s-1} = \left( \beta E_{s-1} \frac{\partial T_s}{\partial b_s}R_s c_s \right)^{\frac{-1}{\sigma}} $$,

where $\frac{\partial T_s}{\partial b_s}$ is the change in net taxes paid as a function of a change in $b_s$. This marginal change in taxes is itself is a function of $b_s$ and $n_s$ when there are progressive income and wealth taxes.

$c_s$ and $n_s$ would have been solved for in the prior period (see this in the final step with the budget constraint below). Without the progressive taxes, an analytical solution for $n_s$ as a function of $c_s$ could be found from the FOC for labor:

With progressive income taxes, the FOC for labor supply:

$$ n_s(c_s) = \left( \frac{(1 - \tau^{mtrx}(y_s))w e_s c_s^{-\sigma} }{\chi^n_s} \right)^{\gamma} $$

where $y_s = w e_s n_s + r b_{s}$

Now we need to solve for the endogenous grid of $b_{s-1}$ (i.e. the values of $b_{s-1}$ that correspond to each element in $b_s$). This is determined via the budget constraint:

$$ \underbrace{c_{s-1}}{\text{known from above}} = \underbrace{w e{s-1}n_{s-1}}{\text{do not know } n{s-1}} + \underbrace{R_{s-1}b_{s-1}}{\text{do not know } b{s-1}} - \underbrace{b_{s}}{\text{known}} - \underbrace{T(b{s-1}, n_{s-1})}{\text{do not know } n{s-1}, \ b_{s-1}}$$

$c_{s-1}$ was solved for above. The other unknowns, $b_{s-1}$ and $n_{s-1}$ will be solved for via a root finder with 2 equations (the FOC for labor supply and the budget constraint) and two unknowns.

Now with $c_{s-1}$, $n_{s-1}$, and $b_{s-1}$, we are back to solving for prior period consumption, now $c_{s-2}$...

In short, I think the solution will be slower because one won't have analytical solutions throughout. But one should be able to avoid having to solve a fixed point problem.

cc @rickecon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant