HI
I try to compute the root mean square error (RMSE) with dynare_sensitivity for a DSGE model but I encounter this error:
Operands to the || and && operators must be convertible to logical scalar values.
Error in initialize_dataset (line 35)
if isempty(nobs) || rows(rawdata)<nobs+first-1 %case 2: dataset has changed
Error in dynare_estimation_init (line 475)
dataset_ =
initialize_dataset(options_.datafile,options_.varobs,options_.first_obs,options_.nobs,transformation,options_.prefilter,xls);
Error in dynare_sensitivity (line 87)
[dataset_,xparam1,hh, M_, options_, oo_, estim_params_,bayestopt_]=dynare_estimation_init(M_.endo_names,fname_,1, M_,
options_, oo_, estim_params_, bayestopt_);
Error in dsge (line 376)
dynare_sensitivity(options_gsa);
Error in dynare (line 180)
evalin('base',fname) ;
Thank you for your help!