Evaluating Regression Model Fit and Interpreting Model Results

Quantitative Methods 8 min readModule 2 of 4Save

What you'll learn

  • LOS 1.d
    Evaluate how well a multiple regression model explains the dependent variable by analyzing ANOVA table results and measures of goodness of fit.
  • LOS 1.e
    Formulate hypotheses on the significance of two or more coefficients in a multiple regression model and interpret the results of the joint hypothesis tests.
  • LOS 1.f
    Calculate and interpret a predicted value for the dependent variable, given the estimated regression model and assumed values for the independent variable.

ANOVA Tables

By decomposing the total variation in the dependent variable into the explained and unexplained components, we can evaluate the quality of model fit. Analysis of variance (ANOVA) is a statistical procedure that provides this information.

The results of the ANOVA procedure are presented in an ANOVA table, which accompanies a multiple regression output. A generic ANOVA table is presented in Figure 1.2.

Figure 1.2: ANOVA Table

SourceDegrees of freedomSum of squaresMean square
RegressionkRSSMSR
Errorn − k − 1SSEMSE
Totaln − 1SST

The first column indicates the “source” of the variation: regression is the explained component of the variation, while error is the unexplained component.

Coefficient of Determination, R2

evaluates the overall effectiveness of the entire set of independent variables in explaining the dependent variable. It is the percentage of variation in the dependent variable that is collectively explained by all of the independent variables. For example, an of 0.63 indicates that the model, as a whole, explains 63% of the variation in the dependent variable.

Adjusted R2

Unfortunately, almost always increases as more independent variables are added to the model even if the marginal contribution of the new variables is not statistically significant. Consequently, a relatively high may reflect the impact of a large set of independent variables, rather than how efficiently the set explains the dependent variable. This problem is often referred to as overestimating or overfitting the regression model.

To overcome the problem of overfitting (the impact of additional variables on the explanatory power of a regression model), many researchers recommend adjusting for the number of independent variables. The adjusted value is expressed as:

will always be less than or equal to . So while adding a new independent variable to the model will increase , it may either increase or decrease the . If the new variable has only a small effect on (i.e., the absolute value of the coefficient’s t statistic is less than 1), the value of will decrease.

Worked example: Calculating and adjusted

An analyst runs a regression of monthly stock returns on five independent variables over 60 months. The total sum of squares for the regression is 460, and the sum of squared errors is 170. Calculate the and adjusted .

Solution

The of 63% suggests that the five independent variables together explain 63% of the variation in monthly stock returns. The is, as expected, a somewhat lower value.

Worked example: Interpreting adjusted

Suppose the analyst now adds four more independent variables to the regression, and the increases to 65.0%. Identify which model the analyst is most likely to prefer.

Solution

With nine independent variables, even though the has increased from 63% to 65%, the adjusted has decreased from 59.6% to 58.7%:

The analyst will prefer the first model because the adjusted is higher, and the model has five independent variables as opposed to nine.

While the adjusted penalizes overfitting, it does not indicate the quality of model fit, nor does it indicate statistical significance of the slope coefficients. We can formally evaluate the overall model fit using an F test (discussed later).

For evaluating a regression model, regression output may include the Akaike’s information criterion (AIC) and the Schwarz’s Bayesian information criteria (BIC). Both AIC and BIC evaluate the quality of model fit among competing models for the same dependent variable. Lower values indicate a better model under either criteria.

AIC is used if the goal is to have a better forecast, while BIC is used if the goal is a better goodness of fit.

These metrics can be calculated as follows:

The variable k is a penalty parameter in both criteria: higher values of k result in higher values of the criteria. Because ln(n) is greater than 2 for even small sample sizes, the BIC metric imposes a higher penalty for overfitting.

Worked example: Goodness of fit for the rent model

Continuing our example on rental price per square foot, the following shows the results when a single factor, two factors, and all three factors are used in the model.

Independent variableskSSRSSER²Adjusted R²AICBIC
Age13,318.932,627.39.23%8.75%985.9992.4
Age + Distance220,946.115,000.258.27%57.8%839.4849.2
Age + Distance + Restaurants322,395.613,550.562.30%61.7%822.0835.0

A. Which model is the most appropriate for use in generating forecasts?

B. Which model has a better goodness of fit?

Solution

A. The model with all three independent variables has the lowest AIC, and hence is the most appropriate model for generating forecasts.

B. The model with all three independent variables has the lowest BIC and hence the best goodness of fit. Also, the adjusted for the three factor model is the highest of the three models.

In addition to AIC and BIC, we can use a formal F test to evaluate nested models. Nested models are models such that one model, called the full model or unrestricted model, has a higher number of independent variables while another model, called the restricted model, has only a subset of the independent variables. Consider a full model with three independent variables that is evaluated relative to a more parsimonious restricted model, which includes only the first variable as the independent variable.

Unrestricted model: = + + + +

Restricted model: = + +

We want to test the following hypothesis:

We calculate the F statistic to test this hypothesis as:

Decision rule: reject if F (test statistic) > (critical value)

The F test evaluates whether the relative decrease in SSE due to the inclusion of q additional variables is statistically justified.

We could evaluate the individual slope coefficients using t tests. However, because there is likely to be some amount of correlation among the independent variables, the joint significance of excluded variables F test provides a more meaningful evaluation of the explanatory power of alternative models.

Worked example: Joint hypothesis test

Continuing our previous rental model data, and using the following information, conduct a joint test of hypotheses for the slope coefficients 2 and 3 at a 5% level of significance.

ModelkSSEn
Unrestricted313,550.64191
Restricted132,627.29191

Partial F table (5% level of significance)

Denominator degrees of freedomNumerator df: 1Numerator df: 2Numerator df: 3
1161200216
304.173.322.92
604.003.152.76
1203.923.072.68
1903.893.042.65
∞3.843.002.60

Solution

The critical F value with 2 and 187 degrees of freedom is 3.04, so we reject the null hypothesis and conclude that at least one of the two slope coefficients of the excluded variables is statistically different from 0.

As a general case, we can also use the F test to evaluate the overall model fit. That is, the F statistic can be used to test whether at least one of the independent variables explains a significant portion of the variation of the dependent variable.

For example, if there are three independent variables in the model, the hypothesis is structured as:

In such a situation, all the explanatory variables are excluded in the restricted model (i.e., q = k), and all of the variation in the restricted model is unexplained (i.e., = ). The F statistic then becomes:

Predicting the Dependent Variable

We can use the regression equation to make predictions about the dependent variable based on forecasted values of the independent variables. The process is similar to forecasting with simple linear regression, except now we need predicted values for more than one independent variable. The predicted value of dependent variable Y is:

The prediction of the dependent variable uses the estimated intercept and all of the estimated slope coefficients, regardless of whether the estimated coefficients are statistically significantly different from zero. For example, suppose you estimate the following regression equation:, and you determine that only the first independent variable () is statistically significant (i.e., you fail to reject the null that = 0). To predict Y given forecasts of = 0.6 and = 0.8, you would use the complete model: Alternatively, you could drop and re estimate the model using just ; but remember that the coefficient of will most likely change.

Worked example: Calculating a predicted value for the dependent variable

An analyst would like to use the estimated regression equation from the previous example to calculate the predicted 10 year real earnings growth rate for the S&P 500, assuming the payout ratio of the index is 50%. He observes that the slope of the yield curve is currently 4%. What is the model’s prediction for the index’s real earnings growth rate?

Solution

The model predicts a 1.46% real earnings growth rate for the S&P 500, assuming a 50% payout ratio, when the slope of the yield curve is 4%.

Finished this module?
Track your progress across all 171 modules.
Test yourself on Reading 1CFA-style practice questions