error in bayesian 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.

error in bayesian estimation

Postby monsoon » Wed Apr 06, 2016 3:52 am

hi,

I have a simulated model (attached) and now I am trying to estimate it using bayesian methods. However, posterior density graphs are not showing up during the whole process. Errors generated

Error using chol
Matrix must be positive definite.

Error in metropolis_hastings_initialization (line 68)
d = chol(vv);

Error in random_walk_metropolis_hastings (line 62)
[ ix2, ilogpo2, ModelName, MetropolisFolder, fblck, fline, npar, nblck, nruns, NewFile, MAX_nruns, d ] = ...

Error in dynare_estimation_1 (line 782)
feval(options_.posterior_sampling_method,objective_function,options_.proposal_distribution,xparam1,invhess,bounds,dataset_,options_,M_,estim_params_,bayestopt_,oo_);

Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);

Error in utility_10 (line 659)
dynare_estimation(var_list_);

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

How do I rectify this?
Last edited by monsoon on Sat Oct 29, 2016 8:12 am, edited 1 time in total.
monsoon
 
Posts: 35
Joined: Mon Nov 09, 2015 4:47 am

Re: error in bayesian estimation

Postby jpfeifer » Fri Apr 08, 2016 7:26 am

At a minimum, there is an identification issue:
phi_p is not identified by J moments!
[dJ/d(phi_p)=0 for all J moments!]
phi_y is not identified by J moments!
[dJ/d(phi_y)=0 for all J moments!]


Given your observables, you cannot estimate those parameters. Moreover, your observation equations may not be correct. The means of the data are very different from the variables in the dataset. Also, some of the variables seem to have a seasonal pattern.
------------
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