moments_varendo problem

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.

moments_varendo problem

Postby econ86 » Wed Feb 24, 2016 7:26 am

In order to compute the posterior distribution of the theoretical moments of the endogenous variables, after estimation I run the following:

estimation(datafile=Data,mode_compute=0,mode_file=DSGE_mode,presample=0, prefilter=0, load_mh_file, mh_replic=0,moments_varendo);

but I get the following error message:

Subscript indices must either be real positive integers or logicals.

Error in kernel_density_estimate (line 82)
xi(indx+[1 2]) = xi(indx+[1 2]) + [1-temp,temp]';

Error in posterior_moments (line 84)
[density(:,1),density(:,2)] = kernel_density_estimate(xx,number_of_grid_points,...

........

What is wrong?
econ86
 
Posts: 78
Joined: Sun Apr 26, 2015 10:32 am

Re: moments_varendo problem

Postby jpfeifer » Wed Feb 24, 2016 9:03 am

The crash itself seems to be a bug. Have you tried the 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: Google [Bot] and 15 guests