Skip to content

Implement forecast decomposition for ARIMA-like models #1149

Closed
alex-hse-repository opened this issue Mar 3, 2023 · 0 comments · Fixed by #1174
Closed

Implement forecast decomposition for ARIMA-like models #1149

alex-hse-repository opened this issue Mar 3, 2023 · 0 comments · Fixed by #1174
Assignees
Labels
enhancement New feature or request

Comments

@alex-hse-repository
Copy link
Collaborator

alex-hse-repository commented Mar 3, 2023

🚀 Feature Request

Implement forecast decomposition for AutoARIMAModel and SARIMAXModel

Proposal

In _SARIMAXBaseAdapter implement methods:

def predict_components(df: pd.DataFrame) -> pd.DataFrame
def forcast_components(df: pd.DataFrame) -> pd.DataFrame

Details:

  • implement in-sample decomposition in predict_components using ARIMAResults
  • implement out-of-sample decomposition in forcast_components using PredictionResults.results
  • estimate components using state-space representation of SARIMAX
  • decompose prediction to SARIMA and exogenious contributions
  • use obs_intercept to estimate exog components when mle_regresion is set
  • name for SARIMA component in SARIMAXModel: sarima(p={},d={},q={},P={},D={},Q={})
  • name for ARIMA component in AutoARIMAModel: arima(p={},d={},q={})
  • exogenious components should be pefixed with target_component_

Test cases

For AutoARIMAModel and SARIMAXModel

  • Test that components sum up to target
  • Test that the components names are correct for all possible parameters combination

Additional context

See implementation in ETNA-1480 folder

@alex-hse-repository alex-hse-repository added the enhancement New feature or request label Mar 3, 2023
@github-project-automation github-project-automation bot moved this to Specification in etna board Mar 3, 2023
@brsnw250 brsnw250 moved this from Specification to Todo in etna board Mar 17, 2023
@brsnw250 brsnw250 self-assigned this Mar 20, 2023
@brsnw250 brsnw250 moved this from Todo to In Progress in etna board Mar 20, 2023
@brsnw250 brsnw250 moved this from In Progress to In Review in etna board Mar 21, 2023
@github-project-automation github-project-automation bot moved this from In Review to Done in etna board Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants