Page 1 of 1

nograph / smoothed shocks

PostPosted: Wed Apr 05, 2006 11:14 am
by mpko
Hi Michel,

I am trying to estimate one parameter for the new keynesian model with only one period of information. The estimation itself works nicely and provides reasonable posterior mode. Next, the program starts graphing smoothed shocks and there it crashes with the enclosed code.

I am quite happy with the estimation results and would like to keep program running. Is there a way to bypass graphing of smoothed shocks? nograph and nodiagnostics option do not help.

Cheers,

Mika



??? Error using ==> set
Bad value for axes property: 'XLim'
Values must be increasing and non-NaN.

Error in ==> xlim at 44
set(ax,'xlim',val);

Error in ==> dynare_estimation at 679
xlim([1 gend])

Error in ==> nwk at 170
dynare_estimation(var_list_);

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

Error in ==> estimate at 1
dynare nwk;
    [list=][/list]

    PostPosted: Thu Apr 06, 2006 7:37 am
    by MichelJuillard
    Hi Mika,

    unfortunately nograph isn't always working correctly. I see only a manual solution:
    copy dynare_estimation.m in your working directory and comment out the graphing instructions that make problem (around line 679).

    Best

    Michel

    PostPosted: Thu Apr 06, 2006 8:10 am
    by mpko
    Hi Michel,

    Thanks! It works now.

    Best,

    Mika