HELP!! preprocessing failed

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.

HELP!! preprocessing failed

Postby 82323100 » Wed Oct 06, 2010 1:52 pm

Dear:
I am getting the following error whilst running my xxx.mod file.
>> dynare xxx

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

Starting Dynare (version 4.1.2).
Starting preprocessing of the model file ...
ERROR: xxx.mod:98.97: syntax error, unexpected EQUAL

??? Error using ==> dynare at 126
DYNARE: preprocessing failed
Attachments
xxx.mod
xxx
(7.49 KiB) Downloaded 103 times
82323100
 
Posts: 9
Joined: Thu Sep 09, 2010 1:28 am

Re: HELP!! preprocessing failed

Postby jpfeifer » Wed Oct 06, 2010 7:56 pm

Comments in Dynare are made by using // instead of %.
------------
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: HELP!! preprocessing failed

Postby 82323100 » Fri Oct 08, 2010 5:10 am

dear :
I have replaced the % by //, but the dynare codes still doesnot work. please give me a hand, thank you very much! my email:npeu@163.com
82323100
 
Posts: 9
Joined: Thu Sep 09, 2010 1:28 am

Re: HELP!! preprocessing failed

Postby jpfeifer » Fri Oct 08, 2010 5:50 am

Line 98:
Code: Select all
kbarU-(1-deltaUU)*(kbarU(-1)/(muzstarU*upsilU))+(1-sigmaIXUU/2*(zetaiU*iU*muzstarU*upsilU/iU(-1)=muzstarUU*upsilUU)^2)*iU;

is missing a closing bracket directly before the equal sign.
------------
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: HELP!! preprocessing failed

Postby 82323100 » Fri Oct 08, 2010 8:34 am

I have modified the codes ,but there are some mistakes.

dynare chmr

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

Starting Dynare (version 4.1.2).
Starting preprocessing of the model file ...
Found 33 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.


STEADY-STATE RESULTS:

qU 1
piU 1.01121
rkU 0.0688292
RXU 0.0465153
RkXU 0.0465153
kbarU 12.8116
hU 0.970454
lambdazU 0.853343
cU 1.0821
iU 0.71452
sU 0.833333
wU 1.32678
uU 1
mbU 3.17876
mU 0.298705
yU 2.24578
lambdafU 1.2
epsilU 1
gU 0.449156
muzstarU 1.02729
muzU 1.02729
zetaiU 1
xU 1.03881
zetacU 1
tauoU 1
sigmaqU 1.4
lambdawU 1.05
upsilU 1
gp_obs 1.01121
gc_obs 1.02739
gi_obs 1.0481
gm_obs 1.03575
gy_obs 1.02729

EIGENVALUES:
Modulus Real Imaginary

0 0 0
0 0 0
0 0 0
0 -0 0
4.061e-016 -4.061e-016 0
0.2199 0.1215 0.1833
0.2199 0.1215 -0.1833
0.5 0.5 0
0.5 0.5 0
0.5 0.5 0
0.5 0.5 0
0.6 0.6 0
0.6908 0.6908 0
0.8136 0.8136 0
0.8315 0.8315 0
0.9755 0.9755 0
0.9799 0.9799 0
0.9799 0.9799 0
0.9813 0.9813 0
1.04 1.04 0
1.172 1.172 0
1.491 1.491 0
43.44 43.44 0
Inf Inf 0
Inf Inf 0
Inf Inf 0
Inf Inf 0
Inf Inf 0
Inf Inf 0
Inf Inf 0
Inf Inf 0


There are 12 eigenvalue(s) larger than 1 in modulus
for 12 forward-looking variable(s)

The rank condition is verified.


You did not declare endogenous variables after the estimation command.
Posterior smoothed variables, posterior smoothed variables will be computed for
the 33 endogenous variables of your model, this can be
very long....


Choose one of the following options:

[1] Consider all the endogenous variables.
[2] Consider all the observed endogenous variables.
[3] Stop Dynare and change the mod file.

options [default is 1] =
??? Subscripted assignment dimension mismatch.

Error in ==> read_variables at 57
dyn_data_01(:,dyn_i_01) = dyn_tmp_01;

Error in ==> dynare_estimation_1 at 237
rawdata =
read_variables(options_.datafile,options_.varobs,[],options_.xls_sheet,options_.xls_range);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> chmr at 558
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;
Attachments
datapull.m
data
(5.13 KiB) Downloaded 98 times
chmr.mod
chmr
(10.25 KiB) Downloaded 86 times
82323100
 
Posts: 9
Joined: Thu Sep 09, 2010 1:28 am

Re: HELP!! preprocessing failed

Postby jpfeifer » Fri Oct 08, 2010 8:47 am

gi_obs in your data file has one observation less than the others
------------
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: HELP!! preprocessing failed

Postby 82323100 » Fri Oct 08, 2010 4:48 pm

I am sorry that the codes cannot still work, help me, thank you!
npeu@163.com
82323100
 
Posts: 9
Joined: Thu Sep 09, 2010 1:28 am


Return to Dynare help

Who is online

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