Abstract
In high-dimensional data analysis, such as financial index tracking or biomedical applications, it is crucial to select the few relevant variables while maintaining control over the false discovery rate (FDR). In these applications, strong dependencies often exist among the variables (e.g., stock returns), which can undermine the FDR control property of existing methods like the model-X knockoff method or the T-Rex selector. To address this issue, we have expanded the T-Rex framework to accommodate overlapping groups of highly correlated variables. This is achieved by integrating a nearest neighbors penalization mechanism into the framework, which provably controls the FDR at the user-defined target level. A real-world example of sparse index tracking demonstrates the proposed method's ability to accurately track the S&P 500 index over the past 20 years based on a small number of stocks. An open-source implementation is provided within the R package TRexSelector on CRAN.
Introduction
Financial index tracking aims to replicate the performance of a benchmark index, such as the S&P 500. While full replication is theoretically possible, it is often impractical due to the high transaction costs associated with managing hundreds of individual stocks. Sparse index tracking seeks to mitigate this by selecting a small, representative subset of stocks.
However, two significant hurdles persist: the difficulty of manual parameter tuning and the presence of highly correlated variables. Financial data is characterized by complex, overlapping dependencies between stocks. Standard variable selection methods, such as the model-X knockoff method, often fail to maintain control over the False Discovery Rate (FDR)—the expected proportion of irrelevant variables selected—when these strong dependencies are present.
Methodology: The T-Rex Selector with NN-Penalization
This research extends the T-Rex selector, a high-dimensional variable selection framework designed to control FDR. The core process involves generating dummy variables from random noise, appending them to the actual stock data, and performing multiple forward variable selection experiments to determine the relative importance of real variables.
The primary innovation is the introduction of Nearest Neighbors (NN) penalization. Unlike previous dependency-aware methods that required variables to be partitioned into distinct groups, NN-penalization accounts for the complex, "web-like" correlations found in real-world markets. By penalizing the selection of a stock if its highly correlated neighbors are also selected, the method prevents the inclusion of redundant variables and maintains strict FDR control. This allows investors to treat the FDR as a "transaction budget," choosing a target level (e.g., 20% or 30%) to balance tracking accuracy with portfolio sparsity.
Experimental Setup and Results
The proposed method, T-Rex+DA+NN, was evaluated using daily returns of the S&P 500 index over a 20-year period (2003–2023), involving 390 candidate stocks. Performance was compared against standard T-Rex, model-X knockoffs, and the ALAIT-ETE method using a rolling-window approach.
As illustrated in the wealth curves, the proposed method (blue) tracks the S&P 500 index (black) more closely than the benchmarks. Notably, it achieves this superior accuracy while consistently utilizing the fewest number of stocks. Quantitative results further highlight this efficiency: at a target FDR of 25%, the proposed method achieved a Mean Squared Wealth Tracking Error (MSTE) of 0.03, significantly outperforming the ALAIT-ETE benchmark's MSTE of 0.76.
Conclusion
The T-Rex+DA+NN method provides a mathematically grounded approach to sparse variable selection in high-dimensional settings with strong dependencies. By successfully managing overlapping correlations, it offers a practical tool for financial index tracking and other fields like genomics. The authors have made the implementation available via the TRexSelector R package on CRAN.
Summary updated