Analysis report

1973–74 Road Test

Data from R datasets package (R Core Team), published under https://diafunc.com/licences/view-only.

Target
Mpg
Analyzed
2026-10-23 20:23 UTC

Summary

The model's margin over a straight line through the data is small, enough that the two formulas gave nearly the same answers row by row. Of the two inputs the model reads, Qsec is the strongest: as Qsec rises, the model's output rises as well. Moving Qsec from 16.9 to 18.9 raises the model's output by about 2.03 on average within the observed range, with every other column as seen in these data.

The check rests on ten held-out rows, which is not enough to set the model's relative margin with confidence. This model is easy to read but should be considered provisional and not relied on for decisions about individual cases. Validate on a fresh sample before relying on the model for decisions.

Formula

Mpg = Qsec − 4.8 × Wt + 18Mpg=Qsec−4.8×Wt+18
Mpg = Qsec − 4.8 × Wt + 18
3 terms · additively decomposable

Held-out diagnostics

TargetQualityErrorR²MAEGeneralizationRows
Mpg30.71 %28.52 %0.71482.255insufficient10
  • Mpg · Quality 95 % CI 0 % – 63.27 %
  • Mpg · Error 95 % CI 15.12 % – 100 %
  • Mpg · R² 95 % CI -0.0355 – 0.8488
  • Mpg · MAE 95 % CI 1.086 – 3.407

Concerns

CRITICAL model

Too few rows for the number of targets

Every model trains on the same 32 rows, and 1 target share that small sample: quality varies widely from one split to another, and among several targets one can look strong by chance. Input rankings are not reliable at this size. Add more rows, or model fewer targets.

WARNING data

Few rows

The data has only 32 rows. Aggregate statistics are coarse and confidence intervals wide, so input importance rankings are suggestive rather than definitive.

WARNING model

The model barely beats a straight line through the data on `Mpg`

The model explains 71% of the variation on the held-out rows, where a straight line through the data explains 67%, a margin of 4.2 points. The formula adds little over the reference predictor; whether it is worth its complexity depends on the use. Row by row the two are about level.

INFO implications

2 inputs could stand in for a column, if that column must not steer predictions

This matters only for a column that is a characteristic the predictions must not follow, such as a person's age, sex or origin; for ordinary properties of the data it needs no action. For 2 pairs an input a model reads and a column the Fairness chapter compares go together with an association of at least 0.5 on a scale from 0 to 1. The closest: Qsec with Vs (0.745); Wt with Am (0.693). A model that reads such an input can tell the column's groups apart, so leaving the column out of the inputs would not keep it out of the predictions. The Fairness chapter compares the model across its groups. An association, not a cause.

Complete list (2)
ColumnDetail
vsQsec goes with it, an association of 0.745 on a scale from 0 to 1
amWt goes with it, an association of 0.693 on a scale from 0 to 1

Analysis

The report opens with the Headline and the Concerns, followed by the Discovered Relations when the analysis has targets and by Questions & Answers when questions were asked. Three sections carry the detail: Model presents one model per target, Implications states where the models hold and what to weigh before relying on them, and Data describes the table as supplied, column by column, for reference.

Generated 2026-10-23 20:23 UTC, analysis 01304900-48b8-11f1-8087-d378640fe787, 1 target, time budget 1 h 0 min, compute budget 500 credits, 32 rows. The Provenance & Audit chapter holds the full record.

Validity

Validity: valid. Nothing in the data or the formula speaks against relying on this result.

How to read this

Whether this result is one to rely on. Quality says how closely the formula follows the data; validity says whether that closeness means anything. A formula that only restates its target, or that reads a column which already holds the answer, can reach a very high quality and still tell you nothing new.

What it found

Mpg starts from a base of 18, rises with Qsec, and falls with Wt.

  1. The formula for Mpg reads these inputs. Qsec and Wt.
  2. Mpg rises with Qsec and falls with Wt. One more unit of Wt goes with the model's output lower by 4.8; of Qsec higher by 1. The formula adds these up, so no rate depends on the other inputs.
  3. Number of cylinders is not in the formula. It has the strongest correlation with Mpg in the table (-0.85). Rows with more of it have more Wt (correlation 0.78), and Wt is in the formula.
  4. The formula is only slightly ahead of a straight line. The formula explains 71% of Mpg; a straight line explains 67%, so treat them as level. That was measured on 10 rows it never saw. The formula typically misses Mpg by 2.26.

Summary

What to do next: Too few held-out rows to judge.

5 chapters, each headed by what it found.

The formula reads 2 inputs

What the formula relies on.

Permutation importance could not be measured for any input, because the model produced no number for at least some held-out rows. The chart below shows every input at zero. The Model Constraints chapter counts those rows, and the held-out figures say how many of the rows it was given it could answer; running the analysis on cleaner data, or at a lower complexity, may make importance measurable.

The model's output rises with Qsec on every one of the 21 measured rows (exact derivative). The model's output falls with Wt on every one of the 21 measured rows (exact derivative). Moving Qsec from 16.9 to 18.9, its first and third quartile, with every other input as observed raises the model's output by 2.03 on average. These are measurements on the rows the search trained on, inside the observed ranges; outside them nothing is claimed.

InputShare of importancePermutation importanceSensitivityResidual correlationOccurrencesModel's output as the input risesChange, first to third quartile
Qsec11Rises (21 of 21 rows)+2.03 (16.87 to 18.9)
Wt4.81Falls (21 of 21 rows)-2.784 (3.15 to 3.73)
Rows the search trained on, measured
21
Inputs the formula does not read
Am, Number of carburetors, Number of cylinders, Disp, Drat, Number of forward gears, Gross horsepower, Vs

Read as a sum, the formula has 3 additive terms: 2 that read an input and a constant base. All that read an input are needed to reach 100% of the variation of the model's output on the 21 rows the search trained on: the largest are -4.8 × Wt (81%) and 1 × Qsec (19%). A share describes the model's output, not the target. Each curve below shows one term's response to its free inputs, with the other inputs held at the training median.

Additive
Yes
Rows the search trained on, measured
21
Terms in the formula
3
Notation
Qsec − 4.8 × Wt + 18
Target
Mpg

R² 0.71 on rows it never saw

How well it holds. The formula explains 71% of Mpg; a straight line explains 67%, so treat them as level.

R² of 0.715: good. The model captures most of the variation; individual predictions still carry uncertainty; the Prediction Interval Coverage chapter shows how wide it is. Mean absolute error is 2.26 on the target's scale.

Error
28.52 % (95 % CI 15.12 % – 100 %)
MAE
2.255 (95 % CI 1.086 – 3.407)
N
10
Training rows
22
Quality
30.71 % (95 % CI 0 % – 63.27 %)
R²
0.7148 (95 % CI -0.0355 – 0.8488)
Target
Mpg

The model beats the strongest simple yardstick, a straight line through the data, by 4.2 points of variance explained on the held-out rows. Row by row the margin is small: on many individual rows the yardstick does about as well, and whether the complexity is justified depends on the use. Of the 10 held-out rows where the two differ, the model is closer on 80% (95% interval 49% to 94.3%). The interval of the margin includes zero: on this many held-out rows the lead is not settled.

Best yardstick's score
0.6728 (95 % CI -0.2799 – 0.8459)
Best baseline R²
0.6728
Effect size d
0.2121 (95 % CI -0.3582 – 1.537)
Effect size d magnitude
small
Margin over the best yardstick
0.04203 (95 % CI -0.05319 – 0.313)
Margin's interval stays above zero
No
Model MAE
2.255 (95 % CI 1.086 – 3.407)
Model
0.7148 (95 % CI -0.0355 – 0.8488)
Model R²
0.7148 (95 % CI -0.0355 – 0.8488)
Held-out rows
10
Held-out rows without an answer
0
Target
Mpg
Rows where the model is closer
80 % (95 % CI 49.02 % – 94.33 %)
Rows compared
10
Rows level
0
Regression yardstick trained with gaps filled (too few complete rows)
No
Training rows of the regression yardstick
22

Too few held-out rows (10) to judge generalization confidently: held-out R² is 0.715, but on this few rows it cannot separate real overfitting from noise. It reads as not yet enough evidence, not as a pass or a fail; a larger dataset lets this verdict firm up.

Generalization gap
0.136
N test
10
Target
Mpg
Test error
2.255 (95 % CI 1.086 – 3.407)
Test R²
0.7148 (95 % CI -0.0355 – 0.8488)
Train error
0.1351
Train R²
0.8508
Verdict
Insufficient

No range of its inputs where it is markedly weaker

Where it is weak. The largest miss on a held-out row is 4.94 (recorded 14.7, predicted 9.76).

Segment drat in the third quarter (3.70 to 3.90) has only 3 held-out rows, too few to assess quality, so the verdict is suppressed.

SegmentRowsR²Gap to all rowsVerdict
Drat = q33-15.8431-16.5579Too few rows to judge
Number of cylinders = q43-2.3111-3.0259Too few rows to judge
Drat = q23-0.7611-1.4759Too few rows to judge
Number of forward gears = q24-0.7450-1.4598Too few rows to judge
Am = false4-0.7450-1.4598Too few rows to judge
Qsec = q23-0.2028-0.9176Too few rows to judge
Number of carburetors = q43-0.1148-0.8296Too few rows to judge
Drat = q430.2843-0.4306Too few rows to judge
Qsec = q430.4142-0.3006Too few rows to judge
Number of cylinders = q250.4187-0.2961Too few rows to judge

The first 10 rows of 19. The other 9 are in the notebook.

Aggregate R²
0.7148
Measure
r2
Target
Mpg

The worst held-out row was missed by 4.94 (target's scale). All 10 held-out rows are shown, sorted by absolute residual. Each card breaks the failure down into per-term contributions and input values, so the failure mode is inspectable. A large residual with one concentrated term contribution means one term got this row wrong; a large residual with balanced contributions means a structural mismatch.

ActualPredictedResidualQsecWt
14.709.76+4.9417.425.345
33.9029.09+4.8119.91.835
21.5026.18-4.6820.012.465
22.8025.47-2.6718.612.32
15.2017.86-2.66183.78
26.0024.43+1.5716.72.14
19.7020.20-0.5015.52.77
27.3027.61-0.3118.91.935
21.0021.22-0.2217.022.875
18.7018.51+0.1917.023.44
Additive
Yes
N extrapolated
0
Held-out rows
10
Held-out rows for the interval
10
Residual P5
-3.776
Residual P95
4.878
Residual std
3.099

0 of 10 held-out rows (0%) lie further from the training rows than 99 in 100 rows like them would, measured on the 2 inputs the model reads (qsec, wt). That is a small minority; the held-out figures describe the model on rows like the ones it was trained on.

TargetInputs measuredLineHeld-out rowsBeyond the lineShare
MpgQsec, Wt3.0351000 %
Score bins · 24 of 30 rows shown
CountFromTo
000.121
00.1210.243
00.2430.364
20.3640.486
00.4860.607
10.6070.728
00.7280.85
00.850.971
00.9711.093
11.0931.214

The first 10 rows of 24. The other 14 are in the notebook.

Not ready to use yet: 1 critical concern

What to watch. First: Too few rows for the number of targets.

SeveritySectionConcernDetail
CriticalModelToo few rows for the number of targetsEvery model trains on the same 32 rows, and 1 target share that small sample: quality varies widely from one split to another, and among several targets one can look strong by chance. Input rankings are not reliable at this size. Add more rows, or model fewer targets.
WarningDataFew rowsThe data has only 32 rows. Aggregate statistics are coarse and confidence intervals wide, so input importance rankings are suggestive rather than definitive.
WarningModelThe model barely beats a straight line through the data on MpgThe model explains 71% of the variation on the held-out rows, where a straight line through the data explains 67%, a margin of 4.2 points. The formula adds little over the reference predictor; whether it is worth its complexity depends on the use. Row by row the two are about level.
InfoImplications2 inputs could stand in for a column, if that column must not steer predictionsThis matters only for a column that is a characteristic the predictions must not follow, such as a person's age, sex or origin; for ordinary properties of the data it needs no action. For 2 pairs an input a model reads and a column the Fairness chapter compares go together with an association of at least 0.5 on a scale from 0 to 1. The closest: Qsec with Vs (0.745); Wt with Am (0.693). A model that reads such an input can tell the column's groups apart, so leaving the column out of the inputs would not keep it out of the predictions. The Fairness chapter compares the model across its groups. An association, not a cause.

The analysis ran with the configuration below. The checks and the verdict of this chapter are read against it.

  • Targets: 1 target: mpg
  • Rows: 32 rows, a small sample; input rankings are suggestive
  • Per-Segment Predictions: not produced, because no segment column was chosen
  • Fairness: compared across 2 categorical columns (am, vs); which of them are protected attributes is not decided here
  • Out-of-Distribution: held-out rows are scored against the training rows; predictions made outside this report are not scored
  • Provenance & Audit: recorded in the chapter of that name

Across 6 checks (2 pass, 4 warn, 0 fail, 1 critical concern), at least one check fails or a critical concern is open: Not ready. The failing checks need addressing first; they typically indicate data leakage, severe miscalibration, or a model that loses to its baseline.

NameStatusDetail
GeneralizationWarntoo few held-out rows to judge
Prediction Interval CoverageWarnintervals are wider than their level requires, largest gap 10.0 percentage points
Baseline Lift for MpgWarnbarely beats the best baseline, R² lift 0.042
Model ConstraintsPassevery held-out prediction is finite and within the training range
FairnessWarn2 columns compared, 2 flagged: Am (a group receives systematically smaller predictions), Vs (a group receives systematically smaller predictions)
Out-of-DistributionPass0% of held-out rows are out of distribution
N critical concerns
1
N fail
0
N pass
2
N warn
4
Overall verdict
Not ready

Column Am splits the held-out rows into 2 groups. The prediction-parity ratio is 0.733 (smallest over largest mean prediction), the largest absolute group residual mean is 0.552 (0.178 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. gear goes closely with am (association 0.794 on a scale from 0 to 1, and 4 more columns at 0.5 or above): a model that reads gear can tell the groups of am apart, so leaving am out of the inputs does not keep it out of the predictions.

Aggregate residual std
3.099
N columns
2
N proxies
10
Proxy threshold
0.5
Columns
Bias max abs residual meanColumnGroupsInterpretationN groupsN proxiesPrediction parity ratioVerdict
0.5515Amtrue, falseColumn Am splits the held-out rows into 2 groups. The prediction-parity ratio is 0.733 (smallest over largest mean prediction), the largest absolute group residual mean is 0.552 (0.178 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. gear goes closely with am (association 0.794 on a scale from 0 to 1, and 4 more columns at 0.5 or above): a model that reads gear can tell the groups of am apart, so leaving am out of the inputs does not keep it out of the predictions.250.7327Prediction parity gap
0.714Vsfalse, trueColumn Vs splits the held-out rows into 2 groups. The prediction-parity ratio is 0.689 (smallest over largest mean prediction), the largest absolute group residual mean is 0.714 (0.23 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. cyl goes closely with vs (association 0.811 on a scale from 0 to 1, and 4 more columns at 0.5 or above): a model that reads cyl can tell the groups of vs apart, so leaving vs out of the inputs does not keep it out of the predictions.250.689Prediction parity gap

A larger held-out set would firm up the figures

What to collect next. The figures rest on 10 held-out rows.

  • Collect more rows for the target Mpg. Reason: the analysis identified too few rows for the number of targets, with only 10 held-out rows, carrying a Critical diagnostic for training set size.
  • Collect more rows for all targets. Reason: the analysis flagged a Warning for few rows in total.
  • Collect more rows where Am is either group. Reason: the model showed a prediction parity gap in the Am column.
  • Collect more rows where Vs is either group. Reason: the model showed a prediction parity gap in the Vs column.
  • Add columns that capture information not already present, since the two strongest inputs (Wt and Qsec) could stand in for a single column, suggesting there may be an important input missing. Reason: the analysis flagged that 2 inputs could stand in for a column if one must not steer predictions.

Evidence

Every chapter of the analysis in full: the figures the story rests on, and everything else the analysis measured.

Headline

Diafunc modeled Mpg from 10 columns, using 2 in the model. The model explains 71% of the variation in Mpg and relies most on Qsec, with which the model's output rises.

  • One target was modeled; 10 rows were held out for checking.
  • A straight line through the data already explained 67%, and the model added 4.2 points of variance explained, a slight margin.
  • Too few rows for the number of targets was found as a Critical concern, on 10 held-out rows.
Best R²
0.7148
Best quality
30.71 %
Best target
mpg
Targets
1

Concerns

SeveritySectionConcernDetail
CriticalModelToo few rows for the number of targetsEvery model trains on the same 32 rows, and 1 target share that small sample: quality varies widely from one split to another, and among several targets one can look strong by chance. Input rankings are not reliable at this size. Add more rows, or model fewer targets.
WarningDataFew rowsThe data has only 32 rows. Aggregate statistics are coarse and confidence intervals wide, so input importance rankings are suggestive rather than definitive.
WarningModelThe model barely beats a straight line through the data on MpgThe model explains 71% of the variation on the held-out rows, where a straight line through the data explains 67%, a margin of 4.2 points. The formula adds little over the reference predictor; whether it is worth its complexity depends on the use. Row by row the two are about level.
InfoImplications2 inputs could stand in for a column, if that column must not steer predictionsThis matters only for a column that is a characteristic the predictions must not follow, such as a person's age, sex or origin; for ordinary properties of the data it needs no action. For 2 pairs an input a model reads and a column the Fairness chapter compares go together with an association of at least 0.5 on a scale from 0 to 1. The closest: Qsec with Vs (0.745); Wt with Am (0.693). A model that reads such an input can tell the column's groups apart, so leaving the column out of the inputs would not keep it out of the predictions. The Fairness chapter compares the model across its groups. An association, not a cause.

How to read this

Data-quality, model-quality, and deployment-risk issues detected during the analysis appear below, ordered by severity. Critical concerns are listed first; Warning and Info entries follow.

Discovered Relations

Quality and error measured on the 10 held-out rows
TargetFormulaQualityComplexityError
MpgMpg = Qsec − 4.8 × Wt + 1830.71 %6.8 %28.52 %

How to read this

One model per target, each a formula with its quality, complexity and error. Higher quality at lower complexity describes the data most clearly. The findings below read the models together; the per-target chapters in the Model section carry each formula, its predictions and its diagnostics.

Model

The findings point to a pronounced drop in quality on held-out rows and a barely adequate comparison with the straight line through the data for mpg. The model's output on mpg shows a share of variation explained of 0.715 on held-out rows, using two inputs and three terms. Critical and warning concerns are present and detailed in the Concerns chapter.

Most notable in the Model section:

  • The model explains 14 points less variance on held-out rows than on training rows (insufficient)

How to read this

The Model section presents one model per target: its formula, its predictions on held-out rows, the inputs it relies on, the baselines it is measured against, and diagnostics of how it behaves. With more than one target, the Composite Model, Multi-Output and Leaderboard chapters read the models as a set.

Mpg

The Model section builds one model for Mpg: a formula that expresses it through the other columns. Diafunc searches the space of mathematical expressions for the formula that balances accuracy against simplicity, so the result is not a black box but an expression that can be read, evaluated and questioned. The chapters that follow show the formula, score it on rows it never saw during training, and take it apart term by term.

Mpg Model

The model's output rises with Qsec and falls with Wt.

Mpg = Qsec − 4.8 × Wt + 18f:(Qsec,Wt)↦MpgQsec,Wt,Mpg∈RMpg=Qsec−4.8×Wt+18
Mpg = Qsec − 4.8 × Wt + 18
Quality 30.71 % · Error 28.52 % on 10 held-out rows · Complexity 6.8 %
Constants of the formula
ValueRoleInputUnit
-4.8SlopeWtOutput units per unit of Wt
18InterceptUnit of the model's output
Share of the output's variation they carry
100 %
Rows the search trained on, measured
21
Rows the search trained on
21
Held out R²
0.7148 (95 % CI -0.0355 – 0.8488)
Constant base
18
Constants in the formula
2
Terms that reach 95% of the output's variation
2
Terms that read an input, constants multiplied in
2
Training rows
22
Held-out rows
10
Inputs the formula reads
2
Terms in the formula
3
Inputs the formula does not read
Am, Number of carburetors, Number of cylinders, Disp, Drat, Number of forward gears, Gross horsepower, Vs

How to read this

The three gauges score the model on the held-out rows: rows that were set aside before the search and that the model never saw. They are the figures to quote for how the model does on new data.

MetricMeaning
QualityHow well the model predicts on the held-out rows, marked down for the size of its formula: 100% is an exact prediction, 0% is no better than always predicting the average. It is not R², and sits at or just below it
ErrorHow far the predictions lie from the held-out values, as a share of the miss of always predicting the average: 0% is an exact prediction, 100% is no better than the average
ComplexityThe size of the formula as a share of the complexity the search was allowed: a low figure is a short formula

The figures under During the search are the same measures on the training rows. They are what the search ranked its candidates by, so they describe the search and tend to flatter the model it chose. The Generalization chapter sets the training rows beside the held-out rows, and the Baselines chapter sets the model beside its baselines. The time and credit gauges account for the computation that produced the model, not for the model itself.

Prediction

The model predicts Mpg for any row that supplies the other columns. This chapter applies it to the held-out rows, the rows set aside before training, so that the predictions can be compared with values the model never saw. The rows themselves and the function that predicts them are kept as reference under Foundation, with the processed data.

Prediction Chart

R² of 0.715: good. The model captures most of the variation; individual predictions still carry uncertainty; the Prediction Interval Coverage chapter shows how wide it is. Mean absolute error is 2.26 on the target's scale.

Error
28.52 % (95 % CI 15.12 % – 100 %)
MAE
2.255 (95 % CI 1.086 – 3.407)
N
10
Training rows
22
Quality
30.71 % (95 % CI 0 % – 63.27 %)
R²
0.7148 (95 % CI -0.0355 – 0.8488)
Target
Mpg

How to read this

Actual Mpg on the horizontal axis against the model's predicted value on the vertical axis, for the held-out rows the model never saw during training. Points on the diagonal are perfect predictions; systematic vertical offsets reveal bias, vertical spread reveals noise, and points far from the diagonal are rows the model handles poorly. With 10,000 held-out rows or more, the rows are counted instead of drawn one point each: each cell is a range of the actual and a range of the predicted value, its colour the number of rows that fall in both, and the cells whose two ranges match hold the rows the model predicts well.

Residual Distribution
Bias
0.0464 (95 % CI -1.676 – 1.848)
N
10
P50
-0.266 (95 % CI -2.656 – 2.294)
P90
4.821 (95 % CI -0.0408 – 4.936)
P95
4.878 (95 % CI 0.7109 – 4.936)
P99
4.924 (95 % CI 1.372 – 4.936)
Std
3.099 (95 % CI 1.561 – 3.949)

How to read this

How the held-out residuals (actual Mpg minus predicted) are distributed. Bias is their mean: a value away from zero means the model is systematically high or low rather than merely imprecise. The standard deviation and the percentiles describe the spread, and the tail percentiles say how large the worst misses get. Every figure carries a bootstrap 95% confidence interval; with a small held-out set those intervals are wide, and that width is itself the finding.

Which inputs matter most

Permutation importance could not be measured for any input, because the model produced no number for at least some held-out rows. The chart below shows every input at zero. The Model Constraints chapter counts those rows, and the held-out figures say how many of the rows it was given it could answer; running the analysis on cleaner data, or at a lower complexity, may make importance measurable.

The model's output rises with Qsec on every one of the 21 measured rows (exact derivative). The model's output falls with Wt on every one of the 21 measured rows (exact derivative). Moving Qsec from 16.9 to 18.9, its first and third quartile, with every other input as observed raises the model's output by 2.03 on average. These are measurements on the rows the search trained on, inside the observed ranges; outside them nothing is claimed.

InputShare of importancePermutation importanceSensitivityResidual correlationOccurrencesModel's output as the input risesChange, first to third quartile
Qsec11Rises (21 of 21 rows)+2.03 (16.87 to 18.9)
Wt4.81Falls (21 of 21 rows)-2.784 (3.15 to 3.73)
Rows the search trained on, measured
21
Inputs the formula does not read
Am, Number of carburetors, Number of cylinders, Disp, Drat, Number of forward gears, Gross horsepower, Vs

How to read this

The chart ranks the inputs of the Mpg model by permutation importance: how much the model's error rises when that input's values are shuffled across rows so that it carries no information. A longer bar means the model relies on the input more. The order says which columns the model reads most, and those are the columns where measurement quality and data collection matter most. A short bar marks an input the model barely uses, which is a fact about this model and not a verdict on the column. Importance describes the model's reliance and nothing more: an input can rank high because it stands in for something the data does not contain. Where the search measured it, an input also carries the direction in which the model's output moves as the input rises, counted on the rows the search trained on, and the change of the output when the input alone goes from its first to its third quartile; both describe the formula inside the observed range and say nothing about causes.

Baselines

The model beats the strongest simple yardstick, a straight line through the data, by 4.2 points of variance explained on the held-out rows. Row by row the margin is small: on many individual rows the yardstick does about as well, and whether the complexity is justified depends on the use. Of the 10 held-out rows where the two differ, the model is closer on 80% (95% interval 49% to 94.3%). The interval of the margin includes zero: on this many held-out rows the lead is not settled.

Best yardstick's score
0.6728 (95 % CI -0.2799 – 0.8459)
Best baseline R²
0.6728
Effect size d
0.2121 (95 % CI -0.3582 – 1.537)
Effect size d magnitude
small
Margin over the best yardstick
0.04203 (95 % CI -0.05319 – 0.313)
Margin's interval stays above zero
No
Model MAE
2.255 (95 % CI 1.086 – 3.407)
Model
0.7148 (95 % CI -0.0355 – 0.8488)
Model R²
0.7148 (95 % CI -0.0355 – 0.8488)
Held-out rows
10
Held-out rows without an answer
0
Target
Mpg
Rows where the model is closer
80 % (95 % CI 49.02 % – 94.33 %)
Rows compared
10
Rows level
0
Regression yardstick trained with gaps filled (too few complete rows)
No
Training rows of the regression yardstick
22

How to read this

The table scores the model for Mpg against simple yardsticks on the same held-out rows. A yardstick is a predictor simple enough to need no explanation: a constant (the average, the middle value, the most common class or level, the average count), a plain regression on the numeric inputs (a straight line, a logistic regression, a Poisson regression), and for a series over time a forecast from its own past (the last value, the value one season back, the recent trend extended). Which of them appear depends on what kind of column Mpg is. They are yardsticks only: the analysis has one model, and it is the last row. A regression yardstick answers every row the model answers: where one of its numeric inputs is empty, it reads the average of that input over the training rows. Nothing is filled in for the model. A yardstick whose row is empty could not be scored, and the summary then says what the margin is measured against.

Read the columns from top to bottom. Each kind of target is scored by the measure it is judged on: R² and MAE for a continuous value, with MASE added for a series (below 1 means a typical miss is smaller than the series' usual step from one row to the next); accuracy and balanced accuracy for a yes/no value, with the Brier score where a probability is predicted; accuracy and macro F1 for a class; weighted kappa and the distance in levels for an ordered level; Poisson deviance and RMSE for a count. When the model clears every yardstick by a wide margin, its structure earns its place. When it is level with the regression yardstick, a plain regression describes the data as well. When it is level with the constant, the inputs carry no usable signal for Mpg.

The margin over the best yardstick comes with an interval. When that interval includes zero, the lead is not settled on this many held-out rows. The share of rows on which the model is closer than the best yardstick is counted only on the rows where the two differ; for a yes/no value or a class these are the rows where the two disagree.

Generalization

Too few held-out rows (10) to judge generalization confidently: held-out R² is 0.715, but on this few rows it cannot separate real overfitting from noise. It reads as not yet enough evidence, not as a pass or a fail; a larger dataset lets this verdict firm up.

Generalization gap
0.136
N test
10
Target
Mpg
Test error
2.255 (95 % CI 1.086 – 3.407)
Test R²
0.7148 (95 % CI -0.0355 – 0.8488)
Train error
0.1351
Train R²
0.8508
Verdict
Insufficient

How to read this

The chart sets the score of the Mpg model on the rows it trained on beside its score on the held-out rows it never saw, and the gap between the two bars is the finding. The score is the one that suits the target: R² for a quantity, balanced accuracy for a yes/no target, weighted kappa for ordered levels. The held-out figure carries a bootstrap 95% confidence interval, which says how far it could move with a different held-out draw; the training bar has none, because it is measured on the rows that shaped the model.

The verdict reads from the two figures. Generalizing: the held-out score is strong, or training and held-out agree closely; the structure the formula encodes carries to new rows. Overfit: training is far ahead of held-out and the held-out score is not strong on its own; the formula has absorbed noise from the training rows, and the training figure overstates what to expect on new data. Underfit or noisy: held-out is far ahead of training; this is not strength, it usually means an outlier or a flat region in the training rows that the held-out rows happen to avoid. Insufficient: fewer than 30 held-out rows and no strong held-out score, too little evidence for a negative verdict. A model that predicts the same value for every held-out row gets no verdict: there is nothing that could carry over. In every case the width of the held-out interval says how much weight the gap can bear.

How each term responds to its inputs

Read as a sum, the formula has 3 additive terms: 2 that read an input and a constant base. All that read an input are needed to reach 100% of the variation of the model's output on the 21 rows the search trained on: the largest are -4.8 × Wt (81%) and 1 × Qsec (19%). A share describes the model's output, not the target. Each curve below shows one term's response to its free inputs, with the other inputs held at the training median.

Additive
Yes
Rows the search trained on, measured
21
Terms in the formula
3
Notation
Qsec − 4.8 × Wt + 18
Target
Mpg

How to read this

The formula for Mpg is split into its additive terms, and each term is traced as one of its inputs moves across the training range while the other inputs stay at their medians. Each curve is therefore a profile of the term at the typical row, not an average over the data: it shows what the term contributes at every value of that input when everything else is ordinary.

A term that depends on several inputs gets one curve per input; a constant term gets none. Terms the formula subtracts are drawn with their sign, so a curve below zero pulls the prediction down. At any fixed row, the terms add up to the model's prediction. Where the search measured it, a term also carries its share of the variation of the model's output on the rows the search trained on; that is a share of what the formula returns, not of Mpg itself. The notebook lets the reader trim each range to the central 95% of the input. When the formula has no additive structure, the chapter traces the whole formula as a single term along each of its inputs, and the Sensitivity chapter is the better read for how the inputs combine.

How the formula behaves outside the data

The model diverges beyond the observed range of qsec, wt: predictions there are not supported by the formula's shape. Extrapolate with caution.

Bounded at infinity
No
Rows the search trained on, measured
21
Inputs the formula reads
2
N singularities
0
Risky inputs
qsec, wt
Target
Mpg
Limits at neg infinity
InputKind
QsecNegative infinity
WtPositive infinity
Limits at pos infinity
InputKind
QsecPositive infinity
WtNegative infinity

How to read this

The formula for Mpg is read as a mathematical object, without data, to state how it behaves beyond the range it was trained on. A black box cannot answer that question; a formula can. For each input the chapter reports the limit as the input grows without bound in either direction (whether the formula diverges, settles to a finite value or oscillates, with the sign tracked exactly, so that a term like minus two times the cube of the input is reported as diverging downward on the right and upward on the left), whether the formula stays finite in every direction, and any singularity with its solved location: a division whose denominator reaches zero, a logarithm or square root whose argument leaves its domain, or a periodic pole.

The inputs along which the formula diverges or meets a singularity are listed as the risky ones; along them the formula's shape gives no support for extrapolation. A formula that stays finite everywhere with no singularity carries no structural hazard when extrapolated; the data still ends where it ends, and a prediction outside the training range remains unsupported by evidence. The plain-language summary at the end states the same facts in one paragraph.

Contributions per term
Additive
Yes
N rows
5

The notebook draws this chapter's figure from each held-out row; the row-by-row detail is there.

How to read this

For up to five representative held-out rows, the chapter draws one bar chart showing how each additive term of the formula builds that row's prediction of Mpg. The five rows are the worst prediction (largest absolute residual), the best (smallest), the median miss, the row with the smallest prediction and the row with the largest. When two roles fall on the same row, which is common with few held-out rows, the earlier role keeps it and fewer than five charts appear.

In each chart the bars stack the terms' contributions at the row's input values, terms the formula subtracts sit below zero, and the bars sum to the prediction. The dashed line marks the actual value; the distance between it and the top of the stack is the residual. The bars are evaluated at the same precision as the predictions, so they agree with the Prediction Chart. When the formula has no additive structure, each chart holds one bar for the whole formula, and the Sensitivity chapter is the better read for how individual inputs move it.

What each term is worth

Full-formula R² is 0.715. Each bar below shows how much R² drops when that term is replaced by its mean contribution. Large drop: load-bearing term; near zero: decoration the formula could lose; negative: overfit signal (ablation improves R²).

Additive
Yes
Baseline R²
0.7148
Held-out rows
10

The notebook draws this chapter's figure from each held-out row; the row-by-row detail is there.

How to read this

For each additive term of the formula for Mpg, the chart shows how much the held-out R² drops when that term is replaced by its mean contribution, so that it no longer varies from row to row. The bars are sorted from the largest drop down, and the dashed line marks the R² of the full model.

A large drop means the term carries real predictive work; the complexity it adds is paid for. A small drop means the term adds little beyond its average value: it may refine a stronger term, or its curve in the chapter "How each term responds to its inputs" may be nearly flat. A negative drop means the held-out R² rises without the term, which is a sign that the term tracks noise in the training rows. Each figure describes what a term contributes inside the model as discovered; the chart diagnoses the model, it is not a guide to removing terms. When the formula has no additive structure, the chart shows one bar for the whole formula.

What-If
The prediction at the typical row: every input at its median or most common value
ItemValue
Qsec17.71
Wt3.44
Term 1 adds17.71
Term 2 adds-16.51
Term 3 adds18
Prediction19.2
Additive
Yes
Held-out rows for the interval
10
Terms in the formula
3
Residual P5
-3.776
Residual P95
4.878
Residual std
3.099

How to read this

The chapter shows the model's prediction for Mpg at one input combination, with the contribution of each term stacked beneath it. The inputs start at their training medians, so the first view is the prediction for a typical row, and each input can move within the range the training rows cover; the notebook lets the reader change the inputs and watch the prediction and the stack update.

In the stack, a long bar marks the term that dominates at this input combination, often the one whose removal costs most in the chapter "What each term is worth". A short bar marks a term that makes a small adjustment here; the chapter "How each term responds to its inputs" shows whether it stays small everywhere or grows toward the edges of the range. A negative bar marks a term that pulls the prediction down at this point, either because the formula subtracts it or because it evaluates below zero.

The inputs stay inside the training range for a reason: the formula computes a value anywhere, but outside that range no training row supports it. When the formula has no additive structure, the stack holds a single bar for the whole formula and the inputs move the prediction directly.

Sensitivity

The prediction responds to 2 inputs. The formula is additive: each curve below shows the change in the prediction per unit of one input (∂ŷ/∂xᵢ) independently. Flat curves mean a constant linear response, bent curves a non-linear response that depends on the position in the range, and zero crossings a response that reverses sign between regions.

Additive
Yes
Terms in the formula
3

How to read this

For each input, the chart traces the rate at which the predicted Mpg changes as that input moves across its training range, with the other inputs held at their medians. The rate is the local slope of the prediction with respect to the input, measured by a small finite difference at each point. A table summarizes each input with the mean, minimum and maximum of the absolute slope, which ranks the inputs by how strongly the prediction responds to them.

A flat curve means the model is close to linear in that input: the prediction responds at the same rate everywhere in the observed range, which is easy to state and says nothing about values beyond that range. A curve that grows or shrinks marks diminishing or accelerating returns, and whether that is plausible is a question for the domain. A curve that crosses zero means the prediction rises with the input in one part of the range and falls in another, which is either a real optimum or a sign that the formula bends around a few rows. A curve with a large magnitude marks an input to which the prediction is highly responsive; the chapter "What each term is worth" says whether the term behind it also carries predictive work.

In the table, the mean absolute slope ranks the inputs by typical responsiveness. A minimum close to the maximum means the responsiveness is nearly constant; a wide gap means it varies strongly across the range. The chapter reads the whole formula, so it applies whether or not the formula splits into terms.

How two inputs act together

Qsec and wt enter linearly. No term reads two inputs, so the grid below renders empty; each input's contribution can be read independently in the chapter "How each term responds to its inputs".

Additive
Yes
Inputs in different terms act separately
Yes
Rows the search trained on, measured
21
Inputs the formula is linear in
Qsec, Wt
Terms in the formula
3
Input pairs not tested
0

How to read this

When a single term of the formula combines two or more inputs, the prediction's response to one of them depends on the value of the other. This chapter draws one surface for each such pair: the predicted Mpg across the plane of the two inputs, with every other input held at its training median. Pairs that never share a term have no interaction by construction, and the curves in the chapter "How each term responds to its inputs" already say everything about them. Where the search tested a pair, the summary says on how many pairs of rows the two inputs acted together in the model's output; that is a statement about the formula, not a finding that the data hold no other interaction.

Parallel stripes mean the two inputs act almost independently, so the surface is close to a sum of two one-input curves. Curved contours mean a real interaction, where the slope along one input changes with the other; the location of the peak or trough matters. A saddle, rising along one axis and falling along the other, marks a trade-off between the two. A sharp edge or cliff means the formula encodes a change of regime, and the curve for the same input in the chapter "How each term responds to its inputs" shows whether the bend appears there too.

The grid is deliberately coarse, and the color scale runs from low to high predictions. When the formula has no additive structure, the single whole-formula term holds every input, so every pair appears; the number of surfaces is capped for models with many inputs.

Worst Predictions

The worst held-out row was missed by 4.94 (target's scale). All 10 held-out rows are shown, sorted by absolute residual. Each card breaks the failure down into per-term contributions and input values, so the failure mode is inspectable. A large residual with one concentrated term contribution means one term got this row wrong; a large residual with balanced contributions means a structural mismatch.

ActualPredictedResidualQsecWt
14.709.76+4.9417.425.345
33.9029.09+4.8119.91.835
21.5026.18-4.6820.012.465
22.8025.47-2.6718.612.32
15.2017.86-2.66183.78
26.0024.43+1.5716.72.14
19.7020.20-0.5015.52.77
27.3027.61-0.3118.91.935
21.0021.22-0.2217.022.875
18.7018.51+0.1917.023.44
Additive
Yes
N extrapolated
0
Held-out rows
10
Held-out rows for the interval
10
Residual P5
-3.776
Residual P95
4.878
Residual std
3.099

How to read this

The held-out rows on which the model misses Mpg by the most, sorted by absolute residual with the largest first and capped at ten. Each card shows the row's actual value, the prediction, the residual, the contribution of every additive term at that row and the row's input values. R² and MAE say how good the model is on average; these cards say where it fails and let each failure be read input by input and term by term.

A large residual with one dominant term means that term produced the wrong value at this row; the row's value for that input, read against its curve in the chapter "How each term responds to its inputs", shows whether it fell in a region the formula models poorly. A large residual with balanced contributions means every term was a little off and the sum still missed, which points to a shape the formula cannot represent in that region. Residuals that change sign from card to card mean the misses are not a consistent bias but scattered errors on particular rows. When the formula has no additive structure, each card shows a single whole-formula contribution.

Prediction Interval Coverage

Across 10 held-out rows, the 95% prediction interval actually covers 100% of the rows. The normal band is wider than needed for this residual distribution (worst gap 10.0 percentage points), often because a few large residuals inflate σ above what the bulk requires. Real uncertainty for typical rows is tighter than the interval suggests.

Nominal levelHalf-widthEmpirical coverage
50 %2.09150 %
80 %3.97270 %
90 %5.098100 %
95 %6.075100 %
Largest miss (percentage points)
10
Held-out rows
10
Residual P2.5
-4.227
Residual P97.5
4.907
Verdict
Underconfident

How to read this

Each held-out prediction of Mpg carries a prediction interval, and this chapter checks whether that interval covers the actual value as often as it claims. The interval reported with each prediction is built from the held-out residuals themselves: its bounds are the 2.5th and 97.5th percentiles of the residuals added to the prediction, so it is asymmetric when the residuals are skewed and assumes no particular error distribution.

The coverage table checks a second, simpler band: the symmetric interval that a normal error distribution with the residuals' standard deviation would give. At four nominal levels (50%, 80%, 90% and 95%) it lists the half-width of that normal band and the share of held-out rows whose actual value falls inside it. Empirical coverage close to nominal means the residuals are close enough to normal that the two bands agree and the interval can be taken at face value. Empirical coverage below nominal means the normal band is too narrow, the residuals have heavier tails than a normal distribution, and the percentile-based interval is the one to trust. Empirical coverage above nominal means the normal band is wider than the data needs, usually because a few large residuals inflate the standard deviation. Every figure comes from the same held-out residuals the intervals are built from.

Regression Diagnostics

10 held-out residuals, with a spread up to 4.94 in absolute terms. Mean residual is 0.0464, close to zero. The model is approximately unbiased on these held-out rows (a small held-out set makes this less reliable; the Prediction Chart chapter states R² and the mean absolute error with their 95% confidence intervals). The charts below check whether the errors look like noise: a pattern in residuals-vs-fitted or a curving Q-Q means a structural miss. The held-out rows are a random draw, so their order carries no time and the autocorrelation of the residuals is not assessed.

Abs residual vs predicted r
-0.05231
Bias
0.0464
Bias over residual sd
0.01497
Held-out rows
10
Order
shuffled
Residual sd
3.099
Share within normal band
1

The notebook draws this chapter's figure from each held-out row; the row-by-row detail is there.

How to read this

Four residual diagnostics for Mpg, all computed from the held-out residuals. Each asks in its own way whether the model's errors look like noise, which is what remains when a model has captured all the structure the data holds.

Residuals against predicted values: Each held-out row is plotted with the model's prediction on the horizontal axis and its residual on the vertical axis, around a zero line. A symmetric cloud around zero means errors of similar size across the predicted range and no systematic bias. A funnel or fan means the size of the errors depends on the predicted value: the model is more uncertain in some regions than in others, and its prediction interval is not equally trustworthy everywhere. A curved pattern, a smile or a frown, means the model misses a structural component; the chapters "How each term responds to its inputs" and "How two inputs act together" show the shapes the formula does capture.

Normal Q-Q plot: The sorted residuals are plotted against the quantiles of a normal distribution, with the diagonal marking a perfectly normal set of residuals. Points that hug the line mean approximately normal residuals, so the normal band in the Prediction Interval Coverage chapter will hold. An S-shape means heavier or lighter tails than normal; heavier tails (below the line at the left, above it at the right) mean the model occasionally produces large errors. A banana or arc means skewed residuals: the model is systematically high or low in part of the range.

Histogram: The residuals binned into equal-width intervals. A bell centered on zero means symmetric errors with no bias. An off-center bell means the model is biased, with a mean error away from zero. A long tail or two peaks mean outliers or two regimes inside the prediction range.

Autocorrelation: For each lag, the correlation of the residual sequence with itself shifted by that many rows, with the band that pure noise would stay inside at plus or minus 1.96 divided by the square root of the row count. Bars inside the band mean uncorrelated residuals with no order-dependent structure left. A bar at lag 1 outside the band means the residuals of neighbouring dates correlate: structure in time that the model has not captured. A wave across the lags means periodic structure remains, and the Time Series chapter in the Data section is where to look for its period.

Autocorrelation carries meaning only when the row order itself does. When the data has a date column, the held-out rows are the most recent ones in date order, and the autocorrelation is assessed. Without a date column the held-out rows are a random draw: the row after a held-out row is an arbitrary other row, so the autocorrelation is not assessed and the summary above says so.

Search Progress

The search ran for 209 generations, ending at quality 0.688 (gain +0.688 from generation 2). The curve shows a substantial climb. The last improvement came after 9.2% of the search time: the search had settled well before it stopped, so more time alone is unlikely to change the result.

First generation
2
First quality
0 %
Last generation
210
Last improvement ms
412,612
Last quality
68.82 %
Max quality
68.82 %
N points
200
N total generations
209
Search time ms
4,500,959
Stop reason
Maximum runtime reached

How to read this

The line traces the best quality the search for the Mpg model had reached at each generation, from the first generation to the last. Quality is the technology's combined score on the training rows, the figure the Model Metrics chapter defines. A curve that flattens well before the last generation means the search converged: the budget was more than enough, and the model is the one the search settled on. A curve still rising at the last generation means the budget ended before the search settled, and the model is the best the search reached within it. The chart describes the search, not the data: it says whether the search had time to settle, not whether more rows would help.

Model Constraints

Across 10 held-out predictions, the formula is mathematically well-behaved: every output is finite, stays inside the training-target ±2σ band, and no prediction runs away beyond the bounded-prediction limit. It is safe to consume downstream at face value.

NameStatusDetail
Output coherentPassno non-finite predictions across 10 rows
Within domainPassno rows outside the training target's ±2σ range across 10 rows
Bounded predictionsPassno runaway predictions beyond ±10σ across 10 rows
Held-out rows
10
N non finite
0
N outside domain
0
N runaway
0
Verdict
Clean

How to read this

Sanity checks on the Mpg formula, run against the held-out rows. Three checks: every prediction is a finite number (output coherent), predictions stay within the range of the training target widened by two standard deviations on each side (within domain), and no single prediction runs away more than ten standard deviations from the training mean (bounded predictions).

These are pass or fail guards, not quality measures: a formula can clear all three and still predict poorly. A failure is the stronger signal. It means the formula misbehaves numerically somewhere in the data it was shown, and any downstream use of it should wait until that is understood.

Modeling

Measured during the search, on the rows the model was trained on

MAE of a straight line through the inputs (same rows)
1.518
RMSE of a straight line through the inputs (same rows)
1.867
Training MAE (rows the search trained on)
1.793
MAE of always predicting the mean (same rows)
4.685
RMSE of always predicting the mean (same rows)
5.971
Training R² (rows the search trained on)
0.8649
Training RMSE (rows the search trained on)
2.194
Rows the search trained on, measured
21
Error
13.51 %
Inputs the straight line used
8
N train
22
Quality
65.77 %

How to read this

The function below trains the model for Mpg on the processed data. Its output is the model that every other chapter of this section scores and dissects.

Findings

1 finding from the model diagnostics (1 Warning) is listed in the Concerns chapter at the top of the analysis.

Data

The strongest patterns show groups of columns that move together, and mpg measures that shift with certain categorical splits. The data is clean and has 32 rows, but the Concerns chapter highlights that there are few rows.

Most notable in the Data section:

  • Number of cylinders and Disp move together (correlation 0.902)
  • Disp and Wt move together (correlation 0.888)
  • Mpg and Wt move oppositely (correlation -0.868)

How to read this

The Data section describes the table as supplied, before any modeling: the Column Profiles overview of every column and its role, one chapter per column with its distribution and correlations, a closer look at columns with notable characteristics, Duplicate Rows, Leakage Suspicion, a map for paired coordinate columns, and the General chapter with descriptive statistics, correlations, missing values, outlier ranges, clusters and segments across all columns.

Column Profiles

Profiled 11 columns across 32 rows (9 numeric, 2 non-numeric): every column is at least 75% populated. Distributional statistics on numeric columns can be read at face value. 1 column is strongly skewed: the mean of such a column is pulled toward its long tail, so the median is the better guide to a typical value.

Columns
NameRoleTypeNMissingMeanStdMinP25MedianP75MaxSkewnessCV
MpgTargetnumber32020.096.0310.4015.4319.2022.8033.900.67240.3
AmInputbool320
Number of carburetorsInputinteger3202.8131.615122481.1570.5743
Number of cylindersInputinteger3206.1881.78644688-0.19230.2886
DispInputnumber320230.7123.971.1120.8196.3326.0472.00.42020.5372
DratInputnumber3203.5970.5352.7603.0803.6953.9204.9300.29280.1487
Number of forward gearsInputinteger3203.6880.738334450.58230.2001
Gross horsepowerInputinteger320146.768.65296.51231803350.79940.4674
QsecInputnumber32017.851.7914.5016.8917.7118.9022.900.40630.1001
VsInputbool320

The first 10 rows of 11. The other 1 is in the notebook.

N columns
11
N high missing
0
N rows
32
N strongly skewed
1
Table branch
main
Table ID
3968eefa-2d1c-4a22-a286-b22156c378fa

How to read this

One row per column of the analyzed table: its role in the analysis (the target being predicted, an input it is predicted from, or the segment column), its type, value count and missing count, and for numeric columns the mean, standard deviation, minimum, quartiles, maximum and interquartile range. A column with 25% or more missing values is flagged; its mean and quartiles describe only the rows that have a value.

Two further figures describe the shape of a numeric column. The skewness says whether the values lean to one side: close to zero the column is symmetric, from 0.5 it is moderately skewed and from 1 strongly skewed, with the longer tail on the high side when the figure is positive and on the low side when it is negative. In a strongly skewed column the mean is pulled toward the tail, and the median is the better guide to a typical value. The coefficient of variation is the standard deviation divided by the mean: it compares how widely columns spread regardless of their units, and is given only for a column whose mean is positive.

These are the columns as supplied, before any modeling: the reference against which every later chapter reads.

Am

Am: 2 distinct values, most often no.

How to read this

A column chapter profiles one column: its distribution in figures and charts, and how it relates to the other columns. It opens with one line on what the column holds. The Description chapter carries its figures, with every other column summarized for each of its values where it has few, and its association with every other column where it is numeric. The Visualization chapter carries its charts. A table with a date column adds an Over Time and a Time Series chapter; a target with classes adds a Class Balance chapter.

Description
Am
StatisticValue
Typebool
Values present32
Distinct values2
Continuousno
Modefalse
Rows per value
VariableValueRowsShare
Amfalse1959.38 %
Amtrue1340.63 %

How to read this

The figures below summarize Am in numbers: where its values center (mean, median, mode), how far they spread (range, variance, standard deviation, interquartile range) and how they are distributed across percentiles. They are the reference for every chart in the Visualization chapter and for the correlation measures further down.

The figures for Am are grouped: the column itself first, then where its values center, how far they spread, the shape of their distribution and its percentiles. Each statistic is explained in the Description chapter under General in the Data section.

By Value

Am accounts for 33% of the spread in Mpg: yes averages 7.24 above no (95% interval 3.21 to 11.3). An association, not a cause.

Groups
TargetValueRowsAverage or share95% interval
Mpgtrue1324.3920.67 to 28.12
Mpgfalse1917.1515.3 to 19
Mean per value of Am
AmRowsNumber of carburetorsMpgQsecNumber of cylindersGross horsepowerDispWtDratNumber of forward gears
false192.73717.1518.186.947160.3290.43.7693.2863.211
true132.92324.3917.365.077126.8143.52.4114.054.385

How to read this

The rows are grouped by the value of Am, and every other column is summarized within each group with the same descriptive statistics. A statistic that shifts from group to group marks a column that moves with Am; one that stays level marks a column that does not. Groups with few rows produce unstable figures, so the row count of each group is the first thing to read. Where the groups differ in a target by more than chance would give, the chapter states by how much; it states that the two go together, not that one brings the other about.

Visualization

The charts in this chapter were chosen from the type of Am and of the columns it is compared with: a numeric column gets a histogram, a box plot and, when its row order carries a pattern, a value sequence, a categorical column gets a frequency chart, and its relation to each target of the analysis, and to the segment column when there is one, gets the chart that suits the pair, with the target on the vertical axis where it is a number. A column is not charted against every other column; which columns move together is shown under Strongest Correlations. The charts complement the figures in the Description chapter; the shape of a distribution and the position of its outliers are easier to see than to read.

Number of carburetors

Carb: 1 to 8, median 2, skewed to high values, 6 distinct values; moves with Hp most (r 0.75).

Description
Number of carburetors
StatisticValue
Typeinteger
Values present32
Distinct values6
Continuousyes
Decimal places0
Minimum1
Maximum8
Mean2.813
Median2
Mode2

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
11.2222234444
By Value

Carb accounts for 36% of the spread in Mpg: 1 averages 9.55 above 4 (95% interval 3.76 to 15.3). An association, not a cause.

Groups
TargetValueRowsAverage or share95% interval
Mpg1725.3419.79 to 30.89
Mpg21022.418.49 to 26.31
Mpg3316.313.68 to 18.92
Mpg41015.7912.99 to 18.59
Mean per value of Number of carburetors
Number of carburetorsRowsMpgQsecNumber of cylindersGross horsepowerDispWtDratNumber of forward gears
1725.3419.514.57186134.32.493.6813.571
21022.418.195.6117.2208.22.8633.6993.8
3316.317.678180275.83.863.073
41015.7916.977.2187308.83.8973.5963.6
6119.715.561751452.773.625
811514.683353013.573.545
Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Gross horsepowertwo numbers0.74980.74980.5431 to 0.87080.73340.596< 0.00132
Qsectwo numbers0.6587-0.6562-0.8178 to -0.3988-0.6587-0.5064< 0.00132
Mpgtwo numbers0.6575-0.5509-0.7547 to -0.2503-0.6575-0.50440.00271132
Number of cylinderstwo numbers0.58010.5270.2184 to 0.73980.58010.46540.00388532
Vsa number and a category0.56960.00222332
Disptwo numbers0.53980.3950.05367 to 0.65370.53980.41370.036132
Wttwo numbers0.49980.42760.09273 to 0.67560.49980.37140.024432
Number of forward gearstwo numbers0.27410.2741-0.08251 to 0.56840.11490.098020.161332
Drattwo numbers0.1252-0.09079-0.426 to 0.2663-0.1252-0.095350.690232
Ama number and a category0.057530.754532

How to read this

Each row pairs Number of carburetors with one other column, numeric or categorical, and reports how strongly the two go together on an association from 0 to 1, and whether an association this strong could be chance. For another numeric column the row adds the direction: Pearson's coefficient measures a straight-line relationship, and Spearman's rho and Kendall's tau measure a monotonic relationship on ranks, which makes them resistant to outliers and lets them see a curved but consistently rising or falling pattern. For a categorical column the association is the correlation ratio η, which has no direction. A strong association is not an explanation: two columns can go together when a third one moves both.

The table lists every other numeric or categorical column against Number of carburetors, with the pair's kind and association, three correlation coefficients and a confidence interval where the other column is numeric, the q-value and the rows the pair was measured on.

MeasureMeaning
KindWhat the other column holds: a number (numeric) or categories (numeric_categorical). A categorical column is one that is not numeric and holds between 2 and 50 distinct values
AssociationThe strength of the pair from 0 to 1. With a numeric column: the stronger of Pearson's coefficient and Spearman's ρ, without its sign. With a categorical column: the correlation ratio η, the square root of the share of Number of carburetors's spread that lies between the categories
CovarianceNumeric partner only. The direction of the relationship (positive or negative) in the units of the two columns. It is not standardized, so its size says little about strength without the columns' own spread
Pearson's Correlation CoefficientNumeric partner only. The strength and direction of a linear relationship, from -1 (a perfect falling line) through 0 (no linear relationship) to 1 (a perfect rising line)
Spearman's ρNumeric partner only. The strength and direction of a monotonic relationship, computed on ranks rather than values, from -1 to 1. It follows a curved pattern as long as it rises or falls consistently, and outliers move it little
Kendall's τNumeric partner only. The strength and direction of association from the agreement and disagreement of rank order across pairs of rows, from -1 to 1. It is the steadier of the two rank measures when the rows are few
q-valueHow likely a pair this strong is among unrelated columns, adjusted for the number of pairs involving Number of carburetors (Benjamini-Hochberg). Among all pairs reported with q below 0.05, about 5% or fewer are expected to be false discoveries
95% CI (Pearson)Numeric partner only. The lower and upper bounds of the 95% confidence interval on the Pearson coefficient, from the Fisher z-transform. An interval that contains 0 leaves the direction of the relationship open
RowsThe rows in which both columns hold a value. The q-value and the interval of a pair rest on this count
Visualization

The rows of Carb are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.04 between each value and the next), so the order carries no pattern to show.

Number of cylinders

Cyl: 4 to 8, median 6, 3 distinct values; moves with Disp most (r 0.902).

Description
Number of cylinders
StatisticValue
Typeinteger
Values present32
Distinct values3
Continuousyes
Decimal places0
Minimum4
Maximum8
Mean6.188
Median6
Mode8

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
44446688888
By Value

Cyl accounts for 71% of the spread in Mpg: 4 averages 11.6 above 8 (95% interval 8.32 to 14.8). An association, not a cause.

Groups
TargetValueRowsAverage or share95% interval
Mpg41126.6623.63 to 29.69
Mpg6719.7418.4 to 21.09
Mpg81415.113.62 to 16.58
Mean per value of Number of cylinders
Number of cylindersRowsNumber of carburetorsMpgQsecGross horsepowerDispWtDratNumber of forward gears
4111.54526.6619.1482.64105.12.2864.0714.091
673.42919.7417.98122.3183.33.1173.5863.857
8143.515.116.77209.2353.13.9993.2293.286
Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Disptwo numbers0.92770.9020.8072 to 0.95150.92770.8144< 0.00132
Mpgtwo numbers0.9108-0.8522-0.9258 to -0.7163-0.9108-0.7953< 0.00132
Gross horsepowertwo numbers0.90180.83240.6816 to 0.91540.90180.7852< 0.00132
Wttwo numbers0.85770.78250.5966 to 0.88870.85770.7283< 0.00132
Vsa number and a category0.8108< 0.00132
Drattwo numbers0.6999-0.6999-0.8429 to -0.4646-0.6789-0.5513< 0.00132
Qsectwo numbers0.5912-0.5912-0.7793 to -0.3055-0.5724-0.449< 0.00132
Number of carburetorstwo numbers0.58010.5270.2184 to 0.73980.58010.46540.0023932
Number of forward gearstwo numbers0.5643-0.4927-0.718 to -0.1739-0.5643-0.51250.00417332
Ama number and a category0.52260.0023932
Visualization

The rows of Cyl are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.15 between each value and the next), so the order carries no pattern to show.

Disp

Disp: 71.1 to 472, median 196, skewed to high values, 27 distinct values; moves with Cyl most (r 0.902).

Description
Disp
StatisticValue
Typenumber
Values present32
Distinct values27
Continuousyes
Decimal places1
Minimum71.1
Maximum472
Mean230.7
Median196.3
Mode275.8

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
80.61120.1120.8142.1160196.3275.8303.1326350.8396
By Value
Mean per value of Disp
DispRowsNumber of carburetorsMpgQsecNumber of cylindersGross horsepowerWtDratNumber of forward gears
71.1133.919.94651.8354.224
75.71230.418.524521.6154.934
78.7132.419.474662.24.084
79.0127.318.94661.9354.084
95.11230.416.941131.5133.775
108.0122.818.614932.323.854
120.1121.520.014972.4653.73
120.3122616.74912.144.435
121.01221.418.641092.784.114
140.81222.822.94953.153.924

The first 10 rows of 27. The other 17 are in the notebook.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Number of cylinderstwo numbers0.92770.9020.8072 to 0.95150.92770.8144< 0.00132
Mpgtwo numbers0.9089-0.8476-0.9234 to -0.7081-0.9089-0.7681< 0.00132
Wttwo numbers0.89770.8880.7812 to 0.94430.89770.7434< 0.00132
Gross horsepowertwo numbers0.8510.79090.6107 to 0.89330.8510.666< 0.00132
Vsa number and a category0.7104< 0.00132
Drattwo numbers0.7102-0.7102-0.8487 to -0.4805-0.6836-0.499< 0.00132
Number of forward gearstwo numbers0.5945-0.5556-0.7575 to -0.2566-0.5945-0.4760.00120432
Ama number and a category0.5912< 0.00132
Number of carburetorstwo numbers0.53980.3950.05367 to 0.65370.53980.41370.0252732
Qsectwo numbers0.4598-0.4337-0.6796 to -0.1001-0.4598-0.30080.014632
Visualization

The rows of Disp are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.07 between each value and the next), so the order carries no pattern to show.

Drat

Drat: 2.76 to 4.93, median 3.69, 22 distinct values; moves opposite to Wt most (r -0.712).

Description
Drat
StatisticValue
Typenumber
Values present32
Distinct values22
Continuousyes
Decimal places2
Minimum2.76
Maximum4.93
Mean3.597
Median3.695
Mode3.07

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
3.0073.0723.083.153.3543.6953.8183.9143.924.0484.209
By Value
Mean per value of Drat
DratRowsNumber of carburetorsMpgQsecNumber of cylindersGross horsepowerDispWtNumber of forward gears
2.7621.516.818.557127.5271.53.493
2.931410.417.9882054725.253
3.01410.417.8282154605.4243
3.073316.317.678180275.83.863
3.0821.520.318.257142.53293.533
3.152216.9517.168162.53323.4383
3.211414.315.8482453603.573
3.231414.717.4282304405.3453
3.54181514.683353013.575
3.621619.715.561751452.775

The first 10 rows of 22. The other 12 are in the notebook.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Wttwo numbers0.7504-0.7124-0.85 to -0.484-0.7504-0.5472< 0.00132
Number of forward gearstwo numbers0.74480.69960.4641 to 0.84270.74480.5839< 0.00132
Ama number and a category0.7127< 0.00132
Disptwo numbers0.7102-0.7102-0.8487 to -0.4805-0.6836-0.499< 0.00132
Number of cylinderstwo numbers0.6999-0.6999-0.8429 to -0.4646-0.6789-0.5513< 0.00132
Mpgtwo numbers0.68120.68120.436 to 0.83220.65150.4645< 0.00132
Gross horsepowertwo numbers0.5201-0.4488-0.6896 to -0.1186-0.5201-0.38260.0142732
Vsa number and a category0.44030.0145932
Number of carburetorstwo numbers0.1252-0.09079-0.426 to 0.2663-0.1252-0.095350.621232
Qsectwo numbers0.091870.09121-0.266 to 0.42630.091870.032720.621232
Visualization

The rows of Drat are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.17 between each value and the next), so the order carries no pattern to show.

Number of forward gears

Gear: 3 to 5, median 4, skewed to low values, 3 distinct values; moves with Drat most (r 0.7).

Description
Number of forward gears
StatisticValue
Typeinteger
Values present32
Distinct values3
Continuousyes
Decimal places0
Minimum3
Maximum5
Mean3.688
Median4
Mode3

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
33333444445
By Value

Gear accounts for 38% of the spread in Mpg: 4 averages 8.43 above 3 (95% interval 4.74 to 12.1). An association, not a cause.

Groups
TargetValueRowsAverage or share95% interval
Mpg41224.5321.18 to 27.89
Mpg5521.3813.11 to 29.65
Mpg31516.1114.24 to 17.97
Mean per value of Number of forward gears
Number of forward gearsRowsNumber of carburetorsMpgQsecNumber of cylindersGross horsepowerDispWtDrat
3152.66716.1117.697.467176.1326.33.8933.133
4122.33324.5318.974.66789.51232.6174.043
554.421.3815.646195.6202.52.6333.916
Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Ama number and a category0.7941< 0.00132
Drattwo numbers0.74480.69960.4641 to 0.84270.74480.5839< 0.00132
Wttwo numbers0.6761-0.5833-0.7745 to -0.2945-0.6761-0.54360.00152932
Disptwo numbers0.5945-0.5556-0.7575 to -0.2566-0.5945-0.4760.00240932
Number of cylinderstwo numbers0.5643-0.4927-0.718 to -0.1739-0.5643-0.51250.00834732
Mpgtwo numbers0.54280.48030.1581 to 0.71010.54280.43320.00900232
Gross horsepowertwo numbers0.3314-0.1257-0.4545 to 0.2332-0.3314-0.27940.49332
Number of carburetorstwo numbers0.27410.2741-0.08251 to 0.56840.11490.098020.184332
Qsectwo numbers0.2127-0.2127-0.5226 to 0.1469-0.1482-0.091260.286632
Vsa number and a category0.2060.286632
Visualization

The rows of Gear are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of -0.01 between each value and the next), so the order carries no pattern to show.

Gross horsepower

Hp: 52 to 335, median 123, skewed to high values, 22 distinct values; moves with Cyl most (r 0.832).

Description
Gross horsepower
StatisticValue
Typeinteger
Values present32
Distinct values22
Continuousyes
Decimal places0
Minimum52
Maximum335
Mean146.7
Median123
Mode110

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
6693.496.5106.2110123165178.5180200243.5
By Value
Mean per value of Gross horsepower
Gross horsepowerRowsNumber of carburetorsMpgQsecNumber of cylindersDispWtDratNumber of forward gears
521230.418.52475.71.6154.934
621224.4204146.73.193.694
65133.919.9471.11.8354.224
66229.8519.19478.852.0684.084
91122616.74120.32.144.435
93122.818.6141082.323.854
951222.822.94140.83.153.924
97121.520.014120.12.4653.73
105118.120.2262253.462.763
1091221.418.641212.784.114

The first 10 rows of 22. The other 12 are in the notebook.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Number of cylinderstwo numbers0.90180.83240.6816 to 0.91540.90180.7852< 0.00132
Mpgtwo numbers0.8947-0.7762-0.8853 to -0.5861-0.8947-0.7428< 0.00132
Disptwo numbers0.8510.79090.6107 to 0.89330.8510.666< 0.00132
Wttwo numbers0.77470.65870.4025 to 0.81930.77470.6113< 0.00132
Number of carburetorstwo numbers0.74980.74980.5431 to 0.87080.73340.596< 0.00132
Vsa number and a category0.7231< 0.00132
Qsectwo numbers0.7082-0.7082-0.8476 to -0.4774-0.6666-0.4729< 0.00132
Drattwo numbers0.5201-0.4488-0.6896 to -0.1186-0.5201-0.38260.0124932
Number of forward gearstwo numbers0.3314-0.1257-0.4545 to 0.2332-0.3314-0.27940.49332
Ama number and a category0.24320.199832
Visualization

The rows of Hp are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.06 between each value and the next), so the order carries no pattern to show.

Mpg

Mpg: 10.4 to 33.9, median 19.2, 25 distinct values; moves opposite to Wt most (r -0.868).

Description
Mpg
StatisticValue
Typenumber
Values present32
Distinct values25
Continuousyes
Decimal places1
Minimum10.4
Maximum33.9
Mean20.09
Median19.2
Mode10.4

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
14.3415.215.4315.9817.9219.22121.4722.824.0830.09
By Value
Mean per value of Mpg
MpgRowsNumber of carburetorsQsecNumber of cylindersGross horsepowerDispWtDratNumber of forward gears
10.42417.982104665.3372.9653
13.31415.4182453503.843.733
14.31415.8482453603.573.213
14.71417.4282304405.3453.233
15.01814.683353013.573.545
15.222.517.658165289.93.6083.113
15.51216.8781503183.522.763
15.81414.582643513.174.225
16.41317.48180275.84.073.073
17.31317.68180275.83.733.073

The first 10 rows of 25. The other 15 are in the notebook.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Number of cylinderstwo numbers0.9108-0.8522-0.9258 to -0.7163-0.9108-0.7953< 0.00132
Disptwo numbers0.9089-0.8476-0.9234 to -0.7081-0.9089-0.7681< 0.00132
Gross horsepowertwo numbers0.8947-0.7762-0.8853 to -0.5861-0.8947-0.7428< 0.00132
Wttwo numbers0.8864-0.8677-0.9338 to -0.7441-0.8864-0.7278< 0.00132
Drattwo numbers0.68120.68120.436 to 0.83220.65150.4645< 0.00132
Vsa number and a category0.664< 0.00132
Number of carburetorstwo numbers0.6575-0.5509-0.7547 to -0.2503-0.6575-0.50440.00135632
Ama number and a category0.5998< 0.00132
Number of forward gearstwo numbers0.54280.48030.1581 to 0.71010.54280.43320.00600132
Qsectwo numbers0.46690.41870.08195 to 0.66960.46690.31540.0170832
Visualization

The rows of Mpg are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.05 between each value and the next), so the order carries no pattern to show.

Qsec

Qsec: 14.5 to 22.9, median 17.7, 30 distinct values; moves opposite to Hp most (r -0.708).

Description
Qsec
StatisticValue
Typenumber
Values present32
Distinct values30
Continuousyes
Decimal places2
Minimum14.5
Maximum22.9
Mean17.85
Median17.71
Mode17.02

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
15.5316.7316.8917.0217.3417.7118.1818.6118.919.3319.99
By Value
Mean per value of Qsec
QsecRowsNumber of carburetorsMpgNumber of cylindersGross horsepowerDispWtDratNumber of forward gears
14.51415.882643513.174.225
14.6181583353013.573.545
15.411413.382453503.843.733
15.51619.761751452.773.625
15.841414.382453603.573.213
16.46142161101602.623.94
16.71226491120.32.144.435
16.871215.581503183.522.763
16.91230.4411395.11.5133.775
17.022319.857142.52603.1583.5253.5

The first 10 rows of 30. The other 20 are in the notebook.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Vsa number and a category0.7445< 0.00132
Gross horsepowertwo numbers0.7082-0.7082-0.8476 to -0.4774-0.6666-0.4729< 0.00132
Number of carburetorstwo numbers0.6587-0.6562-0.8178 to -0.3988-0.6587-0.5064< 0.00132
Number of cylinderstwo numbers0.5912-0.5912-0.7793 to -0.3055-0.5724-0.449< 0.00132
Mpgtwo numbers0.46690.41870.08195 to 0.66960.46690.31540.0284732
Disptwo numbers0.4598-0.4337-0.6796 to -0.1001-0.4598-0.30080.0262932
Ama number and a category0.22990.293832
Wttwo numbers0.2254-0.1747-0.4934 to 0.1853-0.2254-0.1420.376532
Number of forward gearstwo numbers0.2127-0.2127-0.5226 to 0.1469-0.1482-0.091260.303232
Drattwo numbers0.091870.09121-0.266 to 0.42630.091870.032720.619632
Visualization

The rows of Qsec are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.03 between each value and the next), so the order carries no pattern to show.

Vs

Vs: 2 distinct values, most often no.

Description
Vs
StatisticValue
Typebool
Values present32
Distinct values2
Continuousno
Modefalse
Rows per value
VariableValueRowsShare
Vsfalse1856.25 %
Vstrue1443.75 %
By Value

Vs accounts for 41% of the spread in Mpg: yes averages 7.94 above no (95% interval 4.42 to 11.5). An association, not a cause.

Groups
TargetValueRowsAverage or share95% interval
Mpgtrue1424.5621.45 to 27.66
Mpgfalse1816.6214.7 to 18.54
Mean per value of Vs
VsRowsNumber of carburetorsMpgQsecNumber of cylindersGross horsepowerDispWtDratNumber of forward gears
false183.61116.6216.697.444189.7307.23.6893.3923.556
true141.78624.5619.334.57191.36132.52.6113.8593.857

Wt

Wt: 1.51 to 5.42, median 3.33, 29 distinct values; moves with Disp most (r 0.888).

Description
Wt
StatisticValue
Typenumber
Values present32
Distinct values29
Continuousyes
Decimal places3
Minimum1.513
Maximum5.424
Mean3.217
Median3.325
Mode3.44

The first 10 rows of 17. The other 7 are in the notebook.

Percentiles
10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
1.9562.3492.5812.7733.1583.3253.443.5553.613.774.048
By Value
Mean per value of Wt
WtRowsNumber of carburetorsMpgQsecNumber of cylindersGross horsepowerDispDratNumber of forward gears
1.5131230.416.9411395.13.775
1.6151230.418.5245275.74.934
1.835133.919.946571.14.224
1.935127.318.9466794.084
2.14122616.7491120.34.435
2.2132.419.4746678.74.084
2.32122.818.614931083.854
2.465121.520.01497120.13.73
2.62142116.4661101603.94
2.771619.715.561751453.625

The first 10 rows of 29. The other 19 are in the notebook.

Correlation
Correlations
ColumnPair ofAssociationPearson's r95% CI (Pearson)Spearman's ρKendall's τq-valueRows
Disptwo numbers0.89770.8880.7812 to 0.94430.89770.7434< 0.00132
Mpgtwo numbers0.8864-0.8677-0.9338 to -0.7441-0.8864-0.7278< 0.00132
Number of cylinderstwo numbers0.85770.78250.5966 to 0.88870.85770.7283< 0.00132
Gross horsepowertwo numbers0.77470.65870.4025 to 0.81930.77470.6113< 0.00132
Drattwo numbers0.7504-0.7124-0.85 to -0.484-0.7504-0.5472< 0.00132
Ama number and a category0.6925< 0.00132
Number of forward gearstwo numbers0.6761-0.5833-0.7745 to -0.2945-0.6761-0.5436< 0.00132
Vsa number and a category0.55490.00122532
Number of carburetorstwo numbers0.49980.42760.09273 to 0.67560.49980.37140.0162732
Qsectwo numbers0.2254-0.1747-0.4934 to 0.1853-0.2254-0.1420.338932
Visualization

The rows of Wt are not charted in their order: consecutive rows are no more alike than rows picked at random (a correlation of 0.03 between each value and the next), so the order carries no pattern to show.

Duplicate Rows

Across 32 rows the table has no exact duplicates: every row's value vector is unique across all columns, so the row count reflects distinct rows.

Largest group size
0
N exact duplicates
0
N exact groups
0
N rows
32
N unique
32
Pct exact duplicates
0
Verdict
Clean

How to read this

This chapter counts rows that repeat another row exactly, value for value: how many rows take part in a duplicate group, how many groups exist, and how large the largest group is.

Duplicate rows inflate the apparent row count and can place identical rows on both sides of the training and held-out split, which flatters every quality figure in this report. Only exact repeats are detected here; rows that differ by a rounding digit or a whitespace variant count as distinct.

Leakage Suspicion

Nothing to check. No column that awaits an answer tracks a target at 0.95 or more, so no column on its own gives a target away.

Categorical verdict
Clean
Critical threshold
0.999
N categorical critical
0
N categorical suspects
0
N confirmed
0
N critical
0
N suspects
0
Threshold
0.95
Verdict
Clean

How to read this

For every column that is not a target, this chapter reads how closely the column tracks each target, on an association from 0 to 1, and lists any pair at 0.95 or more. For two numeric columns the association is the stronger of Pearson's r and Spearman's rho; when the column or the target is categorical it is the correlation ratio η, or Cramér's V when both are. At 0.999 or more the column reproduces the target: that is what a copy or a rescaled copy of it looks like.

A listed column poses one question: is its value known before the target's value exists? If it is, the column is a strong input and the quality stated in this report is real. If it was computed from the target or recorded after it, a formula that reads it looks right on these rows and will not hold on new data. The coefficients read the same in both cases; the answer needs someone who knows where the column came from.

The owner of the analysis can give that answer. A column confirmed as known before the target is listed as confirmed and is no longer a suspect. A column that turns out to be a leak is left out of the model's inputs, and the analysis run again.

General

Clustering found no clear groups. The best grouping of the 32 complete rows over 8 numeric columns is into 2 groups, with a silhouette of 0.42 (on a scale where 1 is fully separate groups and 0 is none), below the 0.50 that clear structure shows, so no Clusters chapter is written.

Groupings tried
GroupsSilhouetteInertiaKept
20.4196128.8yes
30.404192.48
40.336678.07
50.373366.87
60.332557.2
Inertia
128.8
K
2
N columns used
8
N rows
32
N rows complete
32
Silhouette
0.4196
Verdict
Weak

How to read this

The General chapter covers what holds across all columns together: descriptive statistics, correlations, missing values and outlier ranges under Description, the Clusters found among the rows, and, when a segment column was chosen, the Segments.

Description
Columns
VariableTypeValues presentDistinct valuesContinuousDecimal places
Number of carburetorsinteger326yes0
Mpgnumber3225yes1
Qsecnumber3230yes2
Number of cylindersinteger323yes0
Gross horsepowerinteger3222yes0
Ambool322no
Dispnumber3227yes1
Wtnumber3229yes3
Vsbool322no
Dratnumber3222yes2

The first 10 rows of 11. The other 1 is in the notebook.

Center
VariableMeanMedianMode
Number of carburetors2.81322
Mpg20.0919.210.4
Qsec17.8517.7117.02
Number of cylinders6.18868
Gross horsepower146.7123110
Amfalse
Disp230.7196.3275.8
Wt3.2173.3253.44
Vsfalse
Drat3.5973.6953.07

The first 10 rows of 11. The other 1 is in the notebook.

Spread
VariableMinimumMaximumStandard deviationVarianceInterquartile rangeSum
Number of carburetors181.6152.609290
Mpg10.433.96.02736.327.375642.9
Qsec14.522.91.7873.1932.008571.2
Number of cylinders481.7863.194198
Gross horsepower5233568.564700.983.54694
Am
Disp71.1472123.915360.8205.27383.1
Wt1.5135.4240.97850.95741.029103
Vs
Drat2.764.930.53470.28590.84115.1

The first 10 rows of 11. The other 1 is in the notebook.

Shape
VariableSkewnessKurtosisTotal sum of squares
Number of carburetors1.1572.0280.88
Mpg0.6724-0.022011126
Qsec0.40630.864998.99
Number of cylinders-0.1923-1.76398.88
Gross horsepower0.79940.2752145,727
Am
Disp0.4202-1.068476,185
Wt0.46590.416629.68
Vs
Drat0.2928-0.45048.862

The first 10 rows of 11. The other 1 is in the notebook.

Percentiles
Variable10 %20 %25 %30 %40 %50 %60 %70 %75 %80 %90 %
Number of carburetors11.2222234444
Mpg14.3415.215.4315.9817.9219.22121.4722.824.0830.09
Qsec15.5316.7316.8917.0217.3417.7118.1818.6118.919.3319.99
Number of cylinders44446688888
Gross horsepower6693.496.5106.2110123165178.5180200243.5
Am
Disp80.61120.1120.8142.1160196.3275.8303.1326350.8396
Wt1.9562.3492.5812.7733.1583.3253.443.5553.613.774.048
Vs
Drat3.0073.0723.083.153.3543.6953.8183.9143.924.0484.209

The first 10 rows of 11. The other 1 is in the notebook.

Rows per value
VariableValueRowsShare
Amfalse1959.38 %
Amtrue1340.63 %
Vsfalse1856.25 %
Vstrue1443.75 %

How to read this

This chapter summarizes every column at once: the descriptive statistics table below, then Correlation, Missing Values and Outliers. For a numeric column the table reports its center (mean, median, mode), its spread (standard deviation, variance, interquartile range, percentiles) and its shape (skewness, kurtosis); for a categorical column it reports the count and share of each category.

Each row of the tables describes one column. The statistics are grouped: the column itself, where its values center, how far they spread, what shape their distribution takes, and its percentiles. They read as follows.

StatisticExplanation
VariableName of the column the statistics in the row describe
TypeType assigned during data processing (bool, integer, number, decimal, text or date)
Values presentNumber of rows in which the column holds a value
Distinct valuesNumber of different values the column holds
ContinuousWhether the column can take any value in a range, as opposed to a discrete column limited to a fixed set of values
Decimal placesLength of the fractional part of the values
MeanArithmetic average: the sum of all values divided by the number of values
MedianThe middle value: half of the values lie at or below it and half at or above it. It is also the 50 % percentile
ModeThe value that appears most often
MinimumSmallest numeric value in the column

The first 10 rows of 20. The other 10 are in the notebook.

Missing Values

No column has a missing value: all 32 rows are complete.

N columns with missing
0
N complete rows
32
N rows
32
Pct complete rows
100

How to read this

The table lists, for each column, the count of present values (Values) beside the row count of the processed table (Rows), the number of missing values and their share. The larger the share, the less any statistic or model built on the column can be trusted.

  • Below 5% missing: safe to use as it is.
  • 5% to 25% missing: usable; filling the gaps or excluding those rows is worth considering.
  • 25% or more missing: the column is flagged and receives its own chapter in the Data section. Verify why so much is missing before trusting any result that depends on it.

A model is computed only on rows that hold a value in every column it reads, so gaps spread over several columns cost more rows than any one column's share suggests. The last column, Complete rows without, shows for each input with gaps how many rows would be complete if that column were left out; it is blank for a column without gaps, for a target, and for a column no model reads. A column that is the only gap in many rows is the one whose removal keeps the most data.

Outliers

5 of 9 numeric columns have values beyond the Tukey fences (1.5 times the interquartile range outside the quartiles). wt has the largest share: 9.4% of its values. Whether such values are rare but real rows or recording errors decides whether they are kept.

Outliers
ColumnValuesLower fenceUpper fenceBelowAboveShare
Number of carburetors32none below7013.13 %
Number of cylinders32none belownone above000 %
Disp32none belownone above000 %
Drat32none belownone above000 %
Number of forward gears32none belownone above000 %
Gross horsepower32none below305.25013.13 %
Mpg32none below33.863013.13 %
Qsec32none below21.91013.13 %
Wt32none below5.153039.38 %
N columns
9
N columns assessed
9
N columns with outliers
5
Worst column
wt
Worst pct
9.38

How to read this

The table counts the outliers of every numeric column by the Tukey rule. Q1 and Q3 are the values below which 25% and 75% of a column's values fall, and the interquartile range is Q3 minus Q1. The lower fence lies 1.5 times the interquartile range below Q1, the upper fence the same distance above Q3; a value beyond a fence is an outlier. For each column the table gives both fences, how many values lie below and above them, their share of the column's values, and the single value that lies furthest beyond its fence. These are the same fences the box plots draw their whiskers to.

A column is not assessed when it has fewer than four values, or when the middle half of its values sits on a single number: the interquartile range is then zero and the rule would call every other value an outlier.

Extreme values can be real (rare but legitimate rows) or errors (measurement mistakes, data-entry slips). Which case applies decides whether to keep, clip or drop them before trusting a model that uses the column. A strongly skewed column has many values beyond one fence without any of them being wrong.

Correlation

55 column pairs analyzed across 32 rows (36 of two numbers, 18 of a number and a category, 1 of two categories); 44 (80%) are unlikely to be chance, after allowing for how many pairs were tested. Any other pair may still show a large association, but one that cannot be told apart from chance on the rows the pair was measured on. Every pair is stated as an association from 0 to 1, whatever its kind, so pairs of different kinds can be ranked against each other. An association states that two columns go together, not that one brings the other about.

N categorical pairs
1
N mixed pairs
18
N numeric pairs
36
N pairs
55
N samples
32
N significant
44
Pairs · 24 of 55 rows shown
Association95 % CIColumnEta squaredGroupsKendallKindNOther columnPearsonQ valueSpearman
0.92770.8072, 0.9515Number of cylinders0.8144numeric32Disp0.902< 0.0010.9277
0.9108-0.9258, -0.7163Number of cylinders-0.7953numeric32Mpg-0.8522< 0.001-0.9108
0.9089-0.9234, -0.7081Disp-0.7681numeric32Mpg-0.8476< 0.001-0.9089
0.90180.6816, 0.9154Number of cylinders0.7852numeric32Gross horsepower0.8324< 0.0010.9018
0.89770.7812, 0.9443Disp0.7434numeric32Wt0.888< 0.0010.8977
0.8947-0.8853, -0.5861Gross horsepower-0.7428numeric32Mpg-0.7762< 0.001-0.8947
0.8864-0.9338, -0.7441Mpg-0.7278numeric32Wt-0.8677< 0.001-0.8864
0.85770.5966, 0.8887Number of cylinders0.7283numeric32Wt0.7825< 0.0010.8577
0.8510.6107, 0.8933Disp0.666numeric32Gross horsepower0.7909< 0.0010.851
0.8108Number of cylinders0.65742numeric_categorical32Vs< 0.001

The first 10 rows of 24. The other 14 are in the notebook.

How to read this

This chapter measures how pairs of columns go together: the Correlation Measures table below, the Strongest Correlations, the Correlation Heatmap and, when the analysis has targets, the Potential Data Leaks. Numeric columns and categorical columns are both paired, a categorical column being one that is not numeric and holds between 2 and 50 distinct values. Every pair is stated as an association from 0 (unrelated) to 1 (one column gives the other away), so pairs of different kinds can be compared. An association states that two columns go together, not that one brings the other about.

The table lists every pair of columns once, with its kind, its association, the figures of its kind, its q-value and the number of rows the pair was measured on. A pair is measured on the rows where both columns hold a value.

MeasureExplanation
KindWhat the two columns hold: two numbers (numeric), a number and a category (numeric_categorical), or two categories (categorical)
AssociationStrength of the pair from 0 to 1, whatever its kind. Two numbers: the stronger of Pearson's coefficient and Spearman's ρ, without its sign. A number and a category: the correlation ratio η. Two categories: Cramér's V
CovarianceTwo numbers only. Direction of the relationship (positive or negative) in the units of the two columns. It is not standardized, so its size says little about strength without further context
Pearson's Correlation CoefficientTwo numbers only. Strength and direction of a linear relationship, from -1 (perfect negative) through 0 (no linear relationship) to 1 (perfect positive)
Spearman's ρTwo numbers only. Strength and direction of a monotonic relationship, computed on ranks rather than values. It captures relationships that consistently rise or fall even when they are not linear, and it is less affected by extreme values
Kendall's τTwo numbers only. Strength and direction of a monotonic relationship based on the concordance of ranks between the two columns. More conservative than Spearman's ρ, and steadier on small tables
Correlation ratio ηA number and a category. The square root of the share of the number's spread that lies between the categories, from 0 (every category has the same average) to 1 (the category fixes the number). For a category of two values it equals the absolute Pearson coefficient with the category coded 0 and 1. Its square, η², is that share: an η of 0.6 means the categories account for 36% of the spread
Cramér's VTwo categories. How far the table of counts of the two columns departs from what unrelated columns would give, from 0 (unrelated) to 1 (each value of one column goes with one value of the other), corrected so that columns with many rare values do not read as related
q-valueHow likely a pair this strong is among unrelated columns, adjusted for the number of pairs listed (Benjamini-Hochberg false-discovery rate). Among all pairs reported with q below 0.05, about 5% or fewer are expected to be false discoveries. The right measure for ranking many pairs
95% CI (Pearson)Two numbers only. Lower and upper bounds of the 95% confidence interval on the Pearson coefficient, via the Fisher z-transform, on the rows the pair was measured on. A narrow interval means the coefficient is well estimated; a wide interval that straddles zero means the relationship is uncertain

The first 10 rows of 12. The other 2 are in the notebook.

Strongest Correlations

The 20 pairs of columns with the smallest q-values: the associations that remain significant after the Benjamini-Hochberg adjustment for the number of pairs tested. Among all pairs reported with q below 0.05, about 5% or fewer are expected to be false discoveries; a pair above 0.05 may be coincidence even when its association looks strong.

A pair with an association above 0.9 often signals a duplicate or derived column. Moderately strong pairs with a low q-value are the relationships most worth investigating.

Each listed pair is drawn below, the picture behind the figure. Two numbers are drawn as a scatter, one point per row, the quickest way to see whether a strong value rests on a trend or on a few rows far from the rest. A number and a category are drawn as the number's box plot per category. Two categories are drawn as a heat map of how many rows hold each combination of values.

Potential Data Leaks

The table lists the association between every column and each target, whatever the two hold, with its q-value. An association close to 1 with a target, together with a q-value near zero, is one of two things: a strong input, or a data leak, a column derived from the target after the fact, such as a tax amount computed from the price being predicted. A leaked column trains a model that looks perfect and fails on new data, because the leak is not available at prediction time.

The Leakage Suspicion chapter in the Data section lists the pairs at 0.95 or more and marks those at 0.999 or more, where a column reproduces the target. For two numbers the association is whichever of Pearson's r and Spearman's rho is the stronger, because a column derived from the target often follows a curve rather than a line: the log of a price tracks the price perfectly, and Pearson alone reads that as weaker than it is. For a number and a category it is the correlation ratio η, and for two categories Cramér's V. Whether a listed column is a strong input or a leak depends on whether it is known before the target exists, which the owner of the analysis can confirm.

Implications

The spread in the model's output is largely accounted for within subgroups, and no substantial surplus beyond the trained range was flagged. The model explains 71% of the share of variation in mpg segments, and the coverage of out-of-distribution rows is 99%. There is one modeled target in this analysis and a verdict of pending for deployment readiness. An information concern appears in the Concerns chapter.

Nothing in the Implications section's numbers stood out as unusual.

How to read this

The Implications section states how to act on the models: the Stakeholder Summary and the Recommended Next Data, where the models hold and where they weaken (Quality by Input Range, Rows unlike the ones the model learned from, Per-Segment Predictions, Fairness), what to weigh before relying on them (Causal Honesty, Deployment Readiness), and the Provenance & Audit trail a reviewer needs to retrace the analysis.

Stakeholder Summary

The model's margin over a straight line through the data is small, enough that the two formulas gave nearly the same answers row by row. Of the two inputs the model reads, Qsec is the strongest: as Qsec rises, the model's output rises as well. Moving Qsec from 16.9 to 18.9 raises the model's output by about 2.03 on average within the observed range, with every other column as seen in these data.

The check rests on ten held-out rows, which is not enough to set the model's relative margin with confidence. This model is easy to read but should be considered provisional and not relied on for decisions about individual cases. Validate on a fresh sample before relying on the model for decisions.

Recommended Next Data

  • Collect more rows for the target Mpg. Reason: the analysis identified too few rows for the number of targets, with only 10 held-out rows, carrying a Critical diagnostic for training set size.
  • Collect more rows for all targets. Reason: the analysis flagged a Warning for few rows in total.
  • Collect more rows where Am is either group. Reason: the model showed a prediction parity gap in the Am column.
  • Collect more rows where Vs is either group. Reason: the model showed a prediction parity gap in the Vs column.
  • Add columns that capture information not already present, since the two strongest inputs (Wt and Qsec) could stand in for a single column, suggesting there may be an important input missing. Reason: the analysis flagged that 2 inputs could stand in for a column if one must not steer predictions.

Quality by Input Range

Quality by Input Range splits the held-out rows by every usable input and compares the model's quality on each segment with its quality on all held-out rows. For a number the quality is R², the share of variation explained; for a yes-or-no target it is accuracy, the share of rows classified correctly, the measure the Classification Performance chapter reports. A numeric input is split into quartiles; a categorical input with at most ten values is split by value. A segment with fewer than three held-out rows is left out, because its gap would be noise.

The chart is sorted from the worst gap to the best. Each bar is the segment's figure minus the figure on all held-out rows.

  • Negative bars: the model is weaker on these rows than on all held-out rows. A segment 0.25 or more below the overall value (25 points of accuracy) reads much weaker; a segment 0.10 to 0.25 below reads weaker. These are the segments to treat with caution.
  • Positive bars: the model is stronger on these rows than overall. A strong segment can mask weakness elsewhere, so the negative segments come first.
Mpg by Input Range

Segment drat in the third quarter (3.70 to 3.90) has only 3 held-out rows, too few to assess quality, so the verdict is suppressed.

SegmentRowsR²Gap to all rowsVerdict
Drat = q33-15.8431-16.5579Too few rows to judge
Number of cylinders = q43-2.3111-3.0259Too few rows to judge
Drat = q23-0.7611-1.4759Too few rows to judge
Number of forward gears = q24-0.7450-1.4598Too few rows to judge
Am = false4-0.7450-1.4598Too few rows to judge
Qsec = q23-0.2028-0.9176Too few rows to judge
Number of carburetors = q43-0.1148-0.8296Too few rows to judge
Drat = q430.2843-0.4306Too few rows to judge
Qsec = q430.4142-0.3006Too few rows to judge
Number of cylinders = q250.4187-0.2961Too few rows to judge

The first 10 rows of 19. The other 9 are in the notebook.

Aggregate R²
0.7148
Measure
r2
Target
Mpg

Rows unlike the ones the model learned from

0 of 10 held-out rows (0%) lie further from the training rows than 99 in 100 rows like them would, measured on the 2 inputs the model reads (qsec, wt). That is a small minority; the held-out figures describe the model on rows like the ones it was trained on.

TargetInputs measuredLineHeld-out rowsBeyond the lineShare
MpgQsec, Wt3.0351000 %
Score bins · 24 of 30 rows shown
CountFromTo
000.121
00.1210.243
00.2430.364
20.3640.486
00.4860.607
10.6070.728
00.7280.85
00.850.971
00.9711.093
11.0931.214

The first 10 rows of 24. The other 14 are in the notebook.

How to read this

Out-of-distribution detection finds held-out rows that lie far from the training rows of a model. It looks only at the numeric inputs the model reads. Each of them is standardized against the mean and standard deviation of the training rows, and the standardized values are combined into one distance per row. The line a row is read against depends on the number of inputs: it is the distance that 99 in 100 rows like the training rows stay below. A row beyond the line is flagged as out of distribution, and the held-out figures are unlikely to apply to it. When the held-out rows resemble the training rows, about one row in a hundred is flagged.

The chart shows one bar per held-out row in row order; the flagged rows are the bars at or above the line. With more than one target, the chart shows the model with the largest flagged share, and the figures name it.

The check treats inputs independently, so it will not notice a rare combination of values that are each ordinary on their own, such as a large height with a small weight. It is a first screen. A decision that depends on catching unusual inputs needs a dedicated check.

Fairness

This chapter checks the held-out predictions for uneven treatment of groups. For every categorical column with two to ten distinct values, other than the target, it reports per group the row count, mean actual value, mean prediction and mean residual, with R² and MAE for a number or accuracy, the share of rows classified correctly, for a yes-or-no target, and two measures across the groups.

  • Prediction parity ratio: the smallest group mean prediction divided by the largest, in absolute value. A ratio of 1.0 is perfect parity. Below 0.80, the four-fifths rule, some group receives systematically different predictions.
  • Largest mean residual: the largest absolute mean residual of any group. Above 30% of the overall residual standard deviation, at least one group is systematically over- or under-predicted.

The verdict combines the two: balanced when neither measure trips, parity gap or residual bias when one does, parity gap and residual bias when both do, and insufficient data when fewer than two groups have enough held-out rows.

Diafunc does not decide which columns are protected attributes; it reports every plausible one. A flagged column matters where it is a protected attribute in the decision the model supports, and can be set aside where it is not.

Mpg Fairness

Column Am splits the held-out rows into 2 groups. The prediction-parity ratio is 0.733 (smallest over largest mean prediction), the largest absolute group residual mean is 0.552 (0.178 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. gear goes closely with am (association 0.794 on a scale from 0 to 1, and 4 more columns at 0.5 or above): a model that reads gear can tell the groups of am apart, so leaving am out of the inputs does not keep it out of the predictions.

Aggregate residual std
3.099
N columns
2
N proxies
10
Proxy threshold
0.5
Columns
Bias max abs residual meanColumnGroupsInterpretationN groupsN proxiesPrediction parity ratioVerdict
0.5515Amtrue, falseColumn Am splits the held-out rows into 2 groups. The prediction-parity ratio is 0.733 (smallest over largest mean prediction), the largest absolute group residual mean is 0.552 (0.178 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. gear goes closely with am (association 0.794 on a scale from 0 to 1, and 4 more columns at 0.5 or above): a model that reads gear can tell the groups of am apart, so leaving am out of the inputs does not keep it out of the predictions.250.7327Prediction parity gap
0.714Vsfalse, trueColumn Vs splits the held-out rows into 2 groups. The prediction-parity ratio is 0.689 (smallest over largest mean prediction), the largest absolute group residual mean is 0.714 (0.23 times the overall residual standard deviation). Parity gap: at least one group receives systematically smaller predictions on average. Whether that is a property of the target itself or a model bias against the group needs checking. cyl goes closely with vs (association 0.811 on a scale from 0 to 1, and 4 more columns at 0.5 or above): a model that reads cyl can tell the groups of vs apart, so leaving vs out of the inputs does not keep it out of the predictions.250.689Prediction parity gap

Causal Honesty

Diafunc found a formula that captures the structure in the training data. That structure is correlative: it states what predicts what in this data. It does not establish that any input causes the target.

A correlative model is the right tool for predicting the target on new rows like these, for exploring which inputs carry information about the target, and for an early-stage diagnostic or screening tool.

A correlative model is not the right tool for claiming that intervening on an input will change the target, for attributing a target's values to specific causes for accountability, or for choosing between policies that act on the inputs.

The Quality by Input Range, Fairness and Concerns chapters show the most common confounding patterns in the data.

The model is correlative: it captures which columns predict the target in the training data, not whether changing one would change the other. Predictions are reliable for inputs that look like the training distribution; they are not evidence that intervening on an input will change the target. The 4 upgrade pathways below show what evidence would support a causal claim.

Upgrade pathways
NameSummary
Controlled experimentRandomize the input to be acted on, then analyze again. Randomization breaks confounding, so any change in the target is attributable to the input.
Natural experimentFind a setting where the input varied for reasons unrelated to the target, an instrumental variable. Variation of that kind supports causal inference.
Causal graphWrite out what plausibly causes what, then check whether the model's terms are consistent with the conditional independences the graph implies.
Control for confoundersIf a third variable plausibly moves both the input and the target, stratify by it or condition on it before training again. Gaps in the Quality by Input Range chapter are a clue.

Deployment Readiness

The analysis ran with the configuration below. The checks and the verdict of this chapter are read against it.

  • Targets: 1 target: mpg
  • Rows: 32 rows, a small sample; input rankings are suggestive
  • Per-Segment Predictions: not produced, because no segment column was chosen
  • Fairness: compared across 2 categorical columns (am, vs); which of them are protected attributes is not decided here
  • Out-of-Distribution: held-out rows are scored against the training rows; predictions made outside this report are not scored
  • Provenance & Audit: recorded in the chapter of that name

Across 6 checks (2 pass, 4 warn, 0 fail, 1 critical concern), at least one check fails or a critical concern is open: Not ready. The failing checks need addressing first; they typically indicate data leakage, severe miscalibration, or a model that loses to its baseline.

NameStatusDetail
GeneralizationWarntoo few held-out rows to judge
Prediction Interval CoverageWarnintervals are wider than their level requires, largest gap 10.0 percentage points
Baseline Lift for MpgWarnbarely beats the best baseline, R² lift 0.042
Model ConstraintsPassevery held-out prediction is finite and within the training range
FairnessWarn2 columns compared, 2 flagged: Am (a group receives systematically smaller predictions), Vs (a group receives systematically smaller predictions)
Out-of-DistributionPass0% of held-out rows are out of distribution
N critical concerns
1
N fail
0
N pass
2
N warn
4
Overall verdict
Not ready

Provenance & Audit

This record captures the inputs and configuration that produced the report, so the analysis can be reproduced or the result defended in an audit.

ItemValue
Analysis ID01304900-48b8-11f1-8087-d378640fe787
Run time2026-10-23 21:43 UTC
Total rows32
Modeled targetsMpg
Segment columnnot available
Time limit1 h 0 min
Time taken2 min 11 s
Credit budget500 credits
Ufinq version0.3.43

Findings

1 finding from the implications diagnostics (1 Info) is listed in the Concerns chapter at the top of the analysis.

Loading Diafunc…