by hbadrakhan » Sun Jun 20, 2010 4:15 pm
Hi,
under dynare, i am using the (moments_varendo) as follows:
estimation(datafile=data_eg1,nobs=79,mh_nblocks=5,prefilter=1,
mh_jscale=0.42,mh_replic=0,mode_file=ls2003_mode,mode_compute=0,
load_mh_file,mode_check,bayesian_irf,irf=12,moments_varendo );
but i get the following error:
Warning: Divide by zero. This warning will be removed in a future release.
Consider using DBSTOP IF NANINF when debugging.
> In dsge_simulated_theoretical_conditional_variance_decomposition at 71
In posterior_analysis>job at 75
In posterior_analysis at 34
In compute_moments_varendo at 110
In dynare_estimation_1 at 1077
In dynare_estimation at 62
In ls2003 at 195
In dynare at 132
??? Subscripted assignment dimension mismatch.
Error in ==> conditional_variance_decomposition_mc_analysis at 70
p_mean(1,:) = Steps;
Error in ==> posterior_analysis>job at 78
oo_ =
conditional_variance_decomposition_mc_analysis(SampleSize,'posterior',M_.dname,M_.fname,...
Error in ==> posterior_analysis at 38
oo_ =
job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_,nvar,vartan);
Error in ==> compute_moments_varendo at 110
oo_ = posterior_analysis('conditional
decomposition',var_list_(i,:),M_.exo_names(j,:),Steps,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 ==> ls2003 at 198
dynare_estimation(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
am i using the command of moments_varendo wrongly? and how can i solve this problem and get the confidence bands for variance decomposition.
Thanks for the help