continuous time problem

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.

continuous time problem

Postby lucy » Tue Aug 01, 2006 12:01 pm

Dear all,
I have a continuous time problem and get a dynamic system of seveal differential equations by solving hamiltonian. So i just change all differential variables into discrete variables, for example, changing 'dc/dt' to 'c(+1)-c', and then use dynare. Just want to make sure whether it is right or not. Thanks. :wink: Lucy
lucy
 
Posts: 4
Joined: Wed May 24, 2006 1:31 pm

Postby MichelJuillard » Tue Aug 01, 2006 7:15 pm

Most likely it isn't right. If you have a continuous time problem and differential equations, I would use software for differential equations, not Dynare.

It is true that solving differential equations numerically involves discretization, but that step is more complicated than just replacing dc/dt by c-c(-1). For example, when do you replace by c-c(-1) and when by c(+1)-c ?

I don't have a reference at hand, but there are several books on solving numerically differential equations that will discuss discretization.

Hope it helps

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby lucy » Wed Aug 02, 2006 2:12 am

Thanks.
i think, maybe its better to try WinPP to solve continuous dynamical system.
lucy
 
Posts: 4
Joined: Wed May 24, 2006 1:31 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests