liveBook · Manning

Integration

As explained in Statistics Every Programmer Needs

Integration in ARIMA is the differencing operation used to remove nonstationary temporal structure from a time series.

Integration is the differencing component of ARIMA. It removes nonstationary temporal structure so the remaining series can support forecasting. section 7.3

Apply integration as a validation-driven preprocessing step:

  • Partition observations into training and testing sets before preprocessing; fit the ARIMA model and apply subsequent preprocessing to the training subset. section 7.3.7
  • Inspect trends, seasonality, ACF, and PACF plots, then use an augmented Dickey–Fuller test to assess nonstationarity. section 7.3.7

Apple closing prices

An ADF test on the training prices produced a p-value of 0.5761. After first-order differencing, the p-value fell to 1.25e-16, while the resulting series was presented as stationary.

How Statistics Every Programmer Needs covers it

How deep it goes
Explains first-order differencing, diagnostic plots, and ADF validation, but does not develop higher-order differencing.
Examples
Uses Apple daily closing prices, pandas differencing, ACF/PACF comparisons, and augmented Dickey–Fuller tests.
What it assumes
Assumes familiarity with time-series stationarity, training/testing splits, and basic ACF and PACF interpretation.
What you can do after
Apply first-order differencing in pandas and evaluate its stationarity effect with ADF, ACF, and PACF diagnostics.
How it connects
Connects integration with ARIMA, stationarity, ACF, PACF, autoregression, and moving averages.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Statistics Every Programmer Needs. The section links point to the parts of the book it draws on.