AGR 101 · Introductory Statistics for Agriculture
Our notes
1 min readWhy spread matters
Two maize varieties can have the same mean yield, but one gives steady yields while the other swings from very good to very poor. Farmers prefer the steady one. The mean alone hides this.
Range
Largest − smallest. Maize: 3.5 − 2.4 = 1.1 t/ha. Quick, but uses only two values and is upset by one odd plot.
Mean (absolute) deviation
MD = Σ|x − x̄| ÷ n. Maize deviations from 2.95: 0.55, 0.15, 0.15, 0.55, 0.05, 0.15, 0.35, 0.25 (sizes only); sum = 2.2; MD = 2.2 ÷ 8 = 0.275 t/ha.
Variance and standard deviation (ungrouped)
Sample variance s² = Σ(x − x̄)² ÷ (n − 1); standard deviation s = √s².
Worked example (maize, x̄ = 2.95):
| x | x − x̄ | (x − x̄)² |
|---|---|---|
| 2.4 | −0.55 | 0.3025 |
| 3.1 | 0.15 | 0.0225 |
| 2.8 | −0.15 | 0.0225 |
| 3.5 | 0.55 | 0.3025 |
| 2.9 | −0.05 | 0.0025 |
| 3.1 | 0.15 | 0.0225 |
| 2.6 | −0.35 | 0.1225 |
| 3.2 | 0.25 | 0.0625 |
Sum of squares SS = 0.86. s² = 0.86 ÷ 7 = 0.1229; s = √0.1229 = 0.351 t/ha.
Shortcut check: SS = Σx² − (Σx)² ÷ n. Σx² = 70.48; (Σx)² ÷ n = 23.6² ÷ 8 = 556.96 ÷ 8 = 69.62. SS = 70.48 − 69.62 = 0.86. Agrees.
Why n − 1?
The deviations are measured from x̄, which was itself worked out from the same data, so only n − 1 deviations are free (they must add to zero). Dividing by n − 1 (the degrees of freedom) gives an unbiased estimate of the population variance. For a whole population, divide by N.
Grouped data (broilers)
s² = (Σfx² − (Σfx)² ÷ n) ÷ (n − 1).
fx²: 4 × 1.44 = 5.76; 10 × 2.89 = 28.90; 18 × 4.84 = 87.12; 12 × 7.29 = 87.48; 6 × 10.24 = 61.44. Σfx² = 270.70.
(Σfx)² ÷ n = 113² ÷ 50 = 12,769 ÷ 50 = 255.38.
s² = (270.70 − 255.38) ÷ 49 = 15.32 ÷ 49 = 0.3127; s = 0.559 kg.
Reading the standard deviation
For roughly bell-shaped data, about 68% of values lie within one s of the mean, and about 95% within two. Broilers: 2.26 ± 2 × 0.559, roughly 1.14 to 3.38 kg: almost all the flock.
Properties
- Adding a constant to every value leaves s unchanged; multiplying every value by c multiplies s by c.
- s has the same unit as the data; s² is in squared units.
Exams usually ask: compute the range, mean deviation, variance and standard deviation for ungrouped and grouped data; explain why n − 1 is used; compare the spread of two sets.
Common mistake: forgetting to take the square root (reporting the variance as the standard deviation), or using (Σx)² where Σx² is needed.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Introductory Statistics 2e, 2.7 Measures of the Spread of the Data
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.7 Measures of the Spread of the Data, CC BY-NC-SA 4.0 · licence
-
Standard deviation
(opens en.wikipedia.org in a new tab)
Wikipedia, Standard deviation, CC BY-SA 4.0 · licence
-
Variance
(opens en.wikipedia.org in a new tab)
Wikipedia, Variance, 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
-
Measures of Spread: Crash Course Statistics #4
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Standard Deviation Formula, Statistics, Variance, Sample and Population Mean
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
How To Calculate The Standard Deviation of Grouped Data
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Calculating the Mean, Variance and Standard Deviation, Clearly Explained!!!
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Statistics Lecture 3.3: Finding the Standard Deviation of a Data Set
1 h 56 min · ≈ 522 MB · about ₦293
(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.