Am 25.02.2022 um 21:09 schrieb Riccardo (Jack) Lucchetti:
of course it would be nice to have, but I'm wondering: how often do
you need a hypothetical scum() function? Often enough to make
<hansl>
series m = x
series m = m(-4) + x
</hansl>
too lenghty?
Well, I also don't need sdiff() very often, and it's easy to imitate by
hand, yet it exists. So I don't know. The concrete application is that
every once in a while you get economic data expressed as "yoy"
differences, and an extended cum() function could help to handle that.
cheers
sven