Skip to content

Regression: what drives a result

How the lab estimates each input's effect on a result, what R squared and the typical miss mean, the held-back test and the what-if sliders.

Updated

Good for: estimating how much each input moves the result when the others are held steady, and trying settings with the what-if sliders.

Misleads when: inputs move together (their separate effects cannot be told apart), the link is not a straight line, or the model is used outside the range of the data it was fitted on.

What it does #

Regression fits the result (chosen at the top of the page) as a straight-line combination of the inputs you tick. Numbers enter as they are. A grouping such as workcenter or inspector enters as one input per group, each compared with the most common group.

The figures #

FigureMeaning
R squaredThe share of the result's ups and downs the inputs explain, from 0 to 1
Typical missHow far a prediction is usually off, in the result's own unit
EffectHow much the result changes when the input rises by a typical amount (one standard deviation), or for a group, the difference from the most common group
95 % rangeWhere the true effect most likely lies; a range that crosses zero means the direction is not settled
VerdictWhether the effect could be chance, adjusted for the number of inputs (how sure is it)

An input that moves exactly with others is left out, and the page says so: its separate effect cannot be measured.

The held-back test #

Unless you switch it off, the newest fifth of the rows is held back while fitting, then predicted. If the typical miss on those rows is much worse than when fitting, the model describes the past rather than the process. This is the honest test.

What if #

Move the sliders to try settings. The prediction comes with a range: 95 % of single rows with those settings would fall in it. The sliders stop at the lowest and highest values in the data, because the model says nothing beyond them.

Saving it #

Choose Save model to keep the fit; later you can score it against newer rows to see whether it still holds.

Was this helpful?
Thank you. It helps us write better articles.