How do you determine the appropriate p, d, and q values for an ARIMA model?

Quick Overview

Asks how to choose the p, d and q orders of an ARIMA model for a time series. Tests stationarity testing, reading ACF and PACF plots, comparing candidate models with information criteria, and checking residuals before trusting a forecast.

How do you determine the appropriate p, d, and q values for an ARIMA model?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

How do you determine the appropriate p, d, and q values for an ARIMA model? ARIMA(p, d, q) combines p autoregressive terms, d rounds of differencing and q moving-average terms. ```hint Order of decisions Settle one of the three orders before the other two. The plots you use for the remaining two are only meaningful on a series that meets a certain assumption. ``` ```hint Reading the plots For each of the ACF and PACF, ask whether it drops to zero after a few lags or decays gradually. ``` ### What a Strong Answer Covers - How to choose d, what the stationarity tests assume, and how to spot over-differencing - How ACF and PACF patterns point to AR and MA orders, and what a mixed pattern looks like - How candidate models are compared with information criteria, and the limits of that comparison - Which residual checks confirm the final choice - How seasonality changes the procedure ### Follow-up Questions - The ADF and KPSS tests disagree on your series. What do you conclude, and what do you try next? - The lag-1 autocorrelation of your differenced series is about -0.5. What does that tell you? - Why should you not compare AIC between an ARIMA(1,1,1) and an ARIMA(1,0,1) fitted to the same data? - On monthly data the ACF has significant spikes at lags 12 and 24. How do you extend the model?

Overview: Asks how to choose the p, d and q orders of an ARIMA model for a time series. Tests stationarity testing, reading ACF and PACF plots, comparing candidate models with information criteria, and checking residuals before trusting a forecast.

General logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

How do you determine the appropriate p, d, and q values for an ARIMA model?

ARIMA(p, d, q) combines p autoregressive terms, d rounds of differencing and q moving-average terms.

What a Strong Answer Covers Guidance

  • How to choose d, what the stationarity tests assume, and how to spot over-differencing
  • How ACF and PACF patterns point to AR and MA orders, and what a mixed pattern looks like
  • How candidate models are compared with information criteria, and the limits of that comparison
  • Which residual checks confirm the final choice
  • How seasonality changes the procedure

Follow-up Questions Guidance

  • The ADF and KPSS tests disagree on your series. What do you conclude, and what do you try next?
  • The lag-1 autocorrelation of your differenced series is about -0.5. What does that tell you?
  • Why should you not compare AIC between an ARIMA(1,1,1) and an ARIMA(1,0,1) fitted to the same data?
  • On monthly data the ACF has significant spikes at lags 12 and 24. How do you extend the model?