Unidentifiable error

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.

Unidentifiable error

Postby eta » Sat Feb 20, 2016 12:03 pm

Hi, everybody. I'm trying to solve a model with a specification that is slightly more complicated than the one for which I already have a running version. This is the resulting error:
SOLVE: maxit has been reached
Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL. For more information, click here.
Not enough input arguments.

Error in resid (line 87)
[N,nz]=size(z);

Error in steady (line 90)
resid;

Error in deleveraging_b (line 195)
steady;

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


I can't understand what the source of the problem is, since I am sure of the steady state, which can be easily computed using pencil and paper and the model equations are correct. Any hint ?

Thanks in advance.
Attachments
deleveraging_b.mod
(1.87 KiB) Downloaded 52 times
eta
 
Posts: 70
Joined: Sat Sep 27, 2014 3:48 pm

Re: Unidentifiable error

Postby jpfeifer » Sat Feb 20, 2016 3:58 pm

First of all, when putting resid before steady, I get
Residuals of the static equations:

Equation number 1 : 0
Equation number 2 : 0.055055
Equation number 3 : -9.4979e-06
Equation number 4 : -9.6782e-06
Equation number 5 : 0
Equation number 6 : 0
Equation number 7 : 0.00060711
Equation number 8 : -6.6667e-05
Equation number 9 : 0
Equation number 10 : 0
Equation number 11 : 0
Equation number 12 : -7.9348e-05
Equation number 13 : 0
Equation number 14 : 0

which means your initial values do not solve the model. Hence, there must be a mistake somewhere.

Second, the error message you report seems to be due to a path conflict. Please check whether there is a file another file resid.m that is called. E.g. type

Code: Select all
which resid

into Matlab and see what turns up.
------------
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: Unidentifiable error

Postby eta » Sat Feb 20, 2016 4:39 pm

Thanks, typing
Code: Select all
which resid
yields
C:\Program Files\MATLAB\R2015b\toolbox\ident\idobsolete\resid.m
It's part of a toolbox I didn't know existed. Unfortunately, I cannot rename this file. Is there another way around ?
eta
 
Posts: 70
Joined: Sat Sep 27, 2014 3:48 pm

Re: Unidentifiable error

Postby jpfeifer » Mon Feb 22, 2016 5:27 am

Please reset your Matlab path (Home Tab -> Set Path). First, delete all paths to Dynare. Then add path to the Dynare matlab folder on top. That should solve the problem.
------------
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 11 guests