Day 74 — Applying it: the trend follower’s t-statistic, corrected

Monday, 19 October 2026 · Week 11 of 52 · Time series · Study day · 60 min

Yesterday was the tool; today it changes a number you have already reported, which is the pattern for how this course expects you to treat every earlier result.

What you should be able to do tonight

  • Report your trend follower’s mean return with a correctly specified standard error and say how much the correction moved it.
  • Say which of the strategy’s reported statistics are affected by residual dependence and which are not.

Tasks 60 min

30 min Recompute the trend follower’s inference: mean monthly return with Newey-West standard errors, Sharpe with the autocorrelation-corrected annualisation from day 46, and the block bootstrap interval. Put all three next to the naive versions in one table.

20 min Update the strategy section of reports/milestone-03-pairs.md with the corrected numbers, and write one sentence saying which earlier number in that document is now superseded. Doing this in week 11 makes it a habit rather than an event.

10 min Add newey_west_tstat() to qlib/stats.py so the correction is one call rather than a decision, with a test against statsmodels on a known series.

Resources

Deliverable

qlib/stats.py with a tested Newey-West t-statistic, and the corrected strategy table in the milestone report replacing the naive one.

Checkpoint

Which of Sharpe, mean return t-statistic and maximum drawdown are affected by return autocorrelation, and in which direction?

Prepare for tomorrow

Ten minutes tonight so Day 75, Tuesday, 20 October 2026 starts clean. This is what the evening email sends you.

Plot the level of a yield spread, an ETF pair ratio, and the VIX over ten years, all on separate panels.

For each, run ADF and note the p-value.

One of the three will fail to reject despite looking obviously mean reverting. That case is tomorrow’s.