UNIHIVE

Study Hub UNIPORT FSB 202

FSB 202 · Genetics I

Probability in genetics and the chi-square test

The product and sum rules, conditional probability, binomial expansion, and testing observed ratios with chi-square.

Our notes

1 min read

Basic rules

  • Product rule (and): probability that two independent events both happen = P(A) × P(B). Two coins both heads = 1/2 × 1/2 = 1/4.
  • Sum rule (or): probability that one of two mutually exclusive events happens = P(A) + P(B). A child from Aa × Aa being AA or aa = 1/4 + 1/4 = 1/2.

Binomial probability

For n independent events, each with probability p (and q = 1 − p), the probability of exactly k of one kind:
P = [n!/(k!(n − k)!)] p^k q^(n−k).

Example 1. A couple plans four children. Probability of exactly two boys = [4!/(2!2!)] (1/2)²(1/2)² = 6 × 1/16 = 3/8.
Check by listing: of 16 equally likely birth orders, 6 have two boys (BBGG, BGBG, BGGB, GBBG, GBGB, GGBB) ✓.

Example 2. Two carriers (AS × AS) have three children. Probability that exactly one has SS = 3 × (1/4)(3/4)² = 3 × 9/64 = 27/64.

Conditional probability

Probability of an event given that another has happened: P(carrier | not affected) = 2/3 for AS × AS (monohybrid topic).

The chi-square (χ²) test

Tests whether observed numbers fit an expected ratio, or whether the difference is too big to be chance.
χ² = Σ (O − E)²/E; degrees of freedom (df) = number of classes − 1.

Worked example. An F₂ gives 290 round and 110 wrinkled seeds (400 total). Expected for 3:1 = 300 and 100.
χ² = (290 − 300)²/300 + (110 − 100)²/100 = 100/300 + 100/100 = 0.333 + 1.000 = 1.333.
df = 1. Critical value at 5% = 3.84. Since 1.333 < 3.84, the difference is not significant: the data fit a 3:1 ratio.

Critical values (5% level)

df1234
χ²3.845.997.829.49

Second example (dihybrid). Observed 315 : 108 : 101 : 32 (total 556). Expected 9:3:3:1 = 312.75 : 104.25 : 104.25 : 34.75.
χ² = 0.016 + 0.135 + 0.101 + 0.218 = 0.47; df = 3; 0.47 < 7.82 → fits 9:3:3:1.

Interpreting

  • "Not significant" means the hypothesis is not rejected, not that it is proved.
  • Use actual numbers, not percentages; expected values should be at least about 5 per class.

Exams usually ask: binomial questions on families; chi-square test of a monohybrid or dihybrid ratio with interpretation.

Common mistake: using df = number of classes. It is classes minus one.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All FSB 202 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.