UNIHIVE

Study Hub UNIPORT AGR 101

AGR 101 · Introductory Statistics for Agriculture

Measures of dispersion: range, variance and standard deviation

How spread out data are: range, mean deviation, variance and standard deviation for ungrouped and grouped data.

Our notes

1 min read

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

xx − x̄(x − x̄)²
2.4−0.550.3025
3.10.150.0225
2.8−0.150.0225
3.50.550.3025
2.9−0.050.0025
3.10.150.0225
2.6−0.350.1225
3.20.250.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

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 101 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.