Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I'm trying to use "statsmodels.api" to work with time series data and trying to fit a simple ARIMA model using

sm.tsa.arima_model.ARIMA(dta,(4,1,1)).fit()

but I got the following error

module 'statsmodels.tsa.api' has no attribute 'arima_model'

I'm using 'statsmodels' version 0.9.0 with 'spyder' version 3.2.8 I'd be pleased to get your help thanks

You can view it using a shell that allows autocomplete like ipython.

It is also viewable in the example provided by statsmodels such as this one.

And more informations about package structure may be found here.

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.