MTH 264 · Statistics for Biological and Agricultural Sciences
Our notes
2 min readBasics
Probability runs from 0 (impossible) to 1 (certain).
P(A) = favourable outcomes ÷ total equally likely outcomes.
Or long-run frequency: if 90 of 100 tested seeds germinate, P(germinate) ≈ 0.9.
Sum to 1
P(not A) = 1 − P(A). If P(germinate) = 0.9, P(not) = 0.1.
Addition law
P(A or B) = P(A) + P(B) − P(A and B).
If A and B are mutually exclusive (cannot both happen), P(A and B) = 0.
Example. In a herd, 30% of cattle have ticks, 20% have worms, and 10% have both.
P(ticks or worms) = 0.3 + 0.2 − 0.1 = 0.4.
Multiplication law
P(A and B) = P(A) × P(B|A).
If independent, P(A and B) = P(A) × P(B).
Example. Two seeds, each germinating with P = 0.9, independently:
- Both: 0.9 × 0.9 = 0.81
- Neither: 0.1 × 0.1 = 0.01
- Exactly one: 2 × 0.9 × 0.1 = 0.18
Check: 0.81 + 0.01 + 0.18 = 1. Correct.
Conditional probability
P(B|A) = P(A and B) ÷ P(A).
With the herd example, P(worms | ticks) = 0.1/0.3 = 0.33.
P(worms) is only 0.2, so the two are not independent: ticks and worms go together in this herd.
Genetics: a Mendelian cross
Crossing two carriers, Aa × Aa:
| A | a | |
|---|---|---|
| A | AA | Aa |
| a | Aa | aa |
- P(aa) = (1/2)(1/2) = 1/4
- P(shows dominant) = 3/4
For two independent genes, the chance of showing both recessive forms is (1/4)(1/4) = 1/16. That is the 9:3:3:1 ratio.
Bayes' theorem
Used to turn test results into real probabilities.
P(A|B) = P(B|A)P(A) ÷ P(B).
Example. A disease affects 2% of a flock. A test finds it 95% of the time, and gives a false positive in 10% of healthy birds. A bird tests positive. How likely is it to be sick?
- P(positive and sick) = 0.02 × 0.95 = 0.019
- P(positive and healthy) = 0.98 × 0.10 = 0.098
- P(sick | positive) = 0.019/(0.019 + 0.098) = 0.162
Out of 1,000 birds: 20 are sick, with 19 positive; 980 are healthy, with 98 positive. Among the 117 positives, 19 are truly sick: 19/117 = 0.162. Correct.
This surprises many students. With a rare disease, even a good test gives many false alarms.
Counting
- Permutations: ⁿPᵣ = n!/(n − r)!
- Combinations: ⁿCᵣ = n!/[r!(n − r)!]
Choosing 3 goats from 10: ¹⁰C₃ = 120.
Exams usually ask: apply the addition and multiplication laws; use a tree diagram; solve a Mendelian problem; apply Bayes' theorem.
Common mistake: adding probabilities for "and", or multiplying events that are not independent. Decide first whether the word is "and" or "or", then whether the events are independent.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Introductory Statistics 2e, 3.3 Two Basic Rules of Probability
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 3.3 Two Basic Rules of Probability, CC BY-NC-SA 4.0 · licence
-
Probability
(opens en.wikipedia.org in a new tab)
Wikipedia, Probability, CC BY-SA 4.0 · licence
-
Conditional probability
(opens en.wikipedia.org in a new tab)
Wikipedia, Conditional probability, CC BY-SA 4.0 · licence
-
OpenStax, Introductory Statistics 2e (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, Introductory Statistics 2e (whole free textbook), CC BY-NC-SA 4.0 · licence
-
NOUN STT 211: Probability Distribution I
NOUN course book (PDF, about 1.4 MB). Probability and distributions.
(opens nou.edu.ng in a new tab)
Watch
-
Math Antics - Basic Probability
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Probability in Genetics: Multiplication and Addition Rules
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Addition rule for probability | Probability and Statistics | Khan Academy
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Statistics Lecture 4.3: The Addition Rule for Probability
1 h 10 min · ≈ 315 MB · about ₦177
(opens youtube.com in a new tab)
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.