Assignment has more non-singleton rhs dimensions than no

Hi everyone;
I am new in dynare and have the following error… I am trying to do bayesian estimation in a small open economy…the mod file and my data is attached.
thank you for your help
Paula

??? Assignment has more non-singleton rhs dimensions than non-singleton
subscripts

Error in ==> set_prior at 82
estim_params_.var_endo(i,1) =
strmatch(deblank(M_.endo_names(estim_params_.var_endo(i,1),:)),deblank(options_.varobs),‘exact’);

Error in ==> dynare_estimation_1 at 104
[xparam1,estim_params_,bayestopt_,lb,ub,M_] = set_prior(estim_params_,M_,options_);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> mysoebayes at 202
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin(‘base’,fname) ;
data.txt (11.6 KB)
mysoebayes.mod (3.42 KB)

You assign a measurement error to the endogenous variable “q”, but then you don’t declare “q” as observable.

Either remove the measurement error on “q”, or make it observable.

In the future we will put a more explicit error message.