Error using extended path command

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.

Error using extended path command

Postby h0ps » Sat Feb 22, 2014 12:39 pm

Hi

I get the following error message when I'm using the extended path command. Can anyone figure it out?

Error using homotopic_steps (line 151)
extended_path::homotopy: Oups! I did my best, but I am not able to simulate this
model...

Error in extended_path (line 314)
[INFO,tmp] = homotopic_steps(endo_simul,exo_simul_1,.5,.01,pfm1);

Error in NKmodel_baseline (line 139)
extended_path([], 100);

Error in dynare (line 174)
evalin('base',fname) ;
h0ps
 
Posts: 32
Joined: Tue Jul 10, 2012 1:55 pm

Re: Error using extended path command

Postby jpfeifer » Sun Feb 23, 2014 4:28 pm

Please try the most recent snapshot. There was a bug in stochastic extended path with homotopy. If the problem persists, 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

Re: Error using extended path command

Postby h0ps » Sun Feb 23, 2014 4:43 pm

Hi

I will try that. Thanks
h0ps
 
Posts: 32
Joined: Tue Jul 10, 2012 1:55 pm

Re: Error using extended path command

Postby racket » Fri May 08, 2015 2:22 pm

Hello, everyone!
I am trying to use the extended_path command (in Dynare 4.4.3), but I get the following error message:

Error using chol
Matrix must be positive definite.

Error in setup_stochastic_perfect_foresight_model_solver (line 23)
pfm.Omega = chol(pfm.Sigma,'upper'); % Sigma = Omega'*Omega

Error in extended_path (line 39)
pfm = setup_stochastic_perfect_foresight_model_solver(M_,options_,oo_,'Tensor-Gaussian-Quadrature');

Error in shock_eaa_tech (line 19126)
extended_path([], 100);

Error in dynare (line 180)
evalin('base',fname) ;


Any ideas of what might be wrong?
In this context, I just want to ask: is it possible to use the extended_path command for a deterministic model?
I am interested in somehow generating theoretical moments for the variables of the model.

Thanks a lot!
racket
 
Posts: 1
Joined: Fri May 08, 2015 2:18 pm

Re: Error using extended path command

Postby jpfeifer » Sun May 10, 2015 2:07 pm

1. Always provide files to replicate the issue
2. Why would you want to use extended path with a determinstic model? In this case, everything is known and no integrals need to be evaluated. In this case, Newton-type solvers can usually already solve your model, i.e. use simul (although it is not clear to me why someone wants moments from a deterministic model)
3. You cannot generate theoretical moments from a simulation-based solution.
------------
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: Google [Bot] and 6 guests