Page 1 of 1

continuous time problem

PostPosted: Tue Aug 01, 2006 12:01 pm
by lucy
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

PostPosted: Tue Aug 01, 2006 7:15 pm
by MichelJuillard
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

PostPosted: Wed Aug 02, 2006 2:12 am
by lucy
Thanks.
i think, maybe its better to try WinPP to solve continuous dynamical system.