
R2
R-squared (R²) is a statistic that indicates how well a model, like a regression line, explains the variation in the data. It ranges from 0 to 1, where 0 means the model explains none of the variability, and 1 means it explains all of it. For example, an R² of 0.8 suggests that 80% of the changes in the outcome can be accounted for by the model's variables. It's a useful measure of the model's explanatory power, helping you assess how well the predicted values match the actual observed data.