Error in bayesian estimation

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_ =

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

Error in ==> SW_FA_Dynare at 595

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

please help me,thanks.

As it says, your data file was not found. Please check the spelling and whether it is located in the same folder.

Professor jpfeifer :I have check the program and data,but the error is still exists. (8.69 KB)

But now your data is named differently. I can run your model without any problems

Professor jpfeifer :thanks for your help! I have solve the question!