No graph - deterministic case

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.

No graph - deterministic case

Postby ThornDrive » Mon Nov 03, 2014 12:03 am

I expect that the following code gives a graph of y. But no graph is shown.
What am I missing? Can you help?

Code: Select all
var y;
parameters a;

a=0.2;

model(linear);
y=a*y(-1);
end;

initval;
y=10;
end;

steady;

simul(periods = 50);
ThornDrive
 
Posts: 2
Joined: Sun Nov 02, 2014 11:55 pm

Re: No graph - deterministic case

Postby jpfeifer » Mon Nov 03, 2014 5:54 am

No, you need to add
Code: Select all
rplot y;

after the simul command.
------------
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: No graph - deterministic case

Postby ThornDrive » Mon Nov 03, 2014 8:02 am

Thanks a lot!
Your help means a lot to me at this stage!
ThornDrive
 
Posts: 2
Joined: Sun Nov 02, 2014 11:55 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 13 guests