Gali and Blanchard (2010)

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.

Gali and Blanchard (2010)

Postby Zeinab » Sun Apr 26, 2015 8:36 am

Dears :)

I try to replicate the model of Gali and Blanchard (2010) and try to evaluate the welfare loss under second order approximation. but there are some errors in the code. I don't know where is the mistake., if you could help me please? Actually, I am new user in DYNARE

thanks much much.
Last edited by Zeinab on Thu Apr 30, 2015 2:03 pm, edited 1 time in total.
Zeinab
 
Posts: 20
Joined: Sun Apr 26, 2015 8:05 am

Re: Gali and Blanchard (2010)

Postby jpfeifer » Sun Apr 26, 2015 8:45 am

1. There is a semicolon missing at the end of the parameter definition after gdelta.
2. In the definition of rho the brackets of the log are missing
3. The definition of xi0 has a bracketing error.

Just follow the displayed lines in the error messages.
------------
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: Gali and Blanchard (2010)

Postby Zeinab » Sun Apr 26, 2015 8:55 am

Dear jpfeifer,

Thanks much, could I ask if I want to evaluate welfare with second order approximation. could you tell me the starting point for doing that?

Thanks again
Zeinab
 
Posts: 20
Joined: Sun Apr 26, 2015 8:05 am

Re: Gali and Blanchard (2010)

Postby jpfeifer » Sun Apr 26, 2015 9:46 am

------------
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: Gali and Blanchard (2010)

Postby Zeinab » Tue Apr 28, 2015 6:56 pm

Dear professor jpfeifer,

I try a lot and follow all the errors to rectify. could you please tell me where is the problem.

Thanks much
Zeinab
 
Posts: 20
Joined: Sun Apr 26, 2015 8:05 am

Re: Gali and Blanchard (2010)

Postby jpfeifer » Tue Apr 28, 2015 7:46 pm

Code: Select all
A*N         = Y;                                                           //Production function (from part of intermediate good firms)

is not a correct assignment. I must be
Code: Select all
Y=A*N;                                                           //Production function (from part of intermediate good firms)
------------
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: Gali and Blanchard (2010)

Postby Zeinab » Tue Apr 28, 2015 8:22 pm

sorry for taking this time, I do as you mention. but there is an error includes:
Y is not a parameter !
even I put in the variable, I know isn't parameter. how I can solve this problem.

Thanks a lot
Zeinab
 
Posts: 20
Joined: Sun Apr 26, 2015 8:05 am

Re: Gali and Blanchard (2010)

Postby jpfeifer » Fri May 01, 2015 6:27 pm

You deleted the mod-file, so it's impossible to tell.
------------
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: Gali and Blanchard (2010)

Postby Zeinab » Fri May 08, 2015 8:14 am

Dear Professor,
Could I ask If I want to transform the Phillips Curve from Linear to non- linear equation (in levels). I write the equation which I had. I follow some posts on the forum. but I couldn't understand what's the steps to transform, can you help me with this point? Thanks a lot

π_t = βE_t {π_(t+1) }-K_0 u_t+K_L u_(t-1)+K_f E_t {u_(t+1) }-λ γΦ (a_t )
Zeinab
 
Posts: 20
Joined: Sun Apr 26, 2015 8:05 am

Re: Gali and Blanchard (2010)

Postby federico » Fri May 08, 2015 8:27 am

federico
 
Posts: 68
Joined: Fri Mar 30, 2012 4:46 pm


Return to Dynare help

Who is online

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