← All projects

PROJECT 030 / 102 · Food science

Sugar and density measurement structure.

How does density vary across residual-sugar bands within wine type?

Focused analytical studyWine qualityExecuted notebook

THE RESULT

What the data shows

The largest computed metric is 0.9981 for red / (5.0, 10.0]; the smallest is 0.9918 for white / (2.0, 5.0]. Metric: median_density (Source density units).

Bands are prespecified and sparse groups are excluded; density differences are not quality improvements.

Sugar and density measurement structure — chart from the computed study output
Computed study output. Full values and units are available in the results download.
Computed results · 7 of 7 rows. Values rounded for display; source units and raw column names are retained in the download.
wine typesugar bandsamplesmedian densityp25p75group
red(0.0, 2.0]6200.99620.99520.997red / (0.0, 2.0]
red(2.0, 5.0]8950.99710.99580.9983red / (2.0, 5.0]
red(5.0, 10.0]730.99810.99720.999red / (5.0, 10.0]
white(0.0, 2.0]1,5000.99190.99070.993white / (0.0, 2.0]
white(10.0, 20.0]1,1750.99780.99680.9986white / (10.0, 20.0]
white(2.0, 5.0]9100.99180.99060.9936white / (2.0, 5.0]
white(5.0, 10.0]1,2950.99490.99340.9958white / (5.0, 10.0]
Download the complete result table ↓

THE METHOD

From source to answer

Stratified median density and interquartile ranges.

The Python source exposes this study’s transformations. The complete project download includes shared preparation and evaluation routines.

THE NEXT DECISION

What follows from the finding

Use measurement structure to check plausibility and collinearity in a laboratory model.

Where the conclusion stops

Sensory scores are ordinal and concentrated in the middle. Producer and batch IDs are unavailable. Associations are not recipes for changing quality or evidence of market price.

Related studies may reuse observations or holdouts. These are historical analyses; associations and backtests do not demonstrate commercial impact. Further model tuning needs new, untouched evaluation data.