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

Multiple Scenarios for Same Model #404

Open
AlbertoAlmuinha opened this issue Nov 18, 2023 · 1 comment
Open

Multiple Scenarios for Same Model #404

AlbertoAlmuinha opened this issue Nov 18, 2023 · 1 comment

Comments

@AlbertoAlmuinha
Copy link

Hi,

Thanks for the amazing package.

In some sectors, it is necessary to perform modeling using three scenarios (baseline, adverse and optimistic). To do this, three new_data must be used in the forecast function to obtain the predictions for each scenario.

Is there an efficient way to obtain the forecasts of the three scenarios and to put them together in such a way that it is easy to plot the three curves on the same plot? Let's imagine that I have a table with more than one model and I need to repeat this process for each of them.

@mitchelloharawild
Copy link
Member

This is possible with fabletools::scenarios() - the function is experimental so it's not well documented yet but you can find an example of it here: https://otexts.com/fpp3/forecasting-regression.html#scenario-based-forecasting

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

2 participants