Integrals in Dynare

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Integrals in Dynare

Postby dkoursa » Fri May 19, 2017 1:27 pm

Dear all,

Is there a way to incorporate integrals in dynare code? For example, I have an integral of a distribution that is too complicated to do by hand. It also involves a lot of other variables. Therefore, I solved the integral with the symbolic toolbox, but as it is too complicated it was not solved. It is still depended on the variables in the integral. Therefore, is there a way for Dynare to solve it once the integral is included in a DSGE model, where some variables of it can be defined outside of the interval.

Many thanks.

Kind regards,
Demetris
dkoursa
 
Posts: 5
Joined: Mon Feb 13, 2017 9:01 am

Re: Integrals in Dynare

Postby jpfeifer » Mon May 22, 2017 5:49 pm

In principle Dynare could handle integrals via external functions, but not in the way you envision it. Dynare will not solve integrals for you (apart from the expecations in the rational expectations context)
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 12 guests