Skip to main content icon/video/no-internet

The R-squared (R2) measures the explanatory or predictive power of a regression model. It is a GOODNESS-OF-FIT MEASURE, indicating how well the linear regression equation fits the data.

In regression analysis, it is important to evaluate the performance of the estimated regression equation. To what extent does it account for the phenomenon under study? The R2 is the leading performance measure for a simple or MULTIPLE REGRESSION model. Suppose a policy analyst is studying public school expenditures in the 50 American states. The analyst posits a simple regression model, Y =a +bX +e, where Y is the dependent variable of per-pupil public school expenditures (in thousands of dollars) in each state in the year 2000, X is the INDEPENDENT VARIABLE of urbanization (percentage of population in cities larger than 25,000, as of the 2000 census), and e is the error term. The model argues that state public school outlays are accounted for, in part, by urbanization. ORDINARY LEAST SQUARES (ols) estimation yields, hypothetically, the following results:Y =2.11 +.60X +e, suggesting that for every additional percentage of urban population, a state expects to spend $600 more. The R2, or coefficient of determination, for the equation is .42, which says that 42% of the variation in state public school expenditures is explained, or at least predicted, by urbanization.

The R2 shows the gain in predicting Y knowing X, as opposed to not knowing X. Suppose that the analyst knows the scores on Y, but not the states to which they are attached, and tries to predict school expenditures state by state. The best guess, the one that minimizes the error, would always be the average of Y, that is, Ym. This guess will be way off for most states, with a great distance from the observed expenditure score to the average expenditure score, that is, (YYm). Adding all these distances together (after squaring to overcome the canceling out of the plus and minus signs), they represent the total prediction error not knowing X; that is, total sum of squared deviations (TSS) =(YYm)(^Y =, is the improvement over the baseline prediction made possible by knowing X. This distance, squared and summed for all observations, is the reduction in prediction error attributable to application of the regression line; that is, regression sum of squared deviations (RSS) =(^2.

Regression analysis promises reduction of this prediction error through knowledge of X and its linear relationship to Y. For example, knowing a state’s score on X is 30% urban, the prediction, ^Y, is 20.21 2.11 + 18.10 = 20.21), not Ym. The distance from the predicted Y to the mean Y, (^YYm)YYm)2. Unless the regression line predicts each case perfectly, some error will still remain: the distance from the observed Y and the predicted Y. These distances, squared then summed, represent the variation in Y that remains unexplained; that is, error sum of squared deviations (ESS) =(Y − ^Y)2.

Total variation in the dependent variable, TSS, thus has two unique parts: RSS accounted for by the regression and ESS not accounted for by the regression. The R2 reflects the regression portion as a share of the total, RSS/TSS =R2. The statistic ranges from 1.0, when all variation is accounted for, to .00, when no variation is accounted for. With real-world data, the R2 seldom reaches these extreme values. In the above example, we may say that 42% of the variation in public school expenditures is explained by urbanization. It is important to remember that this explanation may be more “statistical” than “causal.” It could be that urbanization helps predict public school expenditure but does not really explain it in a theoretical sense. In such cases, it is more cautious, and perhaps more correct, to say that X merely “accounts for” so much variation in Y. In the bivariate regression case, the R2 equals the correlation coefficient squared (the r2).

...

locked icon

Sign in to access this content

Get a 30 day FREE TRIAL

  • Watch videos from a variety of sources bringing classroom topics to life
  • Read modern, diverse business cases
  • Explore hundreds of books and reference titles

Sage Recommends

We found other relevant content for you on other Sage platforms.

Loading