Day 66 — Fitting AR and MA models to things that barely have structure

Sunday, 11 October 2026 · Week 10 of 52 · Time series · Study day · 65 min

Daily equity returns have almost no linear predictability, and building the fitting machinery on a series where the answer is close to zero is the honest way to learn what a significant coefficient looks like.

What you should be able to do tonight

  • Fit and interpret an ARMA model with statsmodels, including reading the coefficient standard errors correctly.
  • State the magnitude of linear autocorrelation you actually find in daily equity returns, and say whether it is tradeable after a one basis point cost.

Tasks 65 min

30 min Read the autoregressive and moving average model sections of the ARIMA chapter of Forecasting: Principles and Practice, then fit ARMA(p,q) for p and q up to 2 on SPY daily returns using statsmodels. Report the coefficients with standard errors.

25 min Turn the fitted coefficient into money: if the lag-1 coefficient is rho, the expected return conditional on yesterday is rho times yesterday’s return. Compute the average absolute size of that conditional expectation in basis points, and compare it against a one basis point round-trip cost. This calculation is why nobody trades daily equity autocorrelation.

10 min Repeat the fit on the monthly series and note that the sign flips. Write one line on what that could be other than a real effect.

Resources

Deliverable

notebooks/day-066-arma.ipynb with fitted ARMA coefficients at three frequencies and the conditional expectation expressed in basis points.

Checkpoint

Your AR(1) coefficient on daily returns is minus 0.03 with a standard error of 0.012. Is that tradeable? Show the arithmetic.

Prepare for tomorrow

Ten minutes tonight so Day 67, Monday, 12 October 2026 starts clean. This is what the evening email sends you.

Fit ARMA models across a grid of p and q up to 4 on one series and record AIC and BIC for each.

Note which order each criterion picks. They will differ.

Write down which one you would trust and why, before tomorrow argues with you.