deterministic shock, help

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.

deterministic shock, help

Postby chia » Fri Oct 05, 2012 7:34 am

Hello everybody,

I need some advise for a problem with deterministic shocks. I am simulating a very basic NK model with no capital and rotemberg pricing. I am trying to reach the ZLB with a temporary shock to the discount factor. With a certain calibration I obtained complex simulated series, with others I get the error copied below. Does this happen for a mistake in my code (which I don't find) or can it happen to have these problems with deterministic simulations?what should I do when facing this problems or in general also when I am told that the matrix is singular and I get no output?


Thank you for your reply


??? Error using ==> lnsrch1 at 105
Roundoff problem in nlsearch

Error in ==> solve1 at 127
[x,f,fvec,check]=lnsrch1(xold,fold,g,p,stpmax,func,j1,j2,varargin{:});

Error in ==> sim1_purely_forward at 36
tmp = solve1(model_dynamic, [yf; yf1], 1:M_.endo_nbr, 1:M_.endo_nbr, 1, 1,
oo_.exo_simul, M_.params, oo_.steady_state, it);

Error in ==> simul at 97
sim1_purely_forward;

Error in ==> oggisi at 210
simul();

Error in ==> dynare at 120
evalin('base',fname) ;
chia
 
Posts: 6
Joined: Wed Jul 18, 2012 10:19 pm

Re: deterministic shock, help

Postby jpfeifer » Sat Oct 20, 2012 10:28 pm

Please post the mod-file.
------------
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 help

Who is online

Users browsing this forum: No registered users and 6 guests