Skip to content

BBO Chi-Square Questions: Expected Counts, Degrees of Freedom and the Pooling Trap

BBO chi-square questions reward a calm diagnosis before any arithmetic. In a British Biology Olympiad context, the marks can be lost before the formula: a student may choose the wrong test, build expected counts from the wrong total, set the wrong degrees of freedom, or turn a non-significant result into proof that a biological model is true. The short answer is to slow down before calculating: decide whether the question asks for goodness of fit or association, identify the total and category structure, set degrees of freedom from the design, and phrase the conclusion as compatibility with a model rather than proof of it. This preparation guide is independent and is not official BBO scoring guidance. The worked examples below are teaching illustrations, not actual contest problems.

What a BBO chi-square question is really testing

A chi-square question is a data-interpretation question disguised as arithmetic. The observed counts are given, but the expected counts are a claim about a biological model: a Mendelian ratio, an equal sex ratio, an expected distribution across phenotypes, or an independence model in a contingency table. The calculation only makes sense after you can state the null model in words. For a goodness-of-fit question, the null model says that the observed categories follow a specified set of proportions. For an association question, the null model says that the row variable and the column variable are independent in the population represented by the table.

That distinction changes how expected counts are built. In a goodness-of-fit test, expected counts come from the stated total multiplied by the model proportions. In an association test, expected counts come from row totals, column totals and the grand total, calculated as row total times column total divided by grand total. If you use the wrong total, every expected count is wrong, and the chi-square statistic is meaningless even if the arithmetic is clean. Before touching the formula, write one sentence: the total is this, the categories are these, and the model predicts these proportions or this independence structure.

First diagnosis: goodness of fit or association?

Read the question stem for the structure of the data. A single list of categories with one total can indicate a goodness-of-fit design. A table with two categorical variables can indicate an association design. The wording may not use the phrase goodness of fit, so look for a biological model that supplies proportions. If the question says that a cross is expected to give a 9:3:3:1 ratio, the model is supplying proportions. If the question gives two variables such as wing type and body colour, and asks whether they are related, the model is independence.

Question shape Null model Expected counts Degrees of freedom
One categorical variable compared with a model Observed categories follow stated proportions Total times each model proportion Number of categories minus 1, minus any estimated parameters
Two categorical variables in a table The two variables are independent Row total times column total divided by grand total (Rows minus 1) times (Columns minus 1)

If the question is really about whether a control was fair, do not force a chi-square. Use the separate BBO Experimental Controls: Separating a Fair Comparison From a Convincing Story diagnostic first, then return to the count table only if the design supports a significance test.

Chi-square decision path

Worked teaching illustration: a 9:3:3:1 count table

Teaching illustration, not an official BBO question and not scoring guidance. Suppose a dihybrid cross is expected to produce four phenotypes in the ratio 9:3:3:1. A sample gives a total of 160 offspring, with observed counts 84, 36, 28 and 12. The expected counts must use the stated total of 160, not the number of categories and not the largest observed count. The expected counts are 160 times 9/16, 3/16, 3/16 and 1/16, which give 90, 30, 30 and 10.

Phenotype category Observed O Expected E Contribution (O minus E) squared divided by E
Category 1 84 90 36/90 = 0.400
Category 2 36 30 36/30 = 1.200
Category 3 28 30 4/30 = 0.133
Category 4 12 10 4/10 = 0.400

The chi-square total is about 2.13. There are four categories, and the proportions are fully specified by the 9:3:3:1 model, so degrees of freedom are 4 minus 1, which is 3. At the 5 percent level, the critical value for df = 3 is about 7.815. Since 2.13 is below 7.815, the data do not provide evidence against the 9:3:3:1 model at that level. The correct conclusion is compatibility, not proof. A different sample could give a larger statistic, and a non-significant result does not show that the underlying genetic model is true.

Degrees of freedom: count independent pieces, not students

Degrees of freedom are not based on the number of offspring, the number of observations, or the number of rows in the raw data file. For a goodness-of-fit test with k categories and no parameter estimated from the same data, df = k minus 1. For the four-category 9:3:3:1 illustration, df = 3. For an association table with r rows and c columns, df = (r minus 1)(c minus 1). A 2 by 3 table therefore has df = 2, not 6 and not 5.

Estimated parameters change the calculation. If a question gives three genotype categories and asks whether they fit Hardy-Weinberg equilibrium, but the allele frequency is estimated from the same data, one parameter has been estimated, so df = 3 minus 1 minus 1 = 1. If the allele frequency is supplied externally by the question, no parameter is estimated from the data, and df = 2. The logic is that each estimated parameter uses up one independent piece of information. In a competition answer, show the df rule you are using rather than writing a number with no justification.

The pooling trap: when the table changes, the test changes

Teaching illustration, not an official BBO question. A decision that can arise is whether to combine categories when expected counts are small. Pooling is not a cosmetic step. If you pool adjacent categories, you change the observed counts, the expected counts, the chi-square total and the degrees of freedom. A conclusion written for the original four categories may no longer match the revised table.

Suppose four categories have expected counts 18, 6, 6 and 2 for a total of 32, with observed counts 16, 8, 5 and 3. The original contributions are about 0.222, 0.667, 0.167 and 0.500, giving a chi-square total of about 1.56 with df = 3. The last expected count is only 2, so a student may decide to pool the last two categories. The revised categories are A, B and C plus D. Their observed counts are 16, 8 and 8; their expected counts are 18, 6 and 8. The new contributions are about 0.222, 0.667 and 0, giving a chi-square total of about 0.89 with df = 2.

Both the statistic and the df have changed. That does not mean pooling is always right or always wrong. It means the revised table must be shown, the revised expected counts must be recomputed, the revised df must be stated, and the conclusion must refer to the pooled categories. In a BBO-style question, follow any pooling instruction in the stem. If no instruction is given, explain the decision rather than silently changing the table.

Reading the result without overclaiming

A chi-square result compares the observed counts with what the null model predicts, allowing for sampling variation. A statistic above the critical value means the observed counts are unusual under the null model at the chosen significance level. A statistic below the critical value means the data are compatible with the null model at that level. It does not mean the null model has been proved, and it does not mean every biological assumption behind the model has been checked.

Write the conclusion with three qualifiers: the model being tested, the significance level, and the scope of the sample. For the 9:3:3:1 illustration, a defensible sentence is: at the 5 percent level, the observed counts are compatible with the 9:3:3:1 model in this sample of 160 offspring. A stronger and incorrect sentence is: the data prove that the genes assort independently. The test does not prove the mechanism. It only asks whether the count pattern is compatible with the model. The same caution applies to association tables: failure to reject independence is not proof that the variables are biologically unrelated.

A defensible written conclusion in four sentences

First, name the test and the null model. Second, report the total, the expected counts and the degrees of freedom. Third, give the chi-square statistic and compare it with the critical value or state the relevant probability carefully. Fourth, write the biological conclusion with a qualifier and a limitation. For example: a goodness-of-fit test was used with a null model of a 9:3:3:1 ratio. The total was 160, expected counts were 90, 30, 30 and 10, and df = 3. The chi-square statistic was about 2.13, below the 5 percent critical value of about 7.815. The counts are compatible with the model in this sample, but the result does not prove the underlying mechanism and may not generalise beyond the sampled population.

This four-sentence structure prevents two errors: reporting a statistic with no model, and reporting a conclusion with no scope. It also makes the pooling decision visible. If categories were combined, the same four sentences should use the revised counts, revised expected counts and revised df.

A practical checklist and how to prepare for help

Before calculating, run this checklist. Identify whether the question is goodness of fit or association. Write the null model in words. State the total and the category structure. Build every expected count from that total or from the row and column totals. Set df from the design, then subtract for any estimated parameter. Check whether pooling is required or instructed, and if so rebuild the table and df. Calculate the statistic. Write the conclusion with the model, significance level, sample scope and limitation. Finally, ask whether a significance test was appropriate at all, or whether the real issue was a confounded design or an unfair control.

A useful way to revise is to apply this checklist to one past-paper data set, then review the errors topic by topic. The BBO Biology Revision: Connect Molecular Mechanisms With Whole-Organism Effects method helps connect the statistical conclusion back to the underlying mechanism, so the answer does not become a formula detached from biology. If answers alone are not enough, review the data set against the original question wording and your own expected-count table before looking at a worked solution.

Before any discussion with a teacher about preparation, prepare three things: one chi-square question you attempted, your expected-count table, and a short note on where your conclusion became uncertain. That preparation makes the conversation specific. It does not promise a score, an award or an admission outcome, and it should not replace checking the current competition arrangements with the organisers. The aim is narrower and more useful: to make every chi-square answer show its model, its counting logic, its degrees of freedom and the limit of its biological claim. For broader support choice, see the existing BBO Tutoring: Choose the Right Biology Support for Your 2027 Preparation guidance.

General event background is available at Event background.

This is an independent preparation guide, not affiliated with, endorsed by, or sponsored by UK Biology Competitions.

Pooling changes the test

Frequently Asked Questions

Do I always use n minus 1 degrees of freedom for a BBO chi-square question?

No. For a goodness-of-fit test with k categories and no estimated parameter, df = k minus 1. For an association table with r rows and c columns, df = (r minus 1)(c minus 1). If parameters are estimated from the same data, subtract one degree of freedom for each estimated parameter.

What should I do if an expected count is below 5?

Do not silently pool categories. Follow any instruction in the question. If pooling is required or justified, combine adjacent categories, recompute expected counts, recompute the chi-square total and state the new degrees of freedom. If you do not pool, note the limitation in your conclusion.

Does a non-significant chi-square result prove the biological model?

No. It means the observed counts are compatible with the null model at the chosen significance level. It does not prove the model is true, does not validate every biological assumption, and does not generalise automatically beyond the sampled population.