Snickerdoodles Lab215 recipes

Snickerdoodles Lab

What moves together in 215 snickerdoodle 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 215 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: 7 rise together at rho 0.20 or more, none move in opposite directions at −0.20 or less, and 5 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 215 recipes (p of 0.05 or more).

Fat and sugar: rho 0.29, weak0.29Fat and egg: rho 0.35, weak0.35Sugar and egg: rho 0.24, weak0.24Fat and cream of tartar: rho 0.28, weak0.28Sugar and cream of tartar: rho 0.05, negligible, not distinguishable from zero0.05Egg and cream of tartar: rho 0.27, weak0.27Fat and leavening: rho 0.20, very weak0.20Sugar and leavening: rho 0.23, weak0.23Egg and leavening: rho 0.07, negligible, not distinguishable from zero0.07Cream of tartar and leavening: rho 0.09, negligible, not distinguishable from zero0.09Fat and salt: rho 0.25, weak0.25Sugar and salt: rho 0.15, very weak0.15Egg and salt: rho 0.03, negligible, not distinguishable from zero0.03Cream of tartar and salt: rho 0.14, very weak0.14Leavening and salt: rho −0.06, negligible, not distinguishable from zero−0.06SugarEggCream of tartarLeaveningSaltFatSugarEggCream of tartarLeavening
All 15 pairs as a table
Spearman correlation for every pair of ratios, strongest first
PairRhoStrengthp
Fat and egg0.35weakunder 0.001
Fat and sugar0.29weakunder 0.001
Fat and cream of tartar0.28weakunder 0.001
Egg and cream of tartar0.27weakunder 0.001
Fat and salt0.25weakunder 0.001
Sugar and egg0.24weakunder 0.001
Sugar and leavening0.23weakunder 0.001
Fat and leavening0.20very weak0.004
Sugar and salt0.15very weak0.032
Cream of tartar and salt0.14very weak0.035
Cream of tartar and leavening0.09negligible0.18
Egg and leavening0.07negligible0.34
Leavening and salt−0.06negligible0.39
Sugar and cream of tartar0.05negligible0.50
Egg and salt0.03negligible0.64

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 fat tend to use more egg

    rho 0.35 across 215 recipes · weak · p under 0.001

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

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

    rho 0.29 across 215 recipes · weak · p under 0.001

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

    0%25%50%75%100%0%50%100%150%200%Fat, % of flour →↑ Sugar, % of flour
  3. Recipes with more fat tend to use more cream of tartar

    rho 0.28 across 215 recipes · weak · p under 0.001

    The third of recipes with the most fat use a median of 1.4% cream of tartar; the third with the least fat, 0.8%.

    0%25%50%75%100%0%1%2%3%4%Fat, % of flour →↑ Cream of tartar, % 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.03), sugar and cream of tartar (0.05), leavening and salt (−0.06) and egg and leavening (0.07).

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 fat 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.