Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple Solow Model in Dynare #57

Open
SantiagoD999 opened this issue Jan 7, 2024 · 2 comments
Open

Simple Solow Model in Dynare #57

SantiagoD999 opened this issue Jan 7, 2024 · 2 comments

Comments

@SantiagoD999
Copy link

SantiagoD999 commented Jan 7, 2024

Hello professor Juillard,

Using your excellent Julia package I came across with an error. Here I show the .mod file for a simple Solow model.

% Simple Solow Model

var Y K Z;
varexo e;

parameters alpha delta s rho;

alpha = 0.35;
delta = 0.025;
s = 0.1;
rho = 0.75;

% Model equations
model(linear);

Y=Z+K(-1)alpha;
K= (1 - delta)K(-1) + deltaY;
Z = rho
Z(-1)+e;

end;

shocks;
var e; stderr 1;
end;

steady;

stoch_simul;
Solow.txt

WHICH GIVES:

Steady state

───┬─────
Y │ 0.0
K │ 0.0
Z │ 0.0
───┴─────

The model is already linearized and the steady state of the variables is correct (0,0,0) then I get this error:

BoundsError([0 1 2; 3 4 5], (3, 1))
Do you know why is this happening?

Thank you very much.

@MichelJuillard
Copy link
Member

Hello Santiago,

thank you for reaching out. Your model doesn't strictly belong to the class of DSGE models as it doesn't contain forward-looking expectational variables. Nevertheless, as it is a limit case, we will add support for such models as well.

Michel

@SantiagoD999
Copy link
Author

That's great, thank you for your timely response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants