Check doesn't save eigenvalues (or i don't know where)

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.

Check doesn't save eigenvalues (or i don't know where)

Postby francescosat » Wed Nov 21, 2012 11:03 pm

Hi,

where can i find the eigenvalues of check command (as a vector) in order to use it for other purposes?

dynare guide says " check returns the eigenvalues in the global variable oo_.dr.eigval.
oo_.dr.eigval Contains the eigenvalues of the model, as computed by the check command.

I understand i will find the eigenvalues vector in oo_.dr.eigval but it is empty.

If i try to simulate (stoch_simul) the model, instead, typing oo_.dr.eigval i obtain the eigenvalues.


The solution could simply be to use the eigenvalues coming from stoch_simul but this stops when bk is not satified and i can't obtain anything.
francescosat
 
Posts: 21
Joined: Wed Nov 21, 2012 10:56 pm

Re: Check doesn't save eigenvalues (or i don't know where)

Postby ayse » Wed Dec 26, 2012 2:37 am

I'm having the same problem here. The only way I could circumvent the problem was to add a command on check.m that saves the eigenvalues in a .mat file and then load them in my main code. This is of course a short-run solution and I'm really wondering why Dynare 4.3.1 does not save any output in oo.
ayse
 
Posts: 2
Joined: Wed Dec 26, 2012 2:29 am

Re: Check doesn't save eigenvalues (or i don't know where)

Postby SébastienVillemot » Tue Jan 15, 2013 3:29 pm

This is a bug in Dynare. It has been fixed in the unstable branch, and the bugfix will be part of upcoming version 4.3.2.

Thanks for reporting,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Check doesn't save eigenvalues (or i don't know where)

Postby Gitte » Fri Aug 30, 2013 2:26 pm

ayse wrote:I'm having the same problem here. The only way I could circumvent the problem was to add a command on check.m that saves the eigenvalues in a .mat file and then load them in my main code. This is of course a short-run solution and I'm really wondering why Dynare 4.3.1 does not save any output in oo.


Ayse,
How did you do this?
I need an indicator variable for the Blanchard-Kahn Condition and would like to "grab" the result-variable from the Check.m code. But I am having trouble saving this variable in a .mat file. Would you mind sharing your code?

Thanks!
/Gitte
Gitte
 
Posts: 3
Joined: Thu May 23, 2013 9:02 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests