2
知识/分层回测
shellway edited this page 2026-09-28 17:08:14 +08:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

分层回测(Quantile Backtest)

一句话:按因子值把股票分 N 组,看各组的收益是否单调。

💡 直觉

好因子应该「排序越靠前、收益越高」,分层单调才说明因子有效。

🧮 公式


Q_1,\dots,Q_5 = \text{按 } f \text{ 五等分},\qquad \text{比较各组 } \overline{r}

⚠️ 常见误区

组数太少噪音大;要扣除交易成本后还单调才算真。

👉 实战锚点(学以致用)

  • alpha/factors.py::quantile_returns
  • alpha/strategy.py::QuantileSignal

📖 出处

《主动投资组合管理》

🔗 相关

知识/信息系数 知识/多因子模型


分类:因子研究 | 复习节奏:1/2/4/7/15 天(配合 Anki)