NewGot a food science question? Ask a Food Scientist →
Mendocino Food ConsultingDr. Bryan Quoc Le · Food Scientist Services

Lab notebook · Lab method · B30

Was our GABA gene signal just a statistical artifact?

Verdict
Done It answered the question it set out to answer.
How far it got
Scout: A first, cheap look. Treat any signal as a lead, not a finding.
Rule set first
B10's signal is a denominator artifact if |ρ(prevalence, −log N)| is 0.38 or more with the same sign, or the negative binomial prevalence p is 0.10 or more; it survives if neither holds and that p is below 0.05.
Written down
Rule Nov 27, 2026, lab commit 2db37f4. Result Nov 27, 2026, commit 8f8e4bf.
Data
B5 and B10 tables already in the lab: Europe PMC hit counts and NCBI genome counts (public metadata)
Runs
1 run, about $0.99 of compute

What we asked

When you divide a count by a total (GABA papers per food paper, say), the ratio can correlate with something just because the total does. That’s an old statistical trap. It killed one of the lab’s earlier results, B5, when the weekly red team caught it.

The lab had one other result built the same way: B10’s scout correlation of +0.63 between how often a species carries gad, the GABA gene, and the share of its food papers that report GABA production. Later questions built on it, so we checked whether it falls into the same trap.

The rule we set first

The plan was committed in 2db37f4 before any analysis. The result followed in 8f8e4bf.

The rule: B10’s signal is an artifact if gad prevalence tracks the number of food papers itself (|ρ(prevalence, −log N)| of 0.38 or more, same sign), or if a count model with the total as a free covariate (negative binomial) gives a prevalence p of 0.10 or more. It survives if neither holds and that p is below 0.05.

The positive control: The same code had to reproduce the red team’s B5 numbers first (ρ 0.414 and 0.424, within 0.01).

What we did

  • Wrote one reusable check: the denominator-only correlation, a Poisson model with offset, a negative binomial model at four dispersions, and a shuffled-label calibration.
  • Ran it on B5 as the positive control.
  • Ran it on B10’s 24 species.
  • Afterwards, labelled post hoc, re-ran it without L. brevis and among gad carriers only.

What we found

The positive control passed exactly: B5’s ρ 0.414 and denominator-only ρ 0.424, negative binomial p 0.13, total-count slope 0.68.

B10 survives. Gad prevalence barely tracks the number of food papers (ρ −0.13, against the 0.38 line). In the count model, prevalence comes in at +1.84 [+1.19, +2.48], with a total-count slope of 1.01 and a permutation p of 0.001 (Holm across the two decisive tests: 0.55 and below 0.001). Adding the number of genome assemblies changes nothing (+1.85).

The lesson for the lab: The ratio form only manufactures a signal when the predictor tracks the total and the fitted slope on the total is far from 1. B5 had both (0.68). B10 had neither (1.01).

What this doesn’t show

It doesn’t revive B10, whose pilot failed on its own test. And the signal is coarser than +0.63 suggests. Post hoc, without L. brevis the coefficient halves (+0.85, permutation p 0.030), and among gad carriers only there’s no gradient (+0.28, permutation p 0.22). So the real finding is carriers versus non-carriers, which B10’s red team had already flagged.

A warning I hadn’t expected: With 24 species, the model’s own p-value was too optimistic. Shuffled data gave p below 0.05 in 25% of fits. That’s why the verdict uses the permutation p, and why the lab now calibrates small-sample count models by shuffling.

Not checked: the quality of the B10 literature queries (some hits were gut-brain reviews), assembly-quality effects on prevalence, and reverse causation (known producers may simply get sequenced more).

Where a human lab could take this

  • Hand-check the literature counts. The weakest link is the query: Some “GABA production” hits are gut-brain reviews, not strain work. Someone reading a sample of the hits by hand would show how much noise the counts carry. It takes careful reading, not special equipment.
  • Test the carrier contrast at the bench. The signal that survives is simple: Species with gad get more GABA-production papers than species without. A microbiology lab could culture type strains of carriers and non-carriers side by side and measure GABA by HPLC. That checks the biology behind the literature pattern instead of the papers.
  • Honest call: Don’t push for a gradient within carriers. Among carriers there wasn’t one, so a bigger version of this literature analysis is unlikely to find more.

Data and code

  • B5’s food-level counts and B10’s species table, already in the lab: Europe PMC hit counts and NCBI genome assembly counts (public metadata). No new queries were run.

Code lives in the lab repo under projects/B30-denominator-check/code/. The reusable check is denominator_check.py (check(name, X, S, N, rate)); the post-hoc sensitivity is b10_no_brevis.py.

Reproduced (Nov 28, 2026): Rerun from a clean copy, the B5 control and the B10 check matched the committed output exactly, verdict included. The post-hoc carriers-only permutation p (0.22) did not reproduce on an older statistics library; its coefficient (+0.28) did.

Lab entries are exploratory research, not professional advice for a specific product, and not medical, legal or regulatory advice. Spot a mistake? Email me, and I'll post the correction here with a date.

More from the lab

Every investigation →