This makes perfect sense. I should have put two and two together. Thank you for clearing
this up.
Cheers,
//Chris
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Riccardo (Jack) Lucchetti <p002264(a)staff.univpm.it>
Sent: Monday, May 18, 2026 12:14:14 PM
To: gretl-users(a)gretlml.univpm.it <gretl-users(a)gretlml.univpm.it>
Subject: [Gretl-users] Re: Recession bands and the time series G.U.I.
[EXTERNAL]
On 18/05/2026 17:52, climnios@providence.edu<mailto:climnios@providence.edu>
wrote:
Greetings, Mr. Lucchetti.
I don't think I have those options. In the past, I've tried to post screenshots
directly to these threads, but there is no option for that. So, I am giving you a link
directly to the .png of the screenshot in my dropbox folder:
https://www.dropbox.com/scl/fi/gxm4mc69wy74jiporfllm/recession-bar-proble...
The upper left window is my session window which provides objects from the session. The
lower left window is my actual time series graph. The lower right window is what opens
when I choose "edit". As you can see, I can choose the grids (which I always
do), but I don't see the option for recession bands any longer...unless I am really in
a caffeine deficit and it's right in front of me.
Ah, that explains everything, thanks. The "NBER bars" GUI thing is only active
if the current periodicity of the dataset is annual, quarterly, or monthly, so daily data
such as yours can't be handled in this way. That said, in the period you're using
there were NO recessions codified as such by the NBER, so the plot would look like that
anyway 😉
Of course, you could define your own set of "recession periods" and use those,
but again, with daily data this requires some scripting at present. The following example
uses my "FRED_get" package to download data, but clearly I'm using it just
to make the example easy to replicate:
<hansl>
clear
include FRED_get.gfn
nulldata 500
setobs 5 2019-09-01
series ff = get_fred_series("FEDFUNDS")
series nber_rec = get_fred_series("USREC")
bundle b = _(dummy="nber_rec")
plot ff
options time-series with-lines band=b
literal set grid ytics
end plot --output=display
</hansl>
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti@univpm.it<mailto:r.lucchetti@univpm.it>
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------