Page 1 of 1

error in bayesian estimation

PostPosted: Mon Oct 17, 2016 5:06 am
by Mary001
Dear everyone,when I doing bayesian estimation, I meet the following error message.


Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Starting Dynare (version 4.4.2).
Starting preprocessing of the model file ...
Found 52 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.


You did not declare endogenous variables after the estimation/calib_smoother command.

??? Error using ==> read_variables at 60
Can't find datafile: USdata2012.{m,mat,xls,xlsx,csv}

Error in ==> initialize_dataset at 32
rawdata = read_variables(datafile,varobs,[],xls.sheet,xls.range);

Error in ==> dynare_estimation_init at 471
dataset_ =
initialize_dataset(options_.datafile,options_.varobs,options_.first_obs,options_.nobs,transformation,options_.prefilter,xls);

Error in ==> dynare_estimation_1 at 81
[dataset_,xparam1, hh, M_, options_, oo_, estim_params_,bayestopt_] =
dynare_estimation_init(var_list_, dname, [], M_, options_, oo_, estim_params_, bayestopt_);

Error in ==> dynare_estimation at 89
dynare_estimation_1(var_list,dname);

Error in ==> SW_FA_Dynare at 595
dynare_estimation(var_list_);

Error in ==> dynare at 180
evalin('base',fname) ;

please help me,thanks.

Re: error in bayesian estimation

PostPosted: Mon Oct 17, 2016 5:57 am
by jpfeifer
As it says, your data file was not found. Please check the spelling and whether it is located in the same folder.

Re: error in bayesian estimation

PostPosted: Tue Oct 18, 2016 1:34 am
by Mary001
Professor jpfeifer :I have check the program and data,but the error is still exists.

Re: error in bayesian estimation

PostPosted: Tue Oct 18, 2016 12:31 pm
by jpfeifer
But now your data is named differently. I can run your model without any problems

Re: error in bayesian estimation

PostPosted: Sat Oct 22, 2016 2:57 pm
by Mary001
Professor jpfeifer :thanks for your help! I have solve the question!