Challenge: Regression Analysis
Assess your skills by completing a challenge.
We'll cover the following
Explained sum of squares
The explained sum of squares (ESS), also known as the explained variation, is the portion of total variation that measures how well the regression equation explains the relationship between and .
Residual sum of squares
The residual sum of squares (RSS), also known as unexplained variation, is the portion of total variation that measures discrepancies (errors) between the actual values of and those estimated by the regression equation.
Problem statement
You are given a piece of R code for calculating the TSS, ESS, and RSS. The task is to compute the TSS, ESS, and RSS by using the given dataset (final.85
) and model (model1
).
Formulas
- Total variations in , that is., total sum of squares (TSS).
It means the sum of squared deviations of actual from mean of ( ) across observations.
- Explained variations in , that is, explained sum of squares (ESS).
It means the sum of squared deviations of predicted from mean across observations.
- Unexplained variations in , that is, residual sum of squares (RSS).
Get hands-on with 1400+ tech skills courses.