Am 12.02.2025 um 17:49 schrieb Sven Schreiber:
OK, so here's something much more straightforward IMHO to calculate a
per-hour volatility, using the aggregate function:
<hansl>
nulldata 720
setobs 60 1:1 --time-series # 60 minutes per hour
series x = normal()
matrix v = aggregate(x, $obsmajor, var) # $obsmajor means hour here
print v
dataset compact 1 # yields error !
series rv = v[,end]
</hansl>
HOWEVER, for the "dataset compact 1" line gretl tells me "not
supported", and I don't understand why. Shouldn't it be quite easy to
compact from any periodicity down to 1?
Plus, when I try the compaction in the GUI on this artificially
created dataset, the program crashes (disappears). This is 2024d on
Windows.
Thanks, I've noticed in the git log that this has been addressed, and I
can confirm using the brand new snapshot that this works as intended now
(and the crash is gone).
cheers
sven