Wize University Statistics Textbook > Inference for Linear Regression
Standard Error and R-Square

R Squared and Standard Error Formulas
Coefficient of Determination (R Squared)
R2=SSTSSR=1− SSTSSE
R2 measures the how much of the variation in Y is explained by X.
PAGE BREAK
Residual Standard Deviation Se
Other names:
- Standard deviation of the estimate
- Standard error
- Overall standard deviation
Se=n−k−1SSE=MSE
where,
- k= # of explanatory variables, xi′s
- Se measures the overall spread of the residuals (or errors).
- It is the vertical distances between the actual points and the predicted points obtained using the regression line.
PAGE BREAK
Sum of Squared Errors (SSE)
SSE=SSyy−SSxxSSxy2
SSE=∑y2−b0∑y−b1∑xy
This is where SST, SSM, and SSE are located in the ANOVA table:

R.E.T. "Really Exciting Table"

Example: Residual Standard Deviation and R-Square
What is the residual standard deviation?
Se=n−k−1SSE=
Se=10−1−11422.5156=477.81445=13.3347
As you can see, this is the Standard Error in the above output.
PAGE BREAK
What is the coefficient of determination?
R2=SSTSSR=
R2=1840417.4844=0.2269
________% of the variation in y can be attributed to its linear relationship with x.
As you can see, this is the R Square in the above output.