Salmonella outbreak at a wedding: honey cake risk ratio recomputed
A 2024 outbreak study traced Salmonella at a Kazakh wedding to honey cake. We rebuild its 2 × 2 tables from the text and recompute the risk ratios with fibub's odds and risk ratio tool.
When dozens of wedding guests fall ill in the same week, investigators need to find out fast which dish did it. The standard method is a retrospective cohort study: ask everyone who ate there what they ate and whether they became ill, then compare the share who fell ill among those who ate each food with the share among those who did not. That ratio is the risk ratio. A 2024 paper in BMC Infectious Diseases used exactly this to trace a Salmonella outbreak in Kazakhstan to a honey cake. This article rebuilds the paper’s key tables from the percentages in its text and recomputes the risk ratios with the odds and risk ratio tool. To draw the onset dates as an outbreak curve, use the epi curve; to judge a lab test’s hits and misses, the diagnostic test calculator.
The paper in brief
In June 2022 a regional health department in Kazakhstan saw a rise in stomach illness among people who had eaten food from a wedding held in a restaurant. Investigators reached 138 people who ate the food, at the wedding or as leftovers taken home; 66 became ill, an attack rate of 48 %. Illness began between 6 hours and 4 days after the event, and 50 of the 66 ill people (76 %) were admitted to hospital. Nobody died.
Of all the foods, only honey cake stayed linked to illness after the authors adjusted for age, sex and the other foods in a Poisson regression: an adjusted risk ratio of 7.8 (95 % confidence interval 3.5 to 20.1). The cakes had a cream made with raw eggs and had been kept at room temperature for three days. Salmonella Enteritidis grew from every stool sample tested and from both cake samples. The paper’s conclusion is a familiar food-safety lesson: raw-egg creams need cold storage.
Checked with the tools
The paper gives the food tables only in a form we did not copy. Its text, though, says that 89 % of ill people and 13 % of well people ate honey cake, and 45 % and 11 % ate leftovers. With 66 ill and 72 well, only one whole number fits each percentage: 59 of 66 ill and 9 of 72 well ate cake; 30 of 66 ill and 8 of 72 well ate leftovers. So the 2 × 2 tables can be rebuilt from the text, assuming everyone answered both questions (our assumption).
Step 1: the honey cake. Among the 68 cake eaters, 59 fell ill: an attack rate of 86.8 %. Among the 70 who did not eat it, 7 fell ill: 10.0 %. The tool gives a crude risk ratio of 8.68 (95 % interval 4.27 to 17.63), a risk difference of 76.8 percentage points and a Fisher exact p of about 5 × 10⁻²¹. That sits close to the paper’s adjusted 7.8 (3.5 to 20.1), which is what you expect when the other foods do not confound the cake much. The odds ratio is 59 (exact interval 18.8 to 194.9). For a common illness like this one, the odds ratio is far larger than the risk ratio and should not be read as one.
Step 2: the leftovers, and confounding. People who ate leftovers fell ill at 78.9 % against 36.0 %: a crude risk ratio of 2.19 (1.61 to 2.99). Yet in the paper’s adjusted model leftovers drop out. The likely reason is confounding: leftovers included the cake. To show how that works, we made up one split of the leftover eaters by cake eating that fits all the paper’s totals (our assumption, not the paper’s data). Within it, leftover eaters and other cake eaters fall ill at almost the same rate (88.2 % against 85.3 %), and the tool’s Mantel-Haenszel risk ratio pooled across the two strata is 1.01 (0.82 to 1.23). A crude risk ratio of 2.19 can be explained entirely by the cake (Figure 1).
Step 3: how firm is the rebuild? The counts come from rounded percentages, so we asked what happens if the number of well cake eaters were anywhere from 5 to 15 instead of 9. The crude risk ratio moves from 9.75 to 7.29, and the lower end of its interval never drops below 3.59 (Figure 2). The finding does not hang on one or two guests’ answers.
| Check | Paper | Our tool result |
|---|---|---|
| Attack rate | 48 % (66 of 138) | 47.8 % |
| Honey cake risk ratio | 7.8 (3.5 to 20.1), adjusted | 8.68 (4.27 to 17.63), crude, rebuilt counts |
| Attack rate, cake eaters / others | not stated | 86.8 % / 10.0 % |
| Leftovers risk ratio | not significant after adjustment | 2.19 crude; 1.01 within cake strata (made-up split) |
How we made the graphs
The charts and every number come from scripts/blog-figures/salmonella-wedding-honey-cake-outbreak-risk-ratio-recomputed.mjs in fibub’s public code. It calls single (one 2 × 2 table: risk ratio, odds ratio, exact intervals, Fisher’s test) and stratified (Mantel-Haenszel) from src/lib/sci/oddsratio.ts, the maths of the odds and risk ratio tool.
The group sizes, percentages and the adjusted risk ratio come from the paper’s text. The script finds every whole-number count that rounds to each stated percentage (there is exactly one each time). That everyone answered both food questions, and the split of leftover eaters by cake eating, are our assumptions.
How we test the maths
On every change to fibub, tests/sci.mjs runs tests/sci-tools/odds-risk-ratio.mjs, which pins the tool against statsmodels and SciPy:
- A table of 40, 60, 20 and 80 must give an odds ratio of 2.667 with Woolf limits 1.417 to 5.020 (statsmodels), and a risk ratio of 2 with limits 1.263 to 3.167.
- The same table’s exact conditional odds ratio must be 2.653 with exact limits 1.358 to 5.313 (SciPy).
- A three-stratum example must give a Mantel-Haenszel odds ratio of 2.839 (1.694 to 4.756), as statsmodels’
StratifiedTabledoes. - New with this article: the honey cake table (59, 9, 7, 63) must give a risk ratio of 8.676 with limits 4.270 to 17.63, matching the Katz formula written out by hand in the test.
Check it yourself
On the odds and risk ratio page:
- Keep One table selected and set Study design to Cohort or trial. The columns change to Ill (event) and Well (no event).
- Type 59 and 9 in the Exposed row (ate honey cake) and 7 and 63 in the Unexposed row.
- Risk ratio (log method) reads about 8.68, with an interval of about 4.27 to 17.6. Odds ratio (Woolf, log method) reads 59.
- Switch to Strata (Mantel-Haenszel) and replace the example with two lines: Ate honey cake, 30, 4, 29, 5 and No honey cake, 0, 4, 7, 59 (tab or comma separated). The pooled risk ratio reads about 1.01, while the crude one is 2.19: the cake explains the leftovers.
What researchers can use it for
- Run a food-specific analysis during an outbreak: one table per food, with risk ratios, exact intervals and Fisher’s test, in the odds and risk ratio tool.
- Rebuild and check a published table from its percentages and group sizes, as we did here, before citing it in a review.
- Show confounding with strata: a crude effect that vanishes within strata is the classic sign.
- Draw the onset times in the epi curve tool to see whether a single meal fits (one sharp peak) or the spread looks like person-to-person spread.
- Teach the odds ratio against the risk ratio: with a 48 % attack rate, an odds ratio of 59 sits beside a risk ratio of 8.7.
The fine print
- The 2 × 2 tables are rebuilt from rounded percentages and assume everyone answered; the paper’s own tables may differ slightly.
- Our risk ratios are crude. The paper’s 7.8 is adjusted for age, sex and other foods, so the two are not the same quantity.
- The split of leftover eaters by cake is made up to illustrate confounding; it is not data from the study.
- The paper gives the adjusted risk ratio as 7.8 (3.5 to 20.1) in its abstract and 8.0 (3.6 to 20.7) in its results; we quote the abstract.
- This is general public-health education. Report suspected food poisoning to your local health authority.
Sources
- Gazezova, S., Nabirova, D., Waltenburg, M., Rakhimzhanova, M., Smagul, M., Kasabekova, L. and Horth, R. (2024), Salmonellosis outbreak associated with the consumption of food at a wedding in an urban restaurant in Kazakhstan: a retrospective cohort study, BMC Infectious Diseases 24: 1464, doi:10.1186/s12879-024-10382-4. Licence CC BY 4.0 (Creative Commons Attribution 4.0 International), checked on the article page at link.springer.com, 2026-11-24. Values used here: 138 people who ate food from the event, 66 ill (attack rate 48 %); 89 % of ill and 13 % of well people ate honey cake; 45 % of ill and 11 % of well people ate leftovers; adjusted risk ratio for honey cake 7.8 (95 % CI 3.5 to 20.1) in the abstract, 8.0 (3.6 to 20.7) in the results; 50 of 66 ill people in hospital; onset 6 hours to 4 days after the event.
- Risk ratio interval: Katz, D., Baptista, J., Azen, S. P. and Pike, M. C. (1978), Biometrics 34: 469-474. Mantel-Haenszel risk ratio: Greenland, S. and Robins, J. M. (1985), Biometrics 41: 55-68.
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.