A code companion to Investments by William F. Sharpe, Gordon J. Alexander and Jeffery V. Bailey. It has one module per chapter, written in both C++20 and Python 3, each with worked examples and unit ...
Can the training objective hide the conditional signal we later want to test? A classifier trained for marginal prediction can exploit confounders and compress away useful within-group differences.