... | ... | @@ -13,9 +13,7 @@ R² is a useful metric for assessing how well a model explains the relationship |
|
|
|
|
|
R² is calculated by comparing the total variation in the response variable to the variation explained by the model. The formula is:
|
|
|
|
|
|
\[
|
|
|
R² = 1 - \frac{\text{SS}_\text{residual}}{\text{SS}_\text{total}}
|
|
|
\]
|
|
|

|
|
|
|
|
|
Where:
|
|
|
- **SS_residual** is the sum of squared differences between the observed values and the values predicted by the model (i.e., the residuals).
|
... | ... | |