UNIHIVE

Study Hub UNIPORT AGR 302

AGR 302 · Agricultural Research and Report Writing

Review of basic statistics: location and dispersion

Mean, median and mode for raw and grouped data, range, variance, standard deviation, standard error and coefficient of variation.

Our notes

1 min read

Measures of location (central tendency)

  • Mean x̄ = Σx ÷ n; for grouped data x̄ = Σfx ÷ Σf.
  • Median: the middle value; grouped: Median = L + [(n/2 − F) ÷ f] × c (L lower boundary of the median class, F cumulative frequency before it, f its frequency, c class width).
  • Mode: the most frequent value; grouped: Mode = L + [d₁ ÷ (d₁ + d₂)] × c (d₁ = f − frequency of the class before, d₂ = f − frequency of the class after).

Worked example 1 (the maize table from the last topic)

  • Mean = 136.0 ÷ 40 = 3.40 t/ha.
  • Median: n/2 = 20; cumulative 14 before the 3.0-3.9 class (f = 14, L = 2.95, c = 1): 2.95 + (20 − 14) ÷ 14 × 1 = 2.95 + 0.43 = 3.38 t/ha.
  • Mode: modal class 3.0-3.9, d₁ = 14 − 10 = 4, d₂ = 14 − 8 = 6: 2.95 + 4 ÷ 10 × 1 = 3.35 t/ha.

Check: mean, median and mode are close, as expected for a nearly symmetrical distribution ✓.

Measures of dispersion (spread)

  • Range = largest − smallest.
  • Variance s² = Σ(x − x̄)² ÷ (n − 1) for a sample.
  • Standard deviation s = √s².
  • Standard error of the mean SE = s ÷ √n (how precise the mean is).
  • Coefficient of variation CV = s ÷ x̄ × 100: compares spread between variables with different units; in field trials, a CV under about 20% is usually taken as acceptable precision.

Worked example 2

Egg weights (g): 55, 58, 60, 62, 65. Mean = 300 ÷ 5 = 60 g. Deviations: −5, −2, 0, 2, 5; squares: 25, 4, 0, 4, 25 → Σ = 58.
s² = 58 ÷ 4 = 14.5; s = √14.5 ≈ 3.81 g; SE = 3.81 ÷ √5 ≈ 1.70 g; CV = 3.81 ÷ 60 × 100 ≈ 6.3%. Range = 65 − 55 = 10 g.
Check with the shortcut Σx² − (Σx)² ÷ n: Σx² = 3,025 + 3,364 + 3,600 + 3,844 + 4,225 = 18,058; 300² ÷ 5 = 18,000; difference 58 ✓.

When to use which

Mean for symmetrical data; median when there are extreme values (farm incomes, farm sizes); mode for categories (most common crop).

Exams usually ask: calculate mean, median and mode for raw and grouped data; calculate variance, SD, SE and CV; explain when to use each measure.

Common mistake: dividing by n instead of n − 1 for a sample variance (or mixing the two in one report). State which you use; most packages use n − 1.

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 AGR 302 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.