R-squared
R-squared is the share of the variation in the outcome that a model accounts for, from 0 (none) to 1 (all).
Last reviewed
It's the first statistic most people quote and among the least informative for a mix model. Sales series with strong trend and seasonality give a high R-squared to almost any model, and adding inputs can only push it up. Adjusted R-squared corrects for the number of inputs.
A high R-squared tells you the model traces the sales line. It tells you nothing about whether the credit went to the right channels.
- Also called
- R2, Coefficient of determination, Adjusted R-squared
- Topic
- Model quality and Bayesian methods
Related terms
- Overfitting
- Overfitting is when a model learns the random noise in its training data as if it were real pattern, so it fits history closely and predicts new data badly.
- Mean absolute percentage error (MAPE)
- Mean absolute percentage error is the average size of a model's prediction errors, expressed as a percentage of the actual values.
- Normalized root mean squared error (NRMSE)
- Normalized root mean squared error measures a model's typical prediction error, with large misses weighted more heavily, scaled so it can be compared across datasets.
- Model validation
- Model validation is the set of checks that tell you how far to trust a model: how well it predicts data it hasn't seen, whether its results are stable, and whether they agree with experiments.
- Residuals
- Residuals are the gaps between what a model predicted and what actually happened, one for each time period.
Go deeper
Want a second opinion?
Tell us what you're trying to decide and what data you have, and we'll tell you what we'd do. Or take the short readiness quiz first. It's a rough screen, not a verdict. Both open on the home page.