Cornbread Lab250 recipes

Cornbread Lab

What moves together in 250 cornbread recipes

When a recipe uses more of one ingredient, does it tend to use more or less of another? For every pair of the 7 ingredient ratios (grams per 100 g of flour), this page ranks all 250 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).

21 pairs in all: 6 rise together at rho 0.20 or more, 2 move in opposite directions at −0.20 or less, and 7 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 250 recipes (p of 0.05 or more).

Cornmeal share and buttermilk: rho 0.21, weak0.21Cornmeal share and fat: rho −0.18, very weak−0.18Buttermilk and fat: rho 0.00, negligible, not distinguishable from zero0.00Cornmeal share and sugar: rho −0.42, moderate−0.42Buttermilk and sugar: rho −0.23, weak−0.23Fat and sugar: rho 0.40, weak0.40Cornmeal share and egg: rho −0.16, very weak−0.16Buttermilk and egg: rho 0.06, negligible, not distinguishable from zero0.06Fat and egg: rho 0.29, weak0.29Sugar and egg: rho 0.25, weak0.25Cornmeal share and leavening: rho −0.07, negligible, not distinguishable from zero−0.07Buttermilk and leavening: rho 0.14, very weak0.14Fat and leavening: rho 0.09, negligible, not distinguishable from zero0.09Sugar and leavening: rho 0.11, very weak, not distinguishable from zero0.11Egg and leavening: rho 0.25, weak0.25Cornmeal share and salt: rho −0.08, negligible, not distinguishable from zero−0.08Buttermilk and salt: rho 0.01, negligible, not distinguishable from zero0.01Fat and salt: rho 0.18, very weak0.18Sugar and salt: rho −0.01, negligible, not distinguishable from zero−0.01Egg and salt: rho 0.16, very weak0.16Leavening and salt: rho 0.20, weak0.20ButtermilkFatSugarEggLeaveningSaltCornmeal shareButtermilkFatSugarEggLeavening
All 21 pairs as a table
Spearman correlation for every pair of ratios, strongest first
PairRhoStrengthp
Cornmeal share and sugar−0.42moderateunder 0.001
Fat and sugar0.40weakunder 0.001
Fat and egg0.29weakunder 0.001
Egg and leavening0.25weakunder 0.001
Sugar and egg0.25weakunder 0.001
Buttermilk and sugar−0.23weakunder 0.001
Cornmeal share and buttermilk0.21weakunder 0.001
Leavening and salt0.20weak0.001
Cornmeal share and fat−0.18very weak0.003
Fat and salt0.18very weak0.005
Cornmeal share and egg−0.16very weak0.012
Egg and salt0.16very weak0.014
Buttermilk and leavening0.14very weak0.023
Sugar and leavening0.11very weak0.072
Fat and leavening0.09negligible0.15
Cornmeal share and salt−0.08negligible0.22
Cornmeal share and leavening−0.07negligible0.24
Buttermilk and egg0.06negligible0.33
Sugar and salt−0.01negligible0.83
Buttermilk and salt0.01negligible0.83
Buttermilk and fat0.00negligible0.73

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 cornmeal share tend to use less sugar

    rho −0.42 across 250 recipes · moderate · p under 0.001

    The third of recipes with the most cornmeal share use a median of 13% sugar; the third with the least cornmeal share, 33%.

    0%25%50%75%100%125%0%20%40%60%80%Cornmeal share, % of flour →↑ Sugar, % of flour
  2. Recipes with more fat tend to use more sugar

    rho 0.40 across 250 recipes · weak · p under 0.001

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

    0%20%40%60%80%0%20%40%60%80%Fat, % of flour →↑ Sugar, % of flour
  3. Recipes with more fat tend to use more egg

    rho 0.29 across 250 recipes · weak · p under 0.001

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

    0%20%40%60%80%0%20%40%60%80%Fat, % 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: buttermilk and fat (0.00), buttermilk and salt (0.01), sugar and salt (−0.01) and buttermilk and egg (0.06).

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 21 pairs tested, about 1.1 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 cornmeal share 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.