UNIHIVE

Study Hub UNIPORT MTH 264

MTH 264 · Statistics for Biological and Agricultural Sciences

Estimation and confidence intervals

Point estimates, the t distribution, and intervals for a mean and a proportion.

Our notes

2 min read

Two 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):

df4910152030∞
t2.7762.2622.2282.1312.0862.0421.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

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 MTH 264 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.