nograph / smoothed shocks

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.

nograph / smoothed shocks

Postby mpko » Wed Apr 05, 2006 11:14 am

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]
    mpko
     
    Posts: 5
    Joined: Tue Jan 04, 2005 7:47 am

    Postby MichelJuillard » Thu Apr 06, 2006 7:37 am

    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
    MichelJuillard
     
    Posts: 680
    Joined: Thu Nov 18, 2004 10:51 am

    Postby mpko » Thu Apr 06, 2006 8:10 am

    Hi Michel,

    Thanks! It works now.

    Best,

    Mika
    mpko
     
    Posts: 5
    Joined: Tue Jan 04, 2005 7:47 am


    Return to Dynare help

    Who is online

    Users browsing this forum: No registered users and 5 guests