A worked example, rendered from real sample data. Sign in to run the tool on your own input.
Team size: 1 2 3 4 5 6
Story points: 2.5 4.8 5.1 7.9 8.2 10.5═══ Verdict ═══
✓ The slope is significant: 1.5143 per unit of Team size (p = 0.000539 < α = 0.05)
ℹ Story points = 1.5143 × Team size + 1.2000
ℹ R² = 0.9623 — the line explains 96.2% of the variation in Story points
✓ Residuals show no evidence against normality
✓ Residual spread looks constant across the range of X
═══ Model ═══
Equation: Story points = 1.5143 × Team size + 1.2000
Slope: 1.5143
Slope std error: 0.1498
Slope t(4): 10.1067
Slope p-value: 0.000539
95% CI for slope: 1.0983 to 1.9303
Intercept: 1.2000
Intercept std error: 0.5835
Meaning of slope: each 1-unit rise in Team size goes with a 1.5143 rise in Story points.
═══ Fit Quality ═══
R²: 0.9623
Adjusted R²: 0.9529
Residual standard error: 0.6268 on 4 df
F(1, 4): 102.1455
Model p-value: 0.000539
Residual sum of squares: 1.5714
Total sum of squares: 41.7000
Correlation (r): 0.9810
Sample size: 6
A high R² means the line tracks these points; it does not prove the line is the right shape or that X causes Y.
═══ Residual Behaviour ═══
Mean residual: -1.48e-16 (always ~0 by construction)
Largest standardized residual: 1.026 at point 3 (3.000, 5.100)
Durbin-Watson: 3.714 (near 2 = no autocorrelation, near 0 = positive, near 4 = negative)
Breusch-Pagan LM: 3.71e-29, p = 1.000000
⚠ Residual normality: not testable with n = 6; judge from the histogram and be cautious
✓ No residual beyond 3 standard errors
ℹ Durbin-Watson needs about 12 points before it means anything
═══ Assumptions ═══
Linearity: the true relationship is a straight line (check the residual plot for a curve).
Independence: each observation is unre
…
Analyze regression models and coefficients. Part of the DevTools Surf developer suite. Browse more tools in the Statistics collection.