Chalk−1

Math · Introductory statistics · Worked example

Test a 3:1 genetic ratio

A monohybrid cross is expected to give tall and short plants in a 3:1 ratio. Of 200 offspring, 140 are tall and 60 short. Test the 3:1 model at α=0.05.

State the hypotheses

H0 says the cross gives tall and short plants in a 3:1 ratio, shares 0.75 and 0.25. Ha says the shares differ. The level is α=0.05.

Find the expected tall count

Unlike the die, the categories are not equally likely. Three quarters of the 200 plants are expected to be tall.

200⋅0.75=150

Find the expected short count

One quarter are expected to be short. Both expected counts are well above 5.

200⋅0.25=50

Score the tall plants

The tall count misses by 10, and 102 is divided by the tall plants’ expected count.

(140−150)2150≈0.667

Score the short plants

The short count also misses by 10, but against a smaller expected count, so it contributes three times as much.

(60−50)250=2

Add the contributions

The two contributions make χ2.

0.667+2≈2.67

Find the p-value

Two categories give 2−1=1 degree of freedom, and the area to the right of 2.67 is about 0.10. The table’s critical value for 1 degree of freedom is 3.841, and 2.67 is below it.

Decide

0.10>0.05, so fail to reject H0. The counts are consistent with a 3:1 ratio. The test assumes the offspring are independent and the cross is as described.

Result

χ2≈2.67 with 1 degree of freedom and p≈0.10, so the counts are consistent with a 3:1 ratio.

Your turn

1. One like the example

A cross expected to give purple and white flowers in a 3:1 ratio gives 210 purple and 90 white among 300 plants. Test the 3:1 model at α=0.05.

Show the answer and explanation

χ2=4 with 1 degree of freedom and p≈0.046, so reject the 3:1 model at the 5⁢% level. The data give convincing evidence that the ratio is not 3:1.

The expected counts are 300×0.75=225 and 300×0.25=75. The contributions are 152/225=1 and 152/75=3, so χ2=4, just above the critical value 3.841. Both counts miss by 15, but the white plants contribute three times as much.

210,90300⋅0.75=225300⋅0.25=75(210−225)2225=1(90−75)275=31+3=4

2. A variation

A dihybrid cross gives 90, 30, 32 and 8 offspring in four classes, against a 9:3:3:1 expectation of 90, 30, 30 and 10 out of 160. Find χ2 and decide at α=0.05.

Show the answer and explanation

χ2≈0.53 with 3 degrees of freedom and p≈0.91, an excellent fit.

Only the last two classes miss, each by 2. Their contributions are 4⁢/30≈0.133 and 4⁢/10=0.4, about 0.53 in all, far below 7.815. Four classes give 3 degrees of freedom.

160⋅916=90160⋅116=102230+2210≈0.53

3. Somewhere new

A seed company says its wildflower mix is 45⁢% poppy, 40⁢% daisy, 11⁢% cornflower and 4⁢% lupine. Of 40 seedlings, 15 are poppies, 17 daisies, 5 cornflowers and 3 lupines. Run a goodness-of-fit test at α=0.05.

Show the answer and explanation

Combine cornflower and lupine first. Then χ2≈1.23 with 2 degrees of freedom and p≈0.54, so the counts are consistent with the claim.

The expected counts are 18, 16, 4.4 and 1.6. The last two are below 5, so combine them into one category expected to hold 6, with 5+3=8 observed. χ2=9⁢/18+1⁢/16+4⁢/6 ≈1.23. Three categories leave 2 degrees of freedom.

40⋅0.11=4.440⋅0.04=1.64.4+1.6=6(15−18)218=0.5(17−16)216=0.0625(8−6)26≈0.6670.5+0.0625+0.667≈1.23

Keep exploring

In Statistics, Distributions shows P⁢(X≥2.66667)≈0.1025 with 1 degree of freedom. At 130 tall and 70 short, χ2 would be 10.67 and p about 0.001.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Find the p-value in Statistics Check χ2 in Math Study the 6 key terms Open worked example on a board Statistics formulas in Math Reference

Your existing work stays on this device. Examples open as editable copies.