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

Allow forecasting with exogenous variables #372

Merged
merged 14 commits into from
Nov 12, 2024

Conversation

jessegrabowski
Copy link
Member

@jessegrabowski jessegrabowski commented Aug 11, 2024

Enable scenario-based forcasting in VARMAX, SARIMAX, and structural models with regressions.

Couple to-dos before its ready for review:

  • Carefully check the timing on the forecasting. Things seem to be shifted forward by 1 or 2 periods.
  • Recycle the exogenous forecasting code to allow in-sample counterfactual scenarios using sample_conditional_posterior or sample_conditional_prior.
  • Update relevant example notebooks to show how to use the scenario tools

Otherwise things seem to be working

@jessegrabowski jessegrabowski changed the title Allow forcasting with exogenous variables Allow forecasting with exogenous variables Aug 11, 2024
@jessegrabowski jessegrabowski marked this pull request as ready for review October 13, 2024 11:29
Copy link
Member

@ricardoV94 ricardoV94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps show the use of the functionality in one of the NBs?

@jessegrabowski
Copy link
Member Author

I agree that this needs some notebooks to show the new usage, but I will do them in a follow up PR

@jessegrabowski jessegrabowski merged commit 9ec521d into pymc-devs:main Nov 12, 2024
7 checks passed
@jessegrabowski jessegrabowski deleted the exog-forecast branch November 12, 2024 08:24
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

Successfully merging this pull request may close these issues.

2 participants