-
Notifications
You must be signed in to change notification settings - Fork 29
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
Epstein-Zin example #141
Comments
Hi @eloualiche, thanks for your interest.
and adapt the stochastic discount factor accordingly. In my case it is: So far, Dolo.jl cannot solve a model that has non-separable utility using value iteration. There is however some plans to do so. As you have noted there are two different function types:
|
Thanks a lot @albop. This is super useful. This wasn't immediately clear to me from the doc. This explains a few of the error message I received while trying to implement vfi bypassing the separable utility condition. I am not sure what you mean by "basic asset pricing"? It does look defining the auxiliary variables Is the python implementation ahead of julia so far or the two projects are moving in tandem? |
I am wondering if you could add an example where the utility function is non time separable, for example of the Epstein-Zin type.
It would make the package a lot more useful especially to the asset-pricing community which uses the preferences routinely within larger macroeconomic models.
I know that Jarda Borovicka has an example within his toolbox of how to implement it in dynare in the code attached to his paper: Examining Macroeconomic Models through the Lens of Asset Pricing.
The utility function is simply specified as:
where
GAMMA
is risk aversion,RHO
is the inverse of the elasticity of intertemporal substitution andBETA
is the rate of time preference.v
is the value function,ev
is the certainty equivalent of the value next period, andc
is consumption (all in logs).I am not quite sure how to specify the value function like such in dolo using
felicity
andvalue
.Maybe (but I am not quite sure of the risk adjustment depending on how expectations are taken on the expressions):
I think eventually an example that reproduces the Ai, Croce & Li simulation would be ideal but simply specifying EZ preferences would be a good start.
See the original dynare mod file:
aicroceli_final.mod.txt
The text was updated successfully, but these errors were encountered: