DH10.mod

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.

DH10.mod

Postby masopa87 » Sun Jul 10, 2011 4:44 pm

Hi everybody!
I'm trying to run the file DH10.mod which is an example of MS-SBVAR, just to have an idea of the output and about how to use the code. Anyway, when I compute "dynare DH10.mod", I get this error message:

Starting Dynare (version 4.2.1).
Starting preprocessing of the model file ...
ERROR: There are 0 equations but 2 endogenous variables!

??? Error using ==> dynare at 126
DYNARE: preprocessing failed

How could I tell the program which equations I'd like to estimate? Any suggestions?

Thank you!
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm

Re: DH10.mod

Postby wjgatt » Sun Jul 10, 2011 5:22 pm

You must first declare the equations like any other model, even if it's calibrated.
I'd suggest you look at the example files that came with Dynare, such as fs2000.mod. You'll find these in your C drive in the folder 'dynare'.

Hope this helps.
W
wjgatt
 
Posts: 23
Joined: Thu Jun 16, 2011 7:23 pm

Re: DH10.mod

Postby masopa87 » Sun Jul 10, 2011 5:33 pm

I tried to declare some fake equations just to see whether it worked but I got the same error....
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm

Re: DH10.mod

Postby wjgatt » Sun Jul 10, 2011 5:46 pm

post your mod file, maybe I can help. I can't promise anything, I've only been using dynare regularly some weeks ago, and i've always worked with calibrated models.
wjgatt
 
Posts: 23
Joined: Thu Jun 16, 2011 7:23 pm

Re: DH10.mod

Postby masopa87 » Sun Jul 10, 2011 6:46 pm

Theoretically, a VAR model doesn't require any specification of the equations. It's not like a calibrated model. Anyway, this is the file provided as an example.

Thanks for your availability!
Attachments
DH10.mod
(722 Bytes) Downloaded 181 times
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm

Re: DH10.mod

Postby wjgatt » Sun Jul 10, 2011 7:02 pm

oh yeah didn't even realise you were talking about a bvar. sorry have no experience what so ever with vars in dynare!
wjgatt
 
Posts: 23
Joined: Thu Jun 16, 2011 7:23 pm

Re: DH10.mod

Postby HoutanBastani » Mon Jul 11, 2011 4:02 pm

Hello,

Ms-sbvar currently resides only in the unstable branch. It will be released with the next stable release of Dynare, version 4.3.

You must download the snapshot from the Dynare website to use it. If you have already done so, you need to adjust your matlab path to point to the unstable version of Dynare.

Your path currently points to Dynare 4.2.1 because your output (from the original message in this thread) reads:

Starting Dynare (version 4.2.1).
Starting preprocessing of the model file ...
ERROR: There are 0 equations but 2 endogenous variables!


Best,
Houtan
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: DH10.mod

Postby masopa87 » Tue Jul 12, 2011 5:54 pm

I see. Thanks for the explanation! Anyway how could I tell the program to read in the unstable branch?
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm

Re: DH10.mod

Postby olayenidynare » Fri Jul 15, 2011 5:28 pm

Go to http://www.dynare.org/snapshot/win and download the latest version of the unstable dynare and install it the way you would the stable version. I just tried it and it worked. A new experience. Very interesting.
olayenidynare
 
Posts: 22
Joined: Sat Feb 21, 2009 3:17 pm

Re: DH10.mod

Postby masopa87 » Sat Jul 16, 2011 2:44 pm

Thanks! I did not realize that I had installed both dynare 4.2.1 and the unstable version! Now it works.
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 11 guests