error in bayesian estimation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

error in bayesian estimation

Postby Mary001 » Mon Oct 17, 2016 5:06 am

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.
Mary001
 
Posts: 3
Joined: Mon Oct 17, 2016 4:09 am

Re: error in bayesian estimation

Postby jpfeifer » Mon Oct 17, 2016 5:57 am

As it says, your data file was not found. Please check the spelling and whether it is located in the same folder.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: error in bayesian estimation

Postby Mary001 » Tue Oct 18, 2016 1:34 am

Professor jpfeifer :I have check the program and data,but the error is still exists.
Attachments
program.zip
(8.69 KiB) Downloaded 96 times
Mary001
 
Posts: 3
Joined: Mon Oct 17, 2016 4:09 am

Re: error in bayesian estimation

Postby jpfeifer » Tue Oct 18, 2016 12:31 pm

But now your data is named differently. I can run your model without any problems
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: error in bayesian estimation

Postby Mary001 » Sat Oct 22, 2016 2:57 pm

Professor jpfeifer :thanks for your help! I have solve the question!
Mary001
 
Posts: 3
Joined: Mon Oct 17, 2016 4:09 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 6 guests