Best Subset Selection in Regression
Best Subset Selection in Regression
Mallow's Cp is a criterion used to evaluate model performance by considering both the residual sum of squares (RSS) and the number of parameters (k) in the model . It is calculated as Cp = (1/n)RSS + 2kσ², where σ² is an estimate of the variance of the error associated with each response measurement . Mallow's Cp helps balance the trade-off between the complexity and the fit of the model, aiming for a minimum Cp value, which suggests a model that is parsimonious yet has a good fit .
Information Criterion, such as AIC and BIC, are used to adjust for potential overfitting by penalizing the incorporation of additional predictors based on their number, thus promoting simpler models unless the complexity is justified by a significantly better fit . However, in high-dimensional settings, standard AIC and BIC often lead to overfitting because they do not sufficiently penalize the complexity for a large number of predictors relative to observations . In such scenarios, extended versions, like the one proposed by Chen and Chen (2008), utilize additional terms in their penalty function (e.g., replacing log(N) with log(N) + 2log(P) in BIC) to better account for model complexity and promote robustness in model selection .
The key motivations for seeking alternatives to OLS in regression modeling are prediction accuracy and model interpretability . Specifically, when the number of predictors (P) is not much smaller than the number of observations (N), OLS predictions may suffer from high variance, leading to overfitting and poor out-of-sample (OOS) predictions . Moreover, OLS often includes many predictors that may be irrelevant, hindering model interpretability . Alternatives like penalization methods aim to enhance interpretability by setting some coefficients to zero, which can also help reduce variance by simplifying the model .
Stepwise selection methods, such as forward and backward stepwise selection, might be preferred over best subset selection in cases where computational efficiency and statistical robustness are prioritized . Best subset selection requires evaluating all possible combinations of predictors, which becomes computationally prohibitive as the number of predictors increases, particularly when P is large . Moreover, a larger search space in best subset selection increases the risk of overfitting, as it may identify models that fit the training data well but perform poorly on OOS data . Stepwise methods reduce this complexity by exploring a smaller, more manageable set of models, thus offering a practical balance between computational feasibility and statistical reliability .
Both AIC and BIC are criteria used for model selection by penalizing the complexity of the model to avoid overfitting. AIC is defined as AIC = -2log L + 2k, where L is the likelihood of the model, and emphasizes finding a model closest to the truth by minimizing the Kullback-Leibler divergence . In contrast, BIC is defined as BIC = -2log L + log(N) * k, where N is the number of observations, emphasizing the model's probability under a probabilistic framework . BIC applies a stricter penalty on model complexity compared to AIC, generally favoring simpler models when N is large . As a result, BIC may be more suitable in scenarios where overfitting is particularly concerning .
Backward stepwise selection involves starting with a full model containing all predictors and iteratively removing the least useful predictor at each step. A significant limitation in high-dimensional contexts is that it cannot be employed when the number of predictors (P) exceeds the number of observations (N) because a full model cannot be estimated in such cases . Additionally, by constraining the search space, while reducing variance, it risks introducing bias as potentially relevant predictors are overlooked if they do not significantly enhance the fit at each step . This method requires careful consideration of these trade-offs, especially as the risk of multicollinearity and overfitting can be heightened in high-dimensional settings .
Subset selection improves model interpretability by potentially setting the coefficients of irrelevant predictors to zero, focusing only on relevant predictors that contribute to the prediction accuracy . This approach helps reduce the complexity of the model, thus reducing the variance that comes with using too many predictors, which can improve OOS prediction accuracy compared to traditional OLS . Subset selection also provides a trade-off between bias and variance, which can lead to better OOS performance by avoiding overfitting .
The bias-variance tradeoff in subset selection revolves around balancing the model's complexity to achieve the best predictive performance. When fewer predictors are selected, complexity is reduced, which decreases the variance but potentially increases bias if important predictors are omitted . Conversely, including more predictors can reduce bias by capturing more nuances of the true data-generating process but may increase variance, especially in small samples, because the model becomes more sensitive to fluctuations in the training data . The objective of subset selection is to find a predictor subset that minimizes out-of-sample mean squared error (OOS MSE) by appropriately balancing this tradeoff .
Forward stepwise selection begins with a null model containing no predictors and sequentially adds predictors. At each step, it considers the remaining predictors that can be added and selects the one that improves the model the most according to a chosen criterion, like smallest residual sum of squares (RSS) or highest R² . This process is repeated until no additional meaningful predictors can be added. Its benefits include computational efficiency and applicability in high-dimensional settings, where P may exceed N . However, forward stepwise selection may not always yield the best possible model, as it does not evaluate all combinations and thus might miss synergistic effects among predictors captured by a full search like best subset selection would .
Forward and backward stepwise selection methods are flexible and not confined to OLS regression because they operate based on a criterion (e.g., RSS, deviance, or likelihood) rather than specific model coefficients . These methods can be extended to other regression contexts, such as logistic regression, by replacing the OLS criteria (like R² or RSS) with relevant metrics such as deviance (negative two times the log-likelihood). This adaptability allows for the systematic addition or removal of variables based on their contribution to the fit according to the chosen metric, making these selection methods versatile across various regression frameworks .