Forecasting and statistics
Regression and R-squared
Regression estimates how one quantity changes when another changes; R-squared shows what share of its variation the relation explains, between 0 and 1.
Key points
- The slope says how much the result rises for a one-unit rise in the driver.
- An R-squared of 0.7 means the relation explains 70% of the variation; the rest comes from other factors or noise.
- PrismIQ uses it for top drivers and to estimate break-even from costs and revenue.
Formula
y = a + b × x · R² = 1 − (sum of squared errors ÷ sum of squared deviations of y from its mean)
Illustrative example
Over 24 months, a company’s costs against revenue give the regression: cost = 5,000 + 0.6 × revenue, with R² = 0.99. Read: about 5,000 lei of fixed costs a month and 60 bani of variable cost for each leu of revenue.
The company and figures in the example are illustrative.
Common mistakes
- Reading a high R-squared as proof of causation.
- Extrapolating the relation far outside the observed values.
- Ignoring extreme values, which can shift the slope.
Read more
- The Drivers of a Forecast: Finding What Actually Moves Your Numbers
- Compute it on your own data in PrismIQ →
Related terms
Correlation · Correlation vs causation · Fixed and variable costs