moments_varendo
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
Hi there,
I've run a bayesian estimation and everything went well (bayesian irfs, mode computation, etc). But when I include the option moments_varendo in the estimation command, I get the error message (in both versions 4.1.1 and 4.1.2):
??? Undefined function or variable "MAX_mega_bytes".
Error in ==> selec_posterior_draws at 101
if SampleSize*drawsize <= MAX_mega_bytes% The posterior draws are saved
in one file.
Error in ==> posterior_analysis at 31
SampleAddress = selec_posterior_draws(SampleSize,drsize);
Error in ==> compute_moments_varendo at 64
oo_ =
posterior_analysis('variance',var_list_(i,:),var_list_(j,:),[],options_,M_,oo_);
Error in ==> dynare_estimation_1 at 1077
oo_ = compute_moments_varendo('posterior',options_,M_,oo_,var_list_);
Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});
Error in ==> brasil_estimacao at 2242
dynare_estimation(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
Can anyone please help? Thanks, Fabia
I've run a bayesian estimation and everything went well (bayesian irfs, mode computation, etc). But when I include the option moments_varendo in the estimation command, I get the error message (in both versions 4.1.1 and 4.1.2):
??? Undefined function or variable "MAX_mega_bytes".
Error in ==> selec_posterior_draws at 101
if SampleSize*drawsize <= MAX_mega_bytes% The posterior draws are saved
in one file.
Error in ==> posterior_analysis at 31
SampleAddress = selec_posterior_draws(SampleSize,drsize);
Error in ==> compute_moments_varendo at 64
oo_ =
posterior_analysis('variance',var_list_(i,:),var_list_(j,:),[],options_,M_,oo_);
Error in ==> dynare_estimation_1 at 1077
oo_ = compute_moments_varendo('posterior',options_,M_,oo_,var_list_);
Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});
Error in ==> brasil_estimacao at 2242
dynare_estimation(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
Can anyone please help? Thanks, Fabia