Problems with the forecast command (now with correct file..)

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

Problems with the forecast command (now with correct file..)

Postby Ansgar » Mon Dec 10, 2007 7:05 pm

Dear all,
I have simulated a stochastic model using the second order approximation of the model and now want to see how the model reacts to a determinstic shock. I have used the forecast function for that following the manuals instructions. I receive the response below from Matlab (the steady state values are fine). I have attached the file in case you have the time to take a look. The derministic shock is introduced in line 3 (called tau) and the shocks are calibrated in line 91 to 97. Your help would be much appreciated!
Best,
Ansgar

>> dynare stoch1.mod

STEADY-STATE RESULTS:

F 0.214641
D 0.173379
R 0.0412614
pi 0
i 0.0201118
g 0.00991068
Q 1.04083
r 0.0521916
H 0.169218
n 0.96
c 0.736842
C 0
nn 0.96
nF 0.214641
nH 0.169218
gp 0
ndev 0
dH 0
df 0.980285
pia 0
u 0
??? Attempted to access x(2,3); index out of bounds because size(x)=[3,2].

Error in ==> stoch1_dynamic at 110
rhs =x(it_, 1)+x(it_, 3);

Error in ==> dr1 at 177
[junk,jacobia_] = feval([M_.fname '_dynamic'],z,tempex);

Error in ==> resol at 64
[dr,info] = dr1(dr,check_flag);

Error in ==> check at 23
[dr, info] = resol(oo_.steady_state,1);

Error in ==> stoch1 at 240
check;

Error in ==> dynare at 49
evalin('base',fname) ;
You do not have the required permissions to view the files attached to this post.
Ansgar Rannenberg
IMK
Tel.: +49/211/7778113
Ansgar
 
Posts: 46
Joined: Tue Jun 26, 2007 11:35 am
Location: Düsseldorf

Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 1 guest