Hello,

I am new to using Bayesian estimation techniques and this is my first attempt at estimating with Dynare. It seems that in the estimation command Dynare is not reading the data file. I have made sure that the variables in the data file are the same as in varobs.

I get the following error:

You did not declare endogenous variables after the estimation/calib_smoother command.

Prior distribution for parameter betta has unbounded density!

Error using load_m_file_data_legacy (line 52)

Some variables are missing (PI c g or y)!

Error in makedataset (line 125)

DynareDataset = load_m_file_data_legacy(datafile, DynareOptions.varobs);

Sentiment2.mod (5.2 KB)

Sentiment2_steadystate.m (1.9 KB)

data_Sentiment2.m (3.6 KB)