AGR 101 · Introductory Statistics for Agriculture
Our notes
2 min readUngrouped data: maize yields of 8 plots (t/ha)
2.4, 3.1, 2.8, 3.5, 2.9, 3.1, 2.6, 3.2
Mean x̄ = Σx ÷ n = 23.6 ÷ 8 = 2.95 t/ha.
Median: sort: 2.4, 2.6, 2.8, 2.9, 3.1, 3.1, 3.2, 3.5. With n even, the median is the average of the two middle values (4th and 5th): (2.9 + 3.1) ÷ 2 = 3.0 t/ha. (With n odd, it is the single middle value at position (n + 1) ÷ 2.)
Mode: the most frequent value: 3.1 t/ha (twice).
Grouped data: broiler weights
Using mid-points x and frequencies f (table in "Collation and frequency tables"):
Mean = Σfx ÷ Σf. fx: 4 × 1.2 = 4.8; 10 × 1.7 = 17.0; 18 × 2.2 = 39.6; 12 × 2.7 = 32.4; 6 × 3.2 = 19.2. Σfx = 113.0, so mean = 113.0 ÷ 50 = 2.26 kg.
Median = L + ((n/2 − F) ÷ f) × c, where L is the lower boundary of the median class, F the cumulative frequency before it, f its frequency, c the width.
n/2 = 25; cumulative frequencies 4, 14, 32: the 25th bird is in 2.0-2.4. L = 1.95, F = 14, f = 18, c = 0.5.
Median = 1.95 + (11 ÷ 18) × 0.5 = 1.95 + 0.306 = 2.26 kg (2.256 before rounding).
Mode = L + (d₁ ÷ (d₁ + d₂)) × c, where d₁ = f(modal) − f(before), d₂ = f(modal) − f(after).
d₁ = 18 − 10 = 8; d₂ = 18 − 12 = 6. Mode = 1.95 + (8 ÷ 14) × 0.5 = 1.95 + 0.286 = 2.24 kg.
Mean, median and mode are close: the distribution is nearly symmetrical.
Assumed mean (shortcut)
Choose A near the middle (A = 2.2): mean = A + Σf(x − A) ÷ Σf. Deviations −1.0, −0.5, 0, 0.5, 1.0 give f × d = −4, −5, 0, 6, 6, sum = 3. Mean = 2.2 + 3 ÷ 50 = 2.26 kg. Same answer.
Other means
- Weighted mean: Σwx ÷ Σw, for example an average price weighted by quantity sold.
- Geometric mean: the n-th root of the product; for growth rates (herd growth of 10%, then 20%: average factor √(1.10 × 1.20) = √1.32 = 1.149, so about 14.9% a year, not 15%).
Which to use
| Measure | Strength | Weakness |
|---|---|---|
| Mean | uses every value; basis of later statistics | pulled by extreme values |
| Median | not affected by extremes; good for skewed data (farm incomes, farm sizes) | ignores the size of other values |
| Mode | the "most common"; works for categories (most popular variety) | may not exist or may be more than one |
Exams usually ask: compute the mean, median and mode for ungrouped and grouped data; use an assumed mean; say which measure suits skewed data.
Common mistake: using class limits (2.0) instead of the lower boundary (1.95) in the median and mode formulas.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Introductory Statistics 2e, 2.5 Measures of the Center of the Data
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.5 Measures of the Center of the Data, CC BY-NC-SA 4.0 · licence
-
Average
(opens en.wikipedia.org in a new tab)
Wikipedia, Average, CC BY-SA 4.0 · licence
-
Median
(opens en.wikipedia.org in a new tab)
Wikipedia, Median, CC BY-SA 4.0 · licence
-
Mode (statistics)
(opens en.wikipedia.org in a new tab)
Wikipedia, Mode (statistics), 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 205: Statistics for Management Sciences I
NOUN course book (PDF, about 4.8 MB: best on Wi-Fi). Frequency tables, diagrams, measures of central tendency and dispersion, skewness.
(opens nou.edu.ng in a new tab)
Watch
-
Mean, Median, and Mode of Grouped Data & Frequency Distribution Tables Statistics
15 min · ≈ 68 MB · about ₦38
(opens youtube.com in a new tab)
-
How To Calculate the Median of Grouped Data - Statistics
8 min · ≈ 36 MB · about ₦20
(opens youtube.com in a new tab)
-
Statistics Lecture 3.2: Finding the Center of a Data Set. Mean, Median, Mode
1 h 11 min · ≈ 320 MB · about ₦180
(opens youtube.com in a new tab)
-
How to calculate the Mean, Mode and Median of Grouped Data (Measures of Central Tendency part 2).
39 min · ≈ 176 MB · about ₦99
(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.