tidyverts / fabletools

General fable features useful for extension packages
http://fabletools.tidyverts.org/
89 stars 31 forks source link

Handle bootstrapped generate() innovations #295

Closed mitchelloharawild closed 3 years ago

mitchelloharawild commented 3 years ago

Rather than requiring downstream generate() methods to provide their own bootstrap methods, this can be handled by generate(<mdl_ts>).

Ref: https://github.com/tidyverts/feasts/issues/122

mitchelloharawild commented 3 years ago

Mostly added now, just requires some more careful alignment of the blocks.

mitchelloharawild commented 3 years ago

Looking into the code more, it seems careful block alignment isn't needed as the sampling procedure does not use it. Closing as the code now checks for gaps, which is enough for now.