Simple first order difference equation
Posted: Tue Sep 08, 2009 12:35 pm
Hi,
I have a simple first order difference equation, and I want to compute the transition to one steady state to another steady state, but I get the following error:
Improper assignment with rectangular empty matrix. Does Dynare work with only backward looking variables?
The code is:
var f;
varexo a;
parameters b;
b=0.7;
model;
f=a+b*f(-1);
end;
initval;
f=1.6;
a=0.5;
end;
steady;
endval;
f=2.6;
a=0.8;
end;
steady;
check;
simul(periods=10);
Many thanks!
Alessandro
I have a simple first order difference equation, and I want to compute the transition to one steady state to another steady state, but I get the following error:
Improper assignment with rectangular empty matrix. Does Dynare work with only backward looking variables?
The code is:
var f;
varexo a;
parameters b;
b=0.7;
model;
f=a+b*f(-1);
end;
initval;
f=1.6;
a=0.5;
end;
steady;
endval;
f=2.6;
a=0.8;
end;
steady;
check;
simul(periods=10);
Many thanks!
Alessandro