The coefficient of determination is computed as R2=1−SSTSSE, where
SST: the total sum of squares
SST = SSR + SSE
SSR: the sum of squares due to regression
SSE: the sum of squares due to error
SSE=∑(yi−y^)2
SST=∑(yi−yˉ)2
Difference between R2 and adjusted R2
More explanatory variables always result in a higher R2.
Some of these variables may be unimportant and should not be in the model.
The Adjusted R2 tries to balance the raw explanatory power against the desire to include only important predictors.
Goodness-of-Fit Measures: Adjusted R2
The Adjusted R2 is computed as:
Adjusted R2=1−(1−R2)n−k−1n−1
The Adjusted R2 penalizes the R2 for adding additional independent variables.
Tests of Individual Significance
Linear multiple regression model: y=b<em>0+b</em>1x<em>1+b</em>2x<em>2+…+b</em>kxk+e
The most common hypothesis test for an individual slope coefficient is to test whether its value differs from zero.
If a coefficient is equal to zero, then it implies that the explanatory variable is not a significant predictor of the dependent variable:
H<em>0:β</em>j=0
H<em>1:β</em>j=0
Tests of Individual Significance
The test statistic will follow a t-distribution with degrees of freedom df = n – k – 1. It is calculated as:
t=S</em>b<em>jb<em>j−0=S<em>b</em>jb</em>j
S<em>b</em>j is the standard error of the estimator bj
Tests of Joint Significance
In addition to conducting tests of individual significance, we also may want to test the joint significance of all k variables at once -> F-Test for Overall Significance of the Model
The competing hypotheses for a test of joint significance are:
H<em>0:β</em>1=β<em>2=…=β</em>K=0
H<em>1: at least one β</em>i=0 (at least one independent variable affects Y)
Tests of Joint Significance
The test statistic for a test of joint significance is
F=MSEMSR=SSE/(n−k−1)SSR/k,
where MSR and MSE are, respectively, the mean square regression and the mean square error.
The numerator degrees of freedom is df<em>1=k, while the denominator degrees of freedom is df</em>2=n–k–1