Skip to main content
Rob Carver:This Blog is Systematic· Rob Carver·· 2026-06-18AI Score58

Does Portfolio Optimization Need Clustering? A Backtest Examination Across Different Asset Sizes and Sample Lengths

To Cluster Or Not To Cluster That is the Question...

AI summary

This is the sixth article in a portfolio optimization series. The author conducts hundreds of random backtests to examine the impact of different numbers of clusters, correlation shrinkage, SR shrinkage, and in-sample vs. out-of-sample lengths on out-of-sample Sharpe ratios across asset sizes of 20, 30, and 40. The results show that most parameter combinations have no significant differences, with only weak evidence that moderate clustering outperforms no clustering, and that the number of clusters should not be too large. The author ultimately recommends using an empirical value of 6 clusters when clear statistical evidence is lacking, while noting that clustering significantly increases optimization time.

Source:Rob Carver:This Blog is Systematic · qoppac.blogspot.com

Next steps

WeiMind Backtesting System and AI SkillsIntegrate open-source tools and research methods into a reproducible backtesting workflow.WeChat Community and Contact InformationView official contact details; QR codes will be displayed on the About page once available.Prefer English? Get the research briefing by emailRegister your interest in English research updates on our website.