Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-sectional bootstrapping #367

Open
mitchelloharawild opened this issue Oct 6, 2022 · 1 comment
Open

Cross-sectional bootstrapping #367

mitchelloharawild opened this issue Oct 6, 2022 · 1 comment

Comments

@mitchelloharawild
Copy link
Member

When a model is linked with others in a list (possibly with some reconciliation/aggregation constraints) it should be possible to bootstrap the series using the same time point across all models.

Implement in generate() as an additional optional argument, and expose this via ... to forecast() for base and reconciled forecasts.

@mitchelloharawild
Copy link
Member Author

@robjhyndman

Currently each generate() method defines it's own way of bootstrapping the innovation residuals from their model object.

For example:
https://github.com/tidyverts/fable/blob/685cc9ec7846a990d7c664f8eb24e4ad75e1673a/R/ets.R#L374-L384

As I understand, the bootstrapping part of this code is not model specific and can/should be brought up into fabletools? This would make it easier to implement block bootstrapping and cross-sectional bootstrapping.

The second part of sampling innovations from the theoretical distribution is however model specific and should be left to each model implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant