Matrix is not quasi-triangular

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.

Matrix is not quasi-triangular

Postby dean0504 » Thu Sep 25, 2014 3:55 am

Hi All. Dynare presents the following mistake information when I run the model
Code: Select all
At ../../../../dynare++/sylv/cc/QuasiTriangular.cpp:128:Matrix is not quasi-triangular

Error using mexErrCheck (line 41)
Error encountered in: gensylv.

Error in dyn_second_order_solver (line 116)
    mexErrCheck('gensylv', err);

Error in stochastic_solvers (line 225)
        dr = dyn_second_order_solver(jacobia_,hessian1,dr,M_,...

Error in resol (line 137)
    [dr,info] = stochastic_solvers(dr,check_flag,M,options,oo);

Error in stoch_simul (line 88)
    [oo_.dr,info,M_,options_,oo_] = resol(0,M_,options_,oo_);

Error in V2 (line 980)

Could anyone know how to solve it? The code is as attched.
Attachments
V2.mod
(10.08 KiB) Downloaded 57 times
dean0504
 
Posts: 25
Joined: Mon Jan 04, 2010 8:10 am

Re: Matrix is not quasi-triangular

Postby jpfeifer » Thu Sep 25, 2014 6:36 am

Run model_diagnostics. The most important issue is
Code: Select all
MODEL_DIAGNOSTICS: The following endogenous variables aren't present at the current period in the model:
Ht     
Hnt   
------------
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: Matrix is not quasi-triangular

Postby dean0504 » Thu Sep 25, 2014 10:31 am

Hi Jpfeifer! Thanks a lot! After revised the mistake, I met another problem. Dynare present the information as follows
Code: Select all
stoch_simul:: The simulations conducted for generating IRFs to epsilon_yrow were explosive.
stoch_simul:: No IRFs will be displayed. Either reduce the shock size,
stoch_simul:: use pruning, or set the approximation order to 1.

I searched in this forum and used the option "pruning", but I still cannot get the IRFs. Would you please give me some suggestions about this issue? The updated code is attached. Thanks!
Attachments
V2.mod
(10.07 KiB) Downloaded 51 times
dean0504
 
Posts: 25
Joined: Mon Jan 04, 2010 8:10 am

Re: Matrix is not quasi-triangular

Postby jpfeifer » Fri Sep 26, 2014 8:42 am

Your model has a unit root that makes all endogenous variables you want to simulate non-stationary. You need to deal with this first.
------------
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 4 guests

cron