documentation error on initial conditions

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.

documentation error on initial conditions

Postby dominik » Wed Nov 26, 2014 11:33 am

Hi

it seems to me the documentation is wrong here:
http://www.dynare.org/manual/index_20.h ... conditions

At the bottom it says:
"M-file (extension ‘.m’): for each endogenous and exogenous variable, the file must contain a row vector of the same name."

I get an error if i use row vectors but it works with colum vectors.
dominik
 
Posts: 22
Joined: Tue May 13, 2014 1:48 pm

Re: documentation error on initial conditions

Postby jpfeifer » Wed Nov 26, 2014 12:10 pm

Could you provide me with an example per Email?
------------
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: documentation error on initial conditions

Postby jpfeifer » Thu Nov 27, 2014 10:00 am

Thanks for pointing this out.
The attached file should solve the problem by automatically detecting whether column or row vectors are used.
Attachments
initvalf.m
(3.62 KiB) Downloaded 236 times
------------
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: documentation error on initial conditions

Postby jpfeifer » Mon Apr 06, 2015 8:48 pm

This will be solved in Dynare 4.5 and is fixed in the current unstable version.
------------
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 8 guests