DSGVAR command error


#1

Dears,
I am running the attached mod file to run a DSGEVAR with the following command:

estimation(datafile=RT_data2000q2_2017q3, first_obs=5, mode_compute=6, mh_replic=500000,mh_nblocks=4,mh_jscale=0.35,mh_drop=0.2,dsge_var, bayesian_irf, graph_format=(eps,fig),smoother);

Using dynare 4.5.4 and Matlab 2017. I got the following error:

RT_data2000q2_2017q3.xls (35 KB)
SW.mod (17.1 KB)

Error using lyapunov_symm
Too many input arguments.

Error in dsge_var_likelihood (line 165)
tmp0 =
lyapunov_symm(T,RQR’,DynareOptions.lyapunov_fixed_point_tol,DynareOptions.qz_criterium,DynareOptions.lyapunov_complex_threshold,
[], [], DynareOptions.debug);

Error in initial_estimation_checks (line 137)
[fval,info] =
feval(objective_function,xparam1,DynareDataset,DatasetInfo,DynareOptions,Model,EstimatedParameters,BayesInfo,BoundsInfo,DynareResults);

Error in dynare_estimation_1 (line 165)
oo_ =
initial_estimation_checks(objective_function,xparam1,dataset_,dataset_info,M_,estim_params_,options_,bayestopt_,bounds,oo_);

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

Error in SW (line 673)
oo_recursive_=dynare_estimation(var_list_);

Error in dynare (line 223)
evalin(‘base’,fname) ;

The weird thing is that with matlab 2015 the command is running. Do I miss something?
Thanks for your help.
Best
User


#2

This sounds like a path problem. Can you try what happens if you type
which lyapunov_symm
into the Matlab command window?


#3

It gives me the path of
C:\dynare_4.5\matlab\lyapunov_symm.m


#4

Is that where you installed Dynare?


#5

Yep! It is correct.


#6

Then I don’t understand the error message. I cannot replicate it on my machine. Have you tried reinstalling Dynare?