Hamburger Buns Lab143 recipes

Hamburger Buns Lab

What moves together in 143 hamburger bun recipes

When a recipe uses more of one ingredient, does it tend to use more or less of another? For every pair of the 6 ingredient ratios (grams per 100 g of flour), this page ranks all 143 recipes on each and measures how closely the two rankings agree: Spearman's rho, from −1 (the more of one, always the less of the other) through 0 (unrelated) to 1 (always rise together).

15 pairs in all: 4 rise together at rho 0.20 or more, 2 move in opposite directions at −0.20 or less, and 3 are close to unrelated (between −0.10 and 0.10). This describes recipes as they are published; it does not say what changing one amount would do to a bake.

Every pair at once

Read a cell by its row and column. Caramel cells rise together, slate cells move in opposite directions, and the deeper the color the stronger the relationship. Pale cells with grey numbers are not distinguishable from no relationship with 143 recipes (p of 0.05 or more).

Liquid and fat: rho −0.21, weak−0.21Liquid and sugar: rho −0.17, very weak−0.17Fat and sugar: rho 0.25, weak0.25Liquid and egg: rho −0.39, weak−0.39Fat and egg: rho 0.36, weak0.36Sugar and egg: rho 0.27, weak0.27Liquid and salt: rho 0.23, weak0.23Fat and salt: rho 0.07, negligible, not distinguishable from zero0.07Sugar and salt: rho 0.08, negligible, not distinguishable from zero0.08Egg and salt: rho 0.05, negligible, not distinguishable from zero0.05Liquid and yeast: rho 0.18, very weak0.18Fat and yeast: rho 0.20, very weak0.20Sugar and yeast: rho 0.20, very weak0.20Egg and yeast: rho 0.15, very weak, not distinguishable from zero0.15Salt and yeast: rho 0.13, very weak, not distinguishable from zero0.13FatSugarEggSaltYeastLiquidFatSugarEggSalt
All 15 pairs as a table
Spearman correlation for every pair of ratios, strongest first
PairRhoStrengthp
Liquid and egg−0.39weakunder 0.001
Fat and egg0.36weakunder 0.001
Sugar and egg0.27weak0.001
Fat and sugar0.25weak0.002
Liquid and salt0.23weak0.006
Liquid and fat−0.21weak0.011
Sugar and yeast0.20very weak0.018
Fat and yeast0.20very weak0.019
Liquid and yeast0.18very weak0.034
Liquid and sugar−0.17very weak0.042
Egg and yeast0.15very weak0.078
Salt and yeast0.13very weak0.13
Sugar and salt0.08negligible0.34
Fat and salt0.07negligible0.40
Egg and salt0.05negligible0.55

The three clearest relationships

The strongest pairs that reach rho 0.20 either way with a p-value under 0.01. Each dot is a recipe; the line joins the median of the second ingredient within each fifth of recipes ranked by the first.

  1. Recipes with more liquid tend to use less egg

    rho −0.39 across 143 recipes · weak · p under 0.001

    The third of recipes with the most liquid use a median of 11% egg; the third with the least liquid, 17%.

    0%25%50%75%100%0%20%40%60%Liquid, % of flour →↑ Egg, % of flour
  2. Recipes with more fat tend to use more egg

    rho 0.36 across 143 recipes · weak · p under 0.001

    The third of recipes with the most fat use a median of 18% egg; the third with the least fat, 11%.

    0%10%20%30%0%20%40%60%Fat, % of flour →↑ Egg, % of flour
  3. Recipes with more sugar tend to use more egg

    rho 0.27 across 143 recipes · weak · p 0.001

    The third of recipes with the most sugar use a median of 14% egg; the third with the least sugar, 10%.

    0%5%10%15%20%0%20%40%60%Sugar, % of flour →↑ Egg, % of flour

What moves on its own

Every ingredient moves with at least one other: none has its strongest correlation under 0.15.

The pairs closest to unrelated: egg and salt (0.05), fat and salt (0.07) and sugar and salt (0.08).

How the numbers are made

Spearman's rho is the ordinary correlation of the two rankings, so it measures whether one amount tends to rise with the other, in a straight line or not, and a single extreme recipe moves it little. A recipe with none of an ingredient ranks lowest on it. An ingredient fewer than 12 recipes use is left out of the matrix.

The p-value is the chance of a rho at least this far from zero if the two amounts were unrelated. With 15 pairs tested, about 0.8 would pass 0.05 by chance alone even if no ingredient were related to another, which is why the relationships explained above must pass 0.01 and reach 0.20.

Every number is divided by the same flour weight, so a recipe light on flour reads high on every ingredient at once. That nudges every correlation toward positive: part of a positive rho can be flour, not the two ingredients. A negative one holds despite it.

A correlation describes the recipes as published. “Recipes with more liquid tend to use…” is a statement about what bakers write down together, not a rule that adding one forces the other. Plot any two ingredients to see the recipes behind a number.