Skip to content

ENH: auto ARIMAX, structural breaks and diagnostics #2571

Open

Description

@josef-pkt

A brief search on forecasting in TSA found this

http://stats.stackexchange.com/questions/68261/performance-evaluation-of-auto-arima-in-r-and-ucm-on-one-dataset
where auto.arima fails because of structural breaks, and a bug in R arima in initialization.

related:
order and differencing selection in ARMA: #1224 #1557

However, this could be extended to checking for outliers and structural breaks.
@ChadFulton is adding diagnostic tests for SARIMAX and statespace models, including a structural break test.
The Oxford econometricians, Hendry, ..., use search over sets of dummy variables to identify outliers. Now, with working exog in ARIMAX it would be relatively easy to add diagnostics checks and tests through exog (with Wald tests, for example).

(more elaborate: use penalized MLE to do variable selection on outlier dummies and trend breaks or similar, another candidate for SCAD penalized MLE)

Activity

  1. added this to the 0.8 milestone on Aug 3, 2015
  2. josef-pkt commented on Jul 24, 2017

    @josef-pkt
    MemberAuthor

    A MIT licensed python package that adds auto.arima features on top of statsmodels
    https://github.com/tgsmith61591/pyramid
    (I didn't look at it, adding link to avoid having to search for it again)

  3. removed this from the 0.8 milestone on Jul 24, 2017
  4. giuliobeseghi commented on Jan 15, 2020

    @giuliobeseghi

    It would be good to have the method auto_arima of pyramid directly in statsmodels.
    Note that now pyramid has become pmdarima: https://pypi.org/project/pmdarima/

  5. bashtage commented on Jan 15, 2020

    @bashtage
    Member

    pmdarima appears to have ported R code that is GPL v2 licensed, and so despite its claim to be MIT licensed, I don't think it is possible to accept code ported from pmdarima into statsmodels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions