Dear Members,
I have some issues for two mod files that I cannot solve:
- The bvar_us.mod does not work. I get error messages and I can’t find why:
Warning: Range cannot be used in ‘basic’ mode. The entire sheet will be loaded. _
> In xlsread (line 211)
_ In load_xls_file_data (line 77)
_ In read_variables (line 92)_
_ In bvar_toolbox (line 65)_
_ In bvar_density (line 37)_
_ In bvar_us (line 75)_
_ In dynare (line 223) _
Error using error
The message must be specified as either a character vector or a message structure.
Error in read_variables (line 104)
_ error([strtrim(var_names_01(dyn_i_01,:)) ’ not found in ’ fullname])_
Error in bvar_toolbox (line 65)
dataset = read_variables(options.datafile, options_.varobs, [],_
options.xls_sheet, options_.xls_range);_
Error in bvar_density (line 37)
_ [ny, nx, posterior, prior] = bvar_toolbox(nlags);_
Error in bvar_us (line 75)
bvar_density(4);
Error in dynare (line 223)
evalin(‘base’,fname) ;
- The NK3eq_estim does not work as well, especially for the Metropolis-Hastings.
Warning: Range cannot be used in ‘basic’ mode. The entire sheet will be loaded. _
> In xlsread (line 211)
_ In load_xls_file_data (line 77)
_ In dseries (line 130)_
_ In makedataset (line 121)_
_ In dynare_estimation_init (line 538)_
_ In dynare_estimation_1 (line 116)_
_ In dynare_estimation (line 105)_
_ In NK3eq_estim (line 208)_
_ In dynare (line 223) _
Warning: The results below are most likely wrong! _
> In dynare_estimation_1 (line 316)
_ In dynare_estimation (line 105)
_ In NK3eq_estim (line 208)_
_ In dynare (line 223) _
Warning: Matrix is singular, close to singular or badly scaled. Results may be
inaccurate. RCOND = NaN. _
> In dynare_estimation_1 (line 339)
_ In dynare_estimation (line 105)
_ In NK3eq_estim (line 208)_
_ In dynare (line 223) _
Error using chol
Matrix must be positive definite.
Error in posterior_sampler_initialization (line 84)
d = chol(vv);
Error in posterior_sampler (line 60)
_ posterior_sampler_initialization(TargetFun, xparam1, vv,_
_ mh_bounds,dataset_,dataset_info,options_,M_,estim_params_,bayestopt_,oo_);_
Error in dynare_estimation_1 (line 447)
_ posterior_sampler(objective_function,posterior_sampler_options.proposal_distribution,xparam1,posterior_sampler_options,bounds,dataset_,dataset_info,options_,M_,estim_params_,bayestopt_,oo_);_
_ Error in dynare_estimation (line 105)_
_ dynare_estimation_1(var_list,dname);_
Error in NK3eq_estim (line 208)
oo_recursive=dynare_estimation(var_list_);_
Error in dynare (line 223)
evalin(‘base’,fname) ;
bvar_us.mod (226 Bytes)
NK3eq_estim.mod (3.2 KB)
data_us_nk.xls.zip (23.7 KB)
Thank you in advance,
Best regards