Hi,

I apologize in advance for a probably easy question, but I’m very new to Dynare and been struggling with this for a while.

I try to go through example code RBC_Est, but with slight difference, that is instead of simulated data I try to use HP filtered GDP. The data is stored in .xls file (one column named the same as in varobs). I get some errors I have troubles solving out. What I’m especially worried about is the line:

“You did not declare endogenous variables after the estimation command.”

I’ve been experimenting with inputting the data through other formats, but I repeatedly get the above message. I’ve even tried no to give any datafile in the workspace at all and check whether this message occurs and it did - that is why I think there is something wrong with reading the data.

I would be extremely thankful for any advice. Thanks in advance.

mateusz

Below the error message and files used in attachments.

dynare RBC_Est

Configuring Dynare …

[mex] Generalized QZ.

[mex] Sylvester equation solution.

[mex] Kronecker products.

[mex] Sparse kronecker products.

Starting Dynare …

Starting preprocessing of the model file …

9 equation(s) found

Processing derivation …

Processing Order 1… done

Processing Order 2… done

Processing outputs …

Preprocessing completed.

Starting Matlab computing …

You did not declare endogenous variables after the estimation command.

You did not declare endogenous variables after the estimation command.

??? Error using ==> print

Error using ==> graphics\private\ghostscript

Problem calling GhostScript. System returned error

Error in ==> plot_priors at 68

eval('print -dpdf ’ M_.fname ‘_Priors’ int2str(1)]);

Error in ==> dynare_estimation_1 at 92

plot_priors

Error in ==> dynare_estimation at 62

dynare_estimation_1(var_list,varargin{:});

Error in ==> RBC_Est at 130

dynare_estimation(var_list_);

Error in ==> dynare at 102

evalin(‘base’,fname) ;

RBC_Est.mod (779 Bytes)

HPcycle.xls (18.5 KB)