Assignment has more non-singleton rhs dimensions than no

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Assignment has more non-singleton rhs dimensions than no

Postby paula » Wed Apr 20, 2011 8:00 pm

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) ;
Attachments
data.txt
(11.55 KiB) Downloaded 112 times
mysoebayes.mod
(3.42 KiB) Downloaded 117 times
paula
 
Posts: 1
Joined: Wed Apr 20, 2011 7:53 pm

Re: Assignment has more non-singleton rhs dimensions than no

Postby SébastienVillemot » Mon May 02, 2011 10:43 am

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.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests