# Mendel's 1866 pea ratios re-tested against 3:1

## Summary

All seven of Mendel's single-character experiments are statistically consistent with a 3:1 ratio of dominant to recessive forms. The seven chi-square values range from 0.015 to 0.607 (1 degree of freedom each), the P-values from 0.44 to 0.90, and no experiment rejects 3:1. Pooled, 14,949 dominant to 5,010 recessive gives 2.98:1 (95% interval 2.89:1 to 3.08:1; chi-square 0.110, P = 0.74).

That agreement is not a proof of 3:1. The same pooled counts are equally unable to reject any ratio between 2.89:1 and 3.08:1, and a failure to reject is not a demonstration. The exact value 3:1 comes from Mendel's model by deduction; the data can only fail to contradict it.

The fit is also closer than chance predicts, which is the core of the historical controversy. Across the 84 tests that can be formed from the whole paper, the chi-square values sum to 41.34 where chance alone predicts about 84. A total this small or smaller has probability 0.000025, about 1 in 40,000. For the seven 3:1 experiments alone the excess closeness is marginal (P = 0.048). This analysis reproduces Fisher's 1936 chi-square totals to within 0.0001, but the arithmetic cannot say why the fit is so close, and it does not establish fraud.

## Data and sources

The counts were keyed from the German text of [Mendel 1866](https://doi.org/10.5962/bhl.title.61004) (*Versuche über Pflanzen-Hybriden*, Verhandlungen des naturforschenden Vereines in Brünn, Bd. IV, Abhandlungen, 3–47). Three separately produced transcriptions are preserved unaltered in `data/raw/`: the MendelWeb text, the uncorrected OCR of the Smithsonian Libraries copy held by the Internet Archive, and the Deutsches Textarchiv double-keyed transcription as served by onepagepapers.com. Curated tables are in `data/curated/`:

- the seven single-character experiments in the first generation bred from the hybrids (modern F2), 19,959 seeds and plants in total;
- the eight progeny tests of dominant-phenotype plants (modern F3), including Mendel's repeat of experiment 5;
- the first ten plants of experiments 1 and 2, which Mendel printed to show plant-to-plant variation;
- the two-character and three-character experiments and the five experiments on the composition of egg and pollen cells.

Experiments 1 and 2 count seeds (from 253 and 258 hybrid plants); experiments 3 to 7 count plants.

## Test of the 3:1 ratio

For each experiment the expected counts are three quarters and one quarter of the total, and the statistic is Pearson's chi-square with 1 degree of freedom, without continuity correction. Exact binomial tests, likelihood-ratio (G) tests and Yates-corrected tests are in `results/f2_chi_square_tests.csv` and lead to the same conclusion in every row.

| Experiment | Observed dominant : recessive | Expected under 3:1 | Ratio x:1 (95% interval) | Chi-square | P | Exact binomial P |
|---|---|---|---|---|---|---|
| 1. Seed shape | 5,474 : 1,850 | 5,493.00 : 1,831.00 | 2.96 (2.81 to 3.12) | 0.263 | 0.608 | 0.608 |
| 2. Seed colour (albumen) | 6,022 : 2,001 | 6,017.25 : 2,005.75 | 3.01 (2.86 to 3.17) | 0.015 | 0.903 | 0.908 |
| 3. Seed-coat colour | 705 : 224 | 696.75 : 232.25 | 3.15 (2.71 to 3.66) | 0.391 | 0.532 | 0.545 |
| 4. Pod shape | 882 : 299 | 885.75 : 295.25 | 2.95 (2.59 to 3.36) | 0.064 | 0.801 | 0.814 |
| 5. Unripe pod colour | 428 : 152 | 435.00 : 145.00 | 2.82 (2.34 to 3.39) | 0.451 | 0.502 | 0.502 |
| 6. Flower position | 651 : 207 | 643.50 : 214.50 | 3.14 (2.69 to 3.68) | 0.350 | 0.554 | 0.581 |
| 7. Stem length | 787 : 277 | 798.00 : 266.00 | 2.84 (2.48 to 3.26) | 0.607 | 0.436 | 0.436 |
| **All seven pooled** | 14,949 : 5,010 | 14,969.25 : 4,989.75 | 2.98 (2.89 to 3.08) | 0.110 | 0.741 | 0.744 |

The seven chi-square values sum to 2.1389 on 7 degrees of freedom. The probability of a sum at least this large is 0.9518, so there is no evidence of misfit. The seven experiments do not differ detectably from one another (heterogeneity chi-square 2.03, 6 degrees of freedom, P = 0.92), which is what justifies pooling them.

![Figure 1](fig1_f2_ratios_vs_3to1.png)

**Figure 1.** Mendel's seven single-character experiments against the 3:1 expectation. (a) Observed dominant-to-recessive ratio with its 95% Wilson interval; the vertical line marks 3:1. (b) The same deviations in standard errors under 3:1; the grey band is the range within which 95% of results fall by chance. Circles are single experiments, the diamond is the pooled total of 19,959 seeds and plants.

## Consistency is not proof

A goodness-of-fit test asks whether the data contradict a stated hypothesis. A large P-value means they do not. It does not mean the hypothesis is true, for three reasons that the numbers here make concrete.

First, many other ratios pass the same test. Testing the pooled counts against neighbouring ratios gives:

| Hypothesised ratio | Pooled chi-square | P | At the 0.05 level |
|---|---|---|---|
| 2.80 : 1 | 15.18 | < 0.001 | rejected |
| 2.85 : 1 | 7.90 | 0.005 | rejected |
| 2.90 : 1 | 3.05 | 0.081 | not rejected |
| 2.95 : 1 | 0.49 | 0.485 | not rejected |
| 3.00 : 1 | 0.11 | 0.741 | not rejected |
| 3.05 : 1 | 1.81 | 0.179 | not rejected |
| 3.10 : 1 | 5.47 | 0.019 | rejected |
| 3.15 : 1 | 11.02 | < 0.001 | rejected |
| 3.20 : 1 | 18.36 | < 0.001 | rejected |

Every ratio from 2.89:1 to 3.08:1 is "consistent with the data" in exactly the sense that 3:1 is. Single experiments are much less sharp: experiment 5 alone cannot exclude anything between 2.34:1 and 3.39:1.

Second, the test has limited power. Even with 19,959 observations, a true ratio would need to lie outside roughly 2.87:1 to 3.14:1 to be detected four times in five. A real departure smaller than that, such as slightly reduced survival of one class, would pass unnoticed.

Third, what the data support is an interval estimate, not a value. The statement the evidence licenses is "the ratio is 2.98:1, give or take about 0.1", not "the ratio is 3:1".

The exact 3:1 is a different kind of claim. If each hybrid passes either factor to a gamete with probability one half, gametes unite at random, all offspring are equally viable and scored without error, and one factor is fully dominant, then the offspring are 1/4 AA, 1/2 Aa and 1/4 aa and the dominant form has probability exactly 3/4. That is a mathematical consequence of the premises, checked in `code/03_analysis.py` with exact fractions. It is a theorem about the model. Whether peas obey the premises is an empirical question that these counts leave open within the interval above, and which later genetics answered by independent means.

![Figure 2](fig2_consistency_is_not_proof.png)

**Figure 2.** P-value of the pooled chi-square test (14,949 dominant, 5,010 recessive) as a function of the hypothesised ratio. The grey band marks every ratio the data fail to reject at the 0.05 level; 3:1 is one point inside it.

## The statistical controversy

### Fisher's argument

The first chi-square analysis of Mendel's counts was [Weldon 1902](https://doi.org/10.1093/biomet/1.2.228), using the test introduced by [Pearson 1900](https://doi.org/10.1080/14786440009463897), as recounted by [Pires and Branco 2010](https://doi.org/10.1214/10-STS342). [Fisher 1936](https://doi.org/10.1080/00033793600200111) went further and summed the chi-square values over every experiment in the paper. Recomputed here from the curated tables, the group totals agree to within 0.0001 with his Table V as reproduced by Pires and Branco:

| Group of experiments | Degrees of freedom | Chi-square, recomputed | Chi-square, Fisher 1936 | P of exceeding, recomputed | P of exceeding, Fisher 1936 |
|---|---|---|---|---|---|
| 3:1 ratios | 7 | 2.1389 | 2.1389 | 0.95176 | 0.95 |
| 2:1 ratios | 8 | 5.1733 | 5.1733 | 0.73890 | 0.74 |
| Bifactorial | 8 | 2.8110 | 2.8110 | 0.94565 | 0.94 |
| Gametic ratios | 15 | 3.6730 | 3.6730 | 0.99863 | 0.9987 |
| Trifactorial | 26 | 15.3224 | 15.3224 | 0.95115 | 0.95 |
| Total (excluding illustrations) | 64 | 29.1185 | 29.1186 | 0.99995 | 0.99987 |
| Illustrations of plant variation | 20 | 12.4870 | 12.4870 | 0.89829 | 0.90 |
| Total | 84 | 41.6055 | 41.6056 | 0.99997 | 0.99993 |

Fisher's printed probabilities are slightly less extreme than the recomputed ones in the two totals; [Pires and Branco 2010](https://doi.org/10.1214/10-STS342) found the same and attribute it to the method used to evaluate the chi-square distribution. Fisher's conclusion, as quoted by Pires and Branco, was that "the data of most, if not all, of the experiments have been falsified so as to agree closely with Mendel's expectations", with the suggestion that Mendel may have been "deceived by some assistant who knew too well what was expected".

Organising the same data as 84 two-class tests, as [Edwards 1986](https://doi.org/10.1111/j.1469-185x.1986.tb00656.x) and [Pires and Branco 2010](https://doi.org/10.1214/10-STS342) do, gives a total of 41.3376. In one million simulated repetitions of all 84 experiments under Mendel's own theory, only 26 gave a total this small. Not one of the 84 P-values falls below 0.10, where about 8 would be expected, and their distribution differs from uniform (Kolmogorov–Smirnov D = 0.1913, P = 0.0036). The seven 3:1 experiments contribute little to this. Their own total has a lower-tail probability of 0.048, and the chance that all seven results fall within one standard error of expectation, as they do, is 0.07; both are marginal on their own.

### The progeny-test argument

Fisher's second argument concerns the six progeny tests in which Mendel sowed ten seeds from each of 100 dominant-phenotype plants. A hybrid plant yields ten dominant offspring with probability 0.75^10 = 0.0563 and is then misread as constant, so the expected split is 1.70:1 and not 2:1. Mendel's pooled result is 399 hybrid to 201 constant out of 600, against 400:200 under 2:1 and 377.5:222.5 under the corrected ratio. Against the corrected ratio the chi-square is 3.31 (two-sided P = 0.069); the one-sided probability is 0.034, or once in 29 trials, the figure usually attributed to Fisher. The data sit on the uncorrected expectation, but the departure from the corrected one does not reach the conventional 0.05 level in a two-sided test. [Ellis et al. 2019](https://doi.org/10.1186/s41065-019-0111-y) argue that the correction itself rests on an unrealistic premise, that exactly ten offspring of every plant were scored.

Applying Fisher's correction where Mendel states ten seeds were sown raises the 84-test total from 41.34 to 44.42; extending it, as an assumption, to the nine seed-coat classifications of the three-character experiment raises it to 48.80 (lower-tail P = 0.0008). The total stays far below 84 either way. [Ellis et al. 2019](https://doi.org/10.1186/s41065-019-0111-y) quote a total of 48.91 from Edwards's analysis.

![Figure 3](fig3_too_good_to_be_true.png)

**Figure 3.** Why the agreement is called too good. (a) Signed deviations of the 84 tests in standard errors (bars) against the count expected by chance (outline). (b) Cumulative distribution of the 84 P-values against the uniform distribution expected by chance and against the selective-repeat model with threshold 0.20. (c) Sum of the 84 chi-square values: Mendel's 41.3 against one million simulations under chance alone and under the selective-repeat model. (d) Share of plants scored as hybrids in the six progeny tests that used ten offspring per plant (100 plants each, 95% Wilson intervals), against 2:1 and Fisher's corrected 1.70:1.

### Proposed explanations

The literature offers several accounts short of fabrication, and none is established. [Fairbanks and Rytting 2001](https://doi.org/10.2307/2657027) conclude from botanical and historical evidence that Mendel did not fabricate data, and suggest that he presented the subset of experiments that best represented his theory. [Pires and Branco 2010](https://doi.org/10.1214/10-STS342) formalise a related idea: if an experiment was repeated whenever its P-value fell below a threshold and the closer of the two results was reported, the 84 P-values are fitted well with a threshold of 0.201 (Kolmogorov–Smirnov P = 0.88; thresholds from 0.094 to 0.362 keep P above 0.10). Simulated under that model, a total at least as large as Mendel's occurs with probability 0.652, so the result is no longer extreme. Mendel's text gives the model some footing: he reports repeating experiment 5, "which shows the greatest departure", and mentions further experiments whose counts he does not give.

The opposing reading is also in print. [Weeden 2016](https://doi.org/10.1093/jhered/esw058) tests the alternatives from a pea geneticist's standpoint, rejects the idea that peas naturally segregate more tightly than the binomial model predicts, finds evidence that results were omitted but that omission alone cannot explain the low average deviation, and reports being unable to distinguish misclassification of ambiguous phenotypes from deliberate falsification. [Ellis et al. 2019](https://doi.org/10.1186/s41065-019-0111-y) reach the contrary view that the distribution of genotypic classes is what the described experiments would produce. The volume by [Franklin et al. 2008](https://doi.org/10.2307/j.ctv10tq47g) reprints the main papers of the debate; it was not consulted for this report.

The selective-repeat model deserves the same caution as the 3:1 ratio. It is consistent with the pattern of P-values, and that consistency is not proof that Mendel worked this way. Pires and Branco say as much of their own model.

## Verification results

- **Source data.** 58 printed values (counts, totals and ratios) were searched for in the three transcriptions: 52 were found in all three and 6 in two; none was found in fewer than two. The gaps, each confined to one witness, are: Expt 3 printed ratio, 3.15:1 (the MendelWeb text); Expt 4 total, 1181 (the MendelWeb text); Expt 6 total, 858 (the MendelWeb text); plants selected per experiment, 100 (the MendelWeb text); plant 4, 19 10 70 27 (the Internet Archive OCR); plant 8, 22 10 44 9 (the Internet Archive OCR). The MendelWeb text prints 3.16:1, "1l81", "868" and "l00" where the other two have 3.15:1, 1181, 858 and 100; the OCR garbles two rows of the ten-plant table.
- **Mendel's arithmetic.** All 25 internal checks pass: each pair of counts adds to the printed total and each printed ratio is the correctly rounded quotient, including the pooled 2.98:1.
- **Multi-character data.** The two-character, three-character and gametic-ratio tables were keyed from the MendelWeb texts and checked indirectly: the 84 pairs of counts derived from them equal Table 7 of Pires and Branco in every row.
- **Published values.** 34 of 34 checks pass. They cover Fisher's eight group totals, the eight totals and all 84 rows of counts, signed deviations and P-values in [Pires and Branco 2010](https://doi.org/10.1214/10-STS342), their Kolmogorov–Smirnov statistics and fitted threshold, the corrected 377.5:222.5 expectation, and an independent standard-library recomputation of the seven chi-square values.
- **Two differences from published numbers.** A widely linked teaching table (Huskey 1999) prints chi-square values that differ from the exact ones in 4 of 7 rows (for example 0.40 against 0.35 for flower position); the cause is that it rounds expected counts to whole numbers, and its values are reproduced exactly when that is done. The simulated probabilities under the selective-repeat model, here against published, are 0.6520 against 0.6577 at threshold 0.201; 0.9885 against 0.9860 at 0.094; 0.1155 against 0.1176 at 0.362. The largest difference, 0.0057, exceeds the simulation error of about 0.0005; its cause was not identified, and it does not change the conclusion that the total is unremarkable under the model.
- **Repeatability.** Two consecutive full runs of the pipeline produced 34 byte-identical files out of 34 (`results/reproducibility_check.json`).

## Limitations

- Fisher's 1936 paper and Edwards's 1986 paper were not read in full. Fisher's table and quotations are taken from their reproduction in Pires and Branco (2010), and the phrase "once in twenty-nine trials" is attributed to Fisher by [Hartl and Fairbanks 2007](https://doi.org/10.1093/genetics/175.3.975) as reported in a search-result summary; the figure itself is recomputed above.
- The 84 tests are not all independent as organised: the twenty single-plant illustrations are subsets of experiments 1 and 2. Fisher's own grouping has the same feature.
- P-values use the chi-square approximation. Exact binomial P-values for the seven experiments and the Monte Carlo totals agree with it closely.
- Seeds from the same plant are treated as independent observations, as in the published analyses reproduced here.
- Only Mendel's published summary counts are analysed, so nothing here tests how the counts were obtained.

## Reproduction

Run `python run_all.py` in the package root. It rebuilds the curated tables, re-checks them against the raw transcriptions, recomputes every statistic, redraws the figures and rewrites this report. The software versions used are listed in `environment/environment.txt`; the Monte Carlo seed is 1866 with 1,000,000 replicates.

## References

Full entries with DOIs, and the record of how each source was accessed, are in `references/references.md`.
