Distortionary taxes in financial accelerator model

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.

Distortionary taxes in financial accelerator model

Postby katdro » Thu Aug 05, 2010 3:21 pm

Dear all,

I am trying to introduce consumption and labor income taxes in the financial accelerator model from Bernanke, Gertler and Gilchrist.
But when I try to run my Dynare file, matlab breaks down and does not start computing.

I get the message:

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

Starting Dynare (version 4.1.0).
Starting preprocessing of the model file ...
Found 19 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

And after this nothing happens at all, I can't work with Matlab anymore, and have to close matlab with the windows task manager. (Matlab runs well with other files - without distortionary taxes)
Does anybody have an explanation for this or any other helpful comment?

Thanks a lot in advance.
All the best
Katharina
Attachments
BGG_distortionary_tax.m
(9.35 KiB) Downloaded 182 times
katdro
 
Posts: 3
Joined: Thu Jul 08, 2010 10:02 am

Re: Distortionary taxes in financial accelerator model

Postby MichelJuillard » Thu Aug 05, 2010 4:05 pm

Please post the *.mod file as well.

Best

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

Re: Distortionary taxes in financial accelerator model

Postby katdro » Thu Aug 05, 2010 4:25 pm

Oh, sorry, here is the mod-file
Attachments
BGG_distortionary_tax.mod
(3.43 KiB) Downloaded 359 times
katdro
 
Posts: 3
Joined: Thu Jul 08, 2010 10:02 am

Re: Distortionary taxes in financial accelerator model

Postby jpfeifer » Thu Aug 05, 2010 5:25 pm

Try using

Code: Select all
resid(1);
steady;
check;

after shocks. You will see that the resid(1) command tells you that equations 1 and 14 do not hold with the starting values you provided. As you did not provide starting values, they are set to 0 by default. In case of a linear model like yours, this is absolutely correct. However, as 0 does not solve the two equations, there must be a mistake in them. You can also see this in the output of the steady command which shows you that the steady state is wrong. If you solve these issues, the model should run. Note also that you use an old Dynare version, which may not give you the best feedback. In my case, Dynare 4.1.2 told me
??? Error using ==> print_info at 36
MJDGGES returns the following error code: 14

instead of simply crashing.
------------
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: Distortionary taxes in financial accelerator model

Postby katdro » Fri Aug 06, 2010 8:10 am

Thanks a lot for the immediate and very helpful answer.
I installed Dynare 4.1.2 and I found my mistake. The file is runnig very well, now.
So thank you for your help!!

All the best
Katharina
katdro
 
Posts: 3
Joined: Thu Jul 08, 2010 10:02 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests