On Wed, 16 Jan 2019, Sven Schreiber wrote:
Am 16.01.2019 um 08:46 schrieb Riccardo (Jack) Lucchetti:
> On Tue, 15 Jan 2019, Allin Cottrell wrote:
>
>> That's now fixed in git.
>
> Thanks. While we're at it, we may want to slightly revisit the behaviour of
> the TRAMO/SEATS backend for deseas(): if the automatic analysis finds no
> seasonality, then the seasonally adjusted series is simply not created and
> deseas() spits an error. Example:
>
> <hansl>
> open AWM18
> catch series c = deseas(YER, T)
> err = $error
> printf "error %d: %s\n", err, errmsg(err)
> </hansl>
>
> gives
>
> <output>
> ? catch series c = deseas(YER, T)
> /home/jack/.gretl/tramo/graph/series/safin.t: No such file or directory
> ? err = $error
> Generated scalar err = 11
> ? printf "error %d: %s\n", err, errmsg(err)
> error 11: Error attempting to open file
> </output>
>
> I guess that in this case we could just fill the seasnoally-adjusted series
> with the original values and issue a warning, but I'd rather ask you guys
> for your opinion.
Hm, silently returning "no action" when action is wanted wouldn't seem
right.
Agreed, in general. But the case Jack is talking about is one where no
action is _required_, so far as SEATS can tell. (The series exhibits
no seasonality.)
Allin