linear form

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.

linear form

Postby rama » Fri Mar 11, 2016 8:00 pm

Hello everybody
I am trying to estimate a DSGE model with fiscal policy and I need someone to log-linearize these equations if it possible
Code: Select all
      tax_t    = τ_(c,t) c_t   +   τ_(l,t) w_t l_t  + τ_(k,t) r_t z_t k_t

    d_t= g_t  + (R_(t-1)/π_t )  d_(t-1)  -   tax_t 
 


thank you in advance
rama
 
Posts: 4
Joined: Fri Mar 11, 2016 4:27 pm

Re: linear form

Postby ahnulxy » Sat Mar 12, 2016 4:24 pm

You donot have to log-linearized the equations. Acutally, Dynare will help you do so if you put order=1 in stoch_simul command or estimation command.
ahnulxy
 
Posts: 43
Joined: Thu May 10, 2012 7:24 am

Re: linear form

Postby rama » Sat Mar 12, 2016 11:19 pm

thank you for your reply but I inform you that the rest of my model is
log-linearized, so in my opinion I must linearize these equations to apply the command to estimate the overall model
what do you think ?
thank you
rama
 
Posts: 4
Joined: Fri Mar 11, 2016 4:27 pm

Re: linear form

Postby jpfeifer » Mon Mar 14, 2016 10:11 am

Sorry to say this, but if your are not capable of loglinearizing your equations yourself, you should not be working with linearized models.
------------
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

Re: linear form

Postby rama » Tue Mar 15, 2016 11:05 pm

thank you jpfeifer,
but the rest of my model is log linersed , so what I can execute my model with linear equations and nonlinear in the same time


tax_t = τ_(c,t) c_t + τ_(l,t) w_t l_t + τ_(k,t) r_t z_t k_t + τ_(k,t)(R_(t-1)-1) B_(t-1)/P_t

d_t= g_t + (R_(t-1)/π_t ) d_(t-1) - tax_t


tanks for your help
rama
 
Posts: 4
Joined: Fri Mar 11, 2016 4:27 pm

Re: linear form

Postby jpfeifer » Wed Mar 16, 2016 9:53 am

This is possible, but rather involved. The nonlinear equations contain separate variables (e.g. y) that are not percentage deviations from steady state (e.g. yhat). To link them to the percentage deviations, you need to define them as separate variabes and link them to the linearized ones by
Code: Select all
y_hat=log(y)-log(steady_state(y))

For y you then need to provide steady state values.
------------
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 contributions and examples

Who is online

Users browsing this forum: No registered users and 4 guests