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

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

Error in ==> set_prior at 82
estim_params_.var_endo(i,1) =

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

Error in ==> mysoebayes at 202

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.