Page 1 of 1

hide plot

PostPosted: Mon Mar 17, 2008 5:20 pm
by mriggi
I want to simulate a model and obtain irfs but I do not want to display the plot. How is possible to avoid dynare to plot irfs.
Thank yuo very much for your help,
marianna

PostPosted: Tue Mar 18, 2008 7:21 am
by reubenpjacob
set stoch_simul(irf=time period you want, nograph)

hide graph

PostPosted: Tue Mar 18, 2008 11:57 am
by mriggi
reubenpjacob wrote:set stoch_simul(irf=time period you want, nograph)


Thank you ruben,
but If I set stoch_simul(irf=time period you want, nograph) I would get sintax error both in dynare 3 and dynare 4. What am I missing?
Thanks marianna

PostPosted: Tue Mar 18, 2008 2:04 pm
by reubenpjacob
'time period you want' should be a number!!!
like 1, 2, 34, or so.
if irf=20, the irf for 20 periods is computed
if irf=0, no irf is computed

hide graph

PostPosted: Tue Mar 18, 2008 3:30 pm
by mriggi
reubenpjacob wrote:'time period you want' should be a number!!!
like 1, 2, 34, or so.
if irf=20, the irf for 20 periods is computed
if irf=0, no irf is computed



yes, of course!!! I obviously set a number!
But I have just found the solution of my problem: I didn't have the latest snapshot of Dynare. So when I tried no graph it didn't work. Now with the latest snapshot it is properly working! So thank you very much for your helpful advice!! Your suggestion was righ!
marianna

Re: hide plot

PostPosted: Mon Apr 13, 2009 2:00 am
by bigbigben
[quote="mriggi"]I want to simulate a model and obtain irfs but I do not want to display the plot. How is possible to avoid dynare to plot irfs.
Thank yuo very much for your help,
marianna[/quote]

You can just add a line in your mod file before triggering simulation.

options_.nograph=1;