Page 1 of 1

GPM with oil price and BLT - soe1bayes - error messages

PostPosted: Tue Oct 13, 2009 8:20 am
by tjonsson
Hi,

I'm estimating the full GPM model, i.e. with three economic areas, bank lending tightness variable and oil price, downloaded from Douglas Laxtons website. I receive this error message

??? Undefined function or method 'forecast_data_export' for input arguments of type
'char'.

Error in ==> soe1bayes at 1773
forecast_data_export(forecast_list, firstdate, forecastdate, nhistorical);

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


when running the following estimation command

estimation(datafile=data3ctry, mode_compute=0,mode_file=soe1bayes_mode, mh_replic=0,mh_jscale=0.35,mh_nblocks=1, filtered_vars,filter_step_ahead=[1:12],forecast=20, conf_sig=0.95)

Any idea what it refers to?


I'm using Dynare 4.0.4.

I attach code, steady state file and data (it can also be found on http://www.douglaslaxton.org/id4.html)

Regards,

Thomas

Re: GPM with oil price and BLT - soe1bayes - error messages

PostPosted: Mon Oct 19, 2009 9:09 am
by SébastienVillemot
Hi,

Your code fails when the MOD file calls the function "forecast_data_export", which is non-existent.

This is not a Dynare function. My guess is that this function is a GPM extension developed by the GPM team. So you need to ask the GPM team.

Best,