Program works but warnings

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.

Program works but warnings

Postby earsmall » Tue Sep 20, 2016 2:47 pm

I made a dynare program which seems to work well but I got the following message.

Note: warning(s) encountered in MATLAB/Octave code


Checking the results displayed, there is a warning message in front of Theoretical Moments as follows.

Warning: Aggregate variance and sum of variances by shocks differ by more than 0.01 %
> In th_autocovariances (line 198)
In disp_th_moments (line 37)
In stoch_simul (line 164)
In prac_ssz (line 504)
In dynare (line 180)


In fact, dynare can't find theoretical moments of some variables which are endogenous state variables in the model.

I want to estimate the model but am not sure there is no problem in the model.
Is there any problem in the program?
Last edited by earsmall on Tue Sep 27, 2016 4:13 pm, edited 1 time in total.
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: Program works but warnings

Postby jpfeifer » Mon Sep 26, 2016 9:51 am

The NaN come from the unit roots in your model. Given these unit roots and the size of the model, the warning is not that unusual. If the unit roots are a model feature, you should be fine.
------------
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 10 guests