Dynare 4.2 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.

Dynare 4.2 error

Postby jmadeira » Sun Mar 13, 2011 12:37 pm

Hi,

I'm wondering if someone can help me. I'm trying to estimate a present value model as in the paper "Predictive Regressions: A Present-Value Approach" by Koijen and Binsbergen in Journal of Finance (2010) but I obtain the following message:
"??? Error using ==> union
Too many input arguments.

Error in ==> dynare_estimation_1 at 199
k2 = union(var_obs_index',[dr.nstatic+1:dr.nstatic+dr.npred]', 'rows');

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> PVmodel at 129
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;"

The mod file works fine with Dynare 4.1.3 and older versions (I have the same problem with other mod files that also worked fine in previous versions). Can anyone help me figure out what is wrong (I'm attaching the data and mod file)?

Thank you in advance!

Best,
Joao
Attachments
PVmodel_data.m
Data file
(2.15 KiB) Downloaded 130 times
PVmodel.mod
Mod file
(1.18 KiB) Downloaded 132 times
jmadeira
 
Posts: 27
Joined: Fri Sep 28, 2007 6:51 pm

Re: Dynare 4.2 error

Postby jpfeifer » Sun Mar 13, 2011 8:21 pm

Hi,
this is most probably a bug that has since been fixed. The newest Dynare unstable version runs again without problems.
------------
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