Later Problem with Recursive Estimation

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.

Later Problem with Recursive Estimation

Postby luckassl » Wed Jul 31, 2013 2:54 am

Hi you all, greetings!

I've been having a problem when recursively estimating a model. After the first round of the MH algorithm, I'm always getting the following message:

Code: Select all
MH: Forecasted variables (mean)
MH: Forecasted variables (mean), done!
MH: Forecasted variables (point)
MH: Forecasted variables (point), done!
Error using set
Bad property value found.
Object Name: axes
Property Name: 'XLim'
Values must be increasing and non-NaN.

Error in xlim (line 44)
        set(ax,'xlim',val);

Error in dynare_estimation_1 (line 1044)
                xlim([1 gend])

Error in dynare_estimation (line 66)
        dynare_estimation_1(var_list,M_.dname);

Error in sim2est (line 142)
dynare_estimation(var_list_);

Error in dynare (line 120)
evalin('base',fname) ;


The model is running easily when estimating it with fixed samples. My last line of command is:

Code: Select all
estimation(datafile=data,nobs=[1:40], forecast=1,nodisplay, mh_replic=40000,mh_nblocks=5,mh_drop=0.5,mh_jscale=0.8,mode_compute=6,mode_check,moments_varendo);


I have a data file with 172 points. Thanks for helping me,

Luckas.
Last edited by luckassl on Wed Jul 31, 2013 3:09 am, edited 1 time in total.
luckassl
 
Posts: 3
Joined: Wed Jul 31, 2013 2:42 am

Re: Later Problem with Recursive Estimation

Postby jpfeifer » Wed Jul 31, 2013 7:28 am

Which Dynare version are you using. Have you tried the most recent snapshot? If the problem persists, send me the mod-file and the data-file as a private message.
------------
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: Later Problem with Recursive Estimation

Postby luckassl » Wed Jul 31, 2013 4:15 pm

Hi jp, thanks for your reply, using the 4.3.3 version!

message sent!
luckassl
 
Posts: 3
Joined: Wed Jul 31, 2013 2:42 am

Re: Later Problem with Recursive Estimation

Postby jpfeifer » Mon Aug 12, 2013 6:58 am

Either start at observation 2, i.e. nobs=2:40 or replace
Code: Select all
xlim([1 gend])

with
Code: Select all
xlim([1 max(2,gend)])

in dynare_estimation_1.m
------------
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: Later Problem with Recursive Estimation

Postby luckassl » Wed Aug 21, 2013 11:09 am

Thanks a lot JP!
luckassl
 
Posts: 3
Joined: Wed Jul 31, 2013 2:42 am

Re: Later Problem with Recursive Estimation

Postby jpfeifer » Wed Aug 21, 2013 11:23 am

The problem should also be fixed in the most recent 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: No registered users and 7 guests