July 2019
Beginner to intermediate
740 pages
16h 52m
English
As we discussed in Chapter 1, Introduction to Data Analysis, ARIMA models have autoregressive, difference, and moving average components. This can also be achieved using the statsmodels package. The StockModeler.arima() method returns a fitted ARIMA model for the stock according to the specifications provided:
>>> arima_model = StockModeler.arima(nflx, ar=10, i=1, ma=5)
Once the model is fitted, information on it can be obtained with the model's summary() method:
>>> ...
Read now
Unlock full access