Bayesian estimation

Dear all,

I’m new in Bayesian estimation. I’m trying to make a simple example supported on the example of the Guide. However, (I have attached a mod file ) show the priors and then displays the following error:

Error in ==> kalman_filter at 78
notsteady = max(max(abs(K-oldK))) > riccati_tol;

Error in ==> DsgeLikelihood at 254
LIK = kalman_filter(T,R,Q,H,Pstar,Y,start,mf,kalman_tol,riccati_tol);

Error in ==> initial_estimation_checks at 60
[fval,cost_flag,ys,trend_coeff,info] =

Error in ==> dynare_estimation_1 at 334

Error in ==> dynare_estimation at 62

Error in ==> Ulighbay at 134

Error in ==> dynare at 132
evalin(‘base’,fname) ;

psd. I saw the example margaretchang but not is same.

help me,
Ulighbay.mod (1.42 KB)
fsdatb.m (6.28 KB)

You forgot to set the variance of e1. Due to it being initialized to 0, your model is stochastically singular.

It´s big mistake. Thank you jpfeifer .


I have read the bullet points and i completely agree with you. Thank you for sharing your thoughts. Your article shows tells me you must have a lot of background in this topic.

Its really good to know me! Great site and a great topic as well i really get amazed to read this thanks. love this way!
Well i have also faced this problem…it was very disturbing for me…!