PSTAT126 Homework 5: Regression Analysis
PSTAT126 Homework 5: Regression Analysis
The intercept in backward elimination is notably large (−1000), reflecting a specific baseline condition under which Y is measured with all predictors held constant. Despite its size, it doesn't directly impact the goodness of fit, which is enhanced by the predictive contributions of X1 and X2, leading to a perfect R-squared. The emphasis lies on the predictor variables' significance and interactions rather than the intercept itself .
In forward selection, the AIC is used to indicate minimizing complexity early on, prioritizing a model with a reduced number of predictors, as seen when only X3 is chosen. In contrast, backward elimination uses AIC to gauge the necessity of each variable, resulting in retaining more variables (X1, X2, X3) with a lower overall AIC, which can suggest a better fit but risks overfitting .
AIC aids in balancing interpretability and predictive power by selecting models with lower values to reduce complexity without significant loss of fit. In forward selection, AIC minimized the number of predictors to one (X3), emphasizing simplicity and interpretability. In backward selection, AIC allowed retention of all predictors due to their collective low computation cost, indicating superior predictive power but risking reduced interpretability owing to complexity and potential overfitting .
Forward selection identified X3 as the sole significant active regressor with a focus on simplicity and a lower AIC (-0.31), implying that X3 alone provides sufficient explanatory power for the dataset. Conversely, backward elimination retained X1, X2, and X3, presenting a model with a perfect R-squared of 1 and a much lower AIC (-302.562), suggesting a very strong fit but potentially signaling overfitting. Importantly, the backward method underscores the combined explanatory power of X1, X2, and X3 .
Comparing AIC values between forward selection (AIC = -0.31) and backward elimination (AIC = -302.562) reveals divergences in model complexity handling. Lower AIC in backward elimination indicates a model with comprehensive factor absorption but heightened complexity, whereas higher AIC in forward selection reflects a scaffolding effect to maintain model simplicity and interpretability. The evident difference underscores the trade-off in criteria selection between model simplicity and extensive variance explanation .
Overfitting in the backward elimination model is evidenced by the perfect R-squared and the retention of all predictors (X1, X2, X3), with X3's non-significant p-value suggesting its addition might just fit noise rather than contributing real predictive power. While it demonstrates a comprehensive fit, this inclusion may not generalize well to unseen data, suggesting overfitting's adverse impact .
Forward selection ascribed significance to X3 with a p-value of 0.0123, below the 0.05 threshold, indicating statistical significance. Backward elimination, however, found all predictors (X1, X2, X3) significant with p-values close to zero, further enhancing fit with a perfect R-squared, but this may indicate overfitting as X3's contribution alone was less significant (p = 0.233).
In backward elimination, p-values complement AIC by offering statistical significance measures of predictor importance. Low p-values for X1 and X2 validate their strong effect on Y; however, AIC accentuates overall fit reliance, as shown by retention despite X3's non-significant p-value. This synergy permits pinpointing essential predictors, ensuring model fit beyond simple variance explanation, yet highlights potential overfitting, as reflected in analyzing X3's unexpected inclusion .
Forward selection involves sequential addition of predictors until no significant AIC decrease occurs, often resulting in more interpretable yet potentially less powerful models, as seen in the choice of X3 alone. Backward elimination tests the removal of variables, only omitting those that severely degrade fit, which can engender comprehensive models that precisely fit existing data but risk overfitting, evident in its inclusion of all predictors. Practically, this means forward selection may suit simpler hypotheses while backward elimination caters to exploratory scenarios .
Backward elimination retained all predictors (X1, X2, X3), leading to a perfect R-squared of 1, which can occur when the model captures all variability in the response variable due to including all possible explanatory variables, potentially leading to overfitting. Overfitting compromises predictive accuracy on new data as it fits noise along with the signal .