Day 169 — The information coefficient is a Spearman correlation
Friday, 22 January 2027 · Week 25 of 52 · Alpha · Study day · 60 min
You have computed thousands of these under a different name, so the useful content is the conventions, the sampling error, and what magnitudes are actually good here.
What you should be able to do tonight
- Compute an IC series with a correct standard error and say what a mean IC of 0.03 implies.
- State the difference between the Spearman and Pearson versions and say which you would report and why.
Tasks 60 min
30 min Build information_coefficient() in qlib/signals/evaluate.py: per-date cross-sectional Spearman correlation between the signal and forward returns at a stated horizon, returning the series, its mean, and a standard error that accounts for the autocorrelation of the IC series rather than treating dates as independent.
30 min Calibrate your expectations: compute mean IC for your four signals at horizons of 1, 5 and 21 days, and put an interval on each. Then run the same computation on 200 random signals to get the null distribution of mean IC at your universe size and sample length. Almost every real IC you will ever see is between 0.01 and 0.05, and the null band tells you which of those is distinguishable from zero.
The running strategy
qlib/signals/evaluate.py computes the information coefficient with a dependence-aware standard error and a null distribution from random signals, so every signal in the book is reported against a measured null rather than against zero.
Resources
Deliverable
An IC function with intervals in qlib/signals/evaluate.py, and mean IC at three horizons for four signals against a null distribution.
Checkpoint
Your signal has an IC of 0.03. Is that good? Answer in terms of breadth and turnover rather than in the abstract.
Prepare for tomorrow
Ten minutes tonight so Day 170, Saturday, 23 January 2027 starts clean. This is what the evening email sends you.
Compute mean IC for one signal at forward horizons from 1 to 60 days, and plot it against horizon.
Look at where it peaks and where it crosses zero.
Do not act on it yet.