Linearization

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.

Linearization

Postby IrfanQureshi » Sat Apr 06, 2013 7:27 pm

Hello all,

Well i am facing a simple problem. I want to log-linearize a model so i put all my variables in exp, e.g c = exp(c) and so on. In initial value i then enter c = log(2.5), 2.5 being the steady state value of c and so on. This all is fine but i had a few questions:

1) If i dont transform the variables, can i still do a second order taylor expansion around the steady state? In this case how do i ask dynare to perform the linearization for me?
2) How do i deal with zero steady states?
3) Even if i do the linearizations with the log transformation, how can i get deviations from steady state instead of percentage deviations?

I have attached my codes for the same model:
myrbc1a is a simple model with exp and the code runs fine - the only thing i am concerned with is that i have computed initial values by hand and this could be a pain for larger models.
myrbc1b is the code i tried changing. In this code i tried using the solve_algo command but i think i made a mistake. Any examples of such codes would be appreciated!
Attachments
myrbc1a.mod
(622 Bytes) Downloaded 125 times
myrbc1b.mod
(580 Bytes) Downloaded 123 times
IrfanQureshi
 
Posts: 1
Joined: Wed Mar 13, 2013 9:39 am

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests