MTH 264 · Statistics for Biological and Agricultural Sciences
Our notes
2 min readTwo kinds of estimate
- Point estimate: a single value, such as x̄ = 4.2 t/ha.
- Interval estimate: a range likely to contain the true value.
Interval with σ known
x̄ ± z × σ/√n. For 95%, z = 1.96.
Example: n = 36 goats, x̄ = 25 kg, σ = 3 kg.
25 ± 1.96(3/6) = 25 ± 0.98 → (24.02, 25.98) kg.
The t distribution
Usually σ is unknown, so we use s. For small samples, the t distribution then replaces z. It looks like the normal, with fatter tails, and approaches it as n grows.
x̄ ± t × s/√n, with n − 1 degrees of freedom (df).
Values for a 95% interval (two-tailed, 0.05):
| df | 4 | 9 | 10 | 15 | 20 | 30 | ∞ |
|---|---|---|---|---|---|---|---|
| t | 2.776 | 2.262 | 2.228 | 2.131 | 2.086 | 2.042 | 1.960 |
Worked example
Yields from 5 plots: x̄ = 4, s = 1.22 t/ha.
SE = 1.22/√5 = 0.546; t = 2.776 (df 4).
4 ± 2.776(0.546) = 4 ± 1.52 → (2.48, 5.52) t/ha.
What 95% means
If we repeated the sampling many times, about 95% of the intervals calculated this way would contain the true mean. It does not mean there's a 95% chance that μ lies in this one interval, in the usual reading: μ is fixed, while the interval varies.
Width
The interval narrows if:
- n is larger (the effect goes with √n)
- s is smaller (better control)
- confidence is lower
To halve the width, you need four times the sample.
Interval for a proportion
p̂ ± z × √[p̂(1 − p̂)/n]
Example: 160 out of 200 seeds germinate; p̂ = 0.8.
SE = √(0.8 × 0.2/200) = √0.0008 = 0.0283.
0.8 ± 1.96(0.0283) = 0.8 ± 0.055 → (0.745, 0.855).
Choosing a sample size
For a mean within ±E: n = (zσ/E)².
Example: with σ = 3 kg, and a goal of ±1 kg at 95%:
n = (1.96 × 3/1)² = 34.6, so use 35 goats. Always round up.
Check: with n = 35, E = 1.96 × 3/√35 = 0.994, which is within 1. Correct.
Difference of two means
Using pooled variance (equal variances assumed):
s²ₚ = [(n₁ − 1)s₁² + (n₂ − 1)s₂²] ÷ (n₁ + n₂ − 2)
(x̄₁ − x̄₂) ± t × sₚ√(1/n₁ + 1/n₂)
Example: fertilised plots: n = 6, x̄ = 5, s² = 0.5. Control plots: n = 6, x̄ = 4, s² = 0.7.
s²ₚ = 0.6; sₚ = 0.775. SE = 0.775 × √(2/6) = 0.447. With df = 10, t = 2.228.
1 ± 2.228(0.447) = 1 ± 1.00 → (0.00, 2.00) t/ha.
The interval touches zero, so we can't be confident that the fertiliser gives any gain with this small a trial.
Exams usually ask: find a 95% interval for a mean or proportion, using t for a small sample; explain what the interval means; compute a needed sample size.
Common mistake: using s rather than s/√n in the interval. The interval is for the mean, so it uses the standard error.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Introductory Statistics 2e, 8.2 A Single Population Mean using the Student t Distribution
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 8.2 A Single Population Mean using the Student t Distribution, CC BY-NC-SA 4.0 · licence
-
Confidence interval
(opens en.wikipedia.org in a new tab)
Wikipedia, Confidence interval, CC BY-SA 4.0 · licence
-
Point estimation
(opens en.wikipedia.org in a new tab)
Wikipedia, Point estimation, 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 206: Statistics for Management Sciences II
NOUN course book (PDF, about 3.2 MB). Estimation, tests and regression.
(opens nou.edu.ng in a new tab)
Watch
-
Confidence Intervals: Crash Course Statistics #20
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Confidence Intervals - Introduction
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
-
Confidence intervals and margin of error | AP Statistics | Khan Academy
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Statistics Lecture 7.2: Finding Confidence Intervals for the Population Proportion
2 h 24 min · ≈ 648 MB · about ₦364
(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.