Quiz: probability & the χ² test
Short questions on the probability rules and the χ² goodness-of-fit test. Try each one on paper first, then open the answer. Unless stated otherwise, assume complete dominance and genes on different chromosomes.
Q1. Two parents are both Aa. A couple says: “We already have three unaffected children, so our fourth is bound to be affected.” What is the probability that the fourth child is affected (aa)?
Does one child’s genotype change the gametes that form the next child?
¼, exactly as for every other child. Each child comes from an independent egg and sperm, so earlier children have no effect. The 3:1 ratio is a probability for each child, not a quota for a family.
Q2. In AaBbCc × AaBbCc, what is the probability of an offspring with genotype AaBbcc?
Take one gene at a time. What is P(Aa) from Aa × Aa? Then use the product rule.
P(Aa) × P(Bb) × P(cc) = ½ × ½ × ¼ = 1/16. The three genes assort independently, so their probabilities multiply.
Q3. In the same cross AaBbCc × AaBbCc, what is the probability that an offspring shows the dominant phenotype for all three traits?
P(A_) for one gene is the sum of three Punnett cells.
P(A_) = ¼ + ½ = ¾ by the sum rule (AA or Aa). For all three genes: (¾)³ = 27/64 ≈ 0.42 by the product rule.
Q4. Two carriers of cystic fibrosis (Aa × Aa) have an unaffected daughter. What is the probability that she is a carrier? Why is the answer not ½?
Which cell of the Punnett square can you rule out, now that you know she is unaffected?
2/3. Knowing she is unaffected rules out aa. Three equally likely cells are left (AA, Aa, aA), and two of them are carriers. The ½ is the carrier probability before we knew her phenotype. As a formula: P(carrier | unaffected) = (½)/(¾) = 2/3.
Q5. Two Aa parents have 3 children. What is the probability that at least one child is affected?
What is the opposite of “at least one affected”?
1 − P(none affected) = 1 − (¾)³ = 1 − 27/64 = 37/64 ≈ 0.58. Adding ¼ + ¼ + ¼ = ¾ is wrong, because “child 1 affected” and “child 2 affected” can both happen, so these events are not mutually exclusive.
Q6. Same parents, 3 children. What is the probability that exactly one is affected?
How many birth orders have exactly one affected child? What is the probability of each order?
There are 3 orders (the affected child is first, second or third), so (3 choose 1) = 3. Each order has probability ¼ × ¾ × ¾ = 9/64. Total: 3 × 9/64 = 27/64 ≈ 0.42. In R: dbinom(1, size = 3, prob = 1/4).
Q7. A student tests 9:3:3:1 on four phenotype classes. How many degrees of freedom does the test have, and what is the 5% critical value?
For a goodness-of-fit test with a ratio given in advance, df = number of classes − 1.
df = 4 − 1 = 3, and the 5% critical value is 7.81. (For df = 1, 2 and 4 it is 3.84, 5.99 and 9.49.)
Q8. A test cross gives 62 Aa and 38 aa offspring. Test H0: 1:1 by hand. Do you reject H0 at the 5% level?
E = 50 in each class. Compute (O − E)²/E for each class and add.
χ² = (62 − 50)²/50 + (38 − 50)²/50 = 144/50 + 144/50 = 5.76, with df = 1. This is larger than 3.84, so p < 0.05 (exactly, p = 0.016) and we reject 1:1. The excess of Aa is larger than chance usually gives. One possible biological reason is that aa individuals survive less well.
Q9. A student reports “70% purple, 30% white” and computes χ² = (70 − 75)²/75 + (30 − 25)²/25 = 1.33 against 3:1. What is wrong with this?
What does χ² depend on besides the proportions?
χ² must be computed from counts, not percentages. Using percentages silently sets N = 100. With 1000 plants in the same proportions (700:300), χ² = 13.3, a clear rejection. With 10 plants (7:3), χ² = 0.13. The same proportions are stronger evidence when there is more data.
Q10. A χ² test gives p = 0.40. Which of these statements are correct? (a) The probability that H0 is true is 0.40. (b) If H0 were true, a χ² at least this large would occur in about 40% of experiments. (c) The data prove the hypothesised ratio. (d) We fail to reject H0.
A p-value is computed assuming H0 is true.
(b) and (d) are correct. (a) is the most common misreading: a p-value is a probability about the data given H0, not about H0 itself. (c) is wrong: “fail to reject” means the data are consistent with H0, and other ratios may fit as well.
Q11. In a cross with 12 offspring, a student tests 9:3:3:1 and R prints “Chi-squared approximation may be incorrect”. Why?
Compute the expected count of the rarest class.
The smallest expected count is 12 × 1/16 = 0.75, and even the 3/16 classes expect only 2.25. The χ² curve is a good approximation only when every expected count is about 5 or more. Collect more offspring, pool classes, or estimate the p-value by simulation (chisq.test(..., simulate.p.value = TRUE)).
Q12. Fisher found that over many of Mendel’s experiments, the total χ² was much smaller than its degrees of freedom. Why is a fit that is too good suspicious?
If H0 is true, what is the average value of χ²? How often should p be above 0.9?
If H0 is true and sampling is honest, χ² averages about df, and p-values are spread evenly between 0 and 1: only about 10% of experiments should have p > 0.9. Mendel’s results sit near χ² = 0 again and again, which chance rarely produces. For his seven monohybrid experiments the total is 2.14 on 7 df, and P(χ² ≤ 2.14) ≈ 0.05. This suggests the data were filtered or classified with the expected ratio in mind, though not necessarily deliberately.