UNIHIVE

Study Hub UNIPORT MTH 264

MTH 264 · Statistics for Biological and Agricultural Sciences

Measures of centre and spread

Mean, median, mode, variance, standard deviation and coefficient of variation.

Our notes

2 min read

Measures of centre

Mean: x̄ = Σx/n.

Median: the middle value when sorted. Mode: the most frequent value.

Example: egg counts from 7 hens in a week: 4, 5, 5, 6, 6, 6, 10.

  • Mean = 42/7 = 6
  • Median = 6
  • Mode = 6

Change the 10 to 31, and the mean jumps to 9, while the median stays 6. The median resists outliers, so it suits skewed data.

Grouped data

x̄ ≈ Σfx/Σf, using class midpoints.

For the fingerling table, midpoints 11.5, 13.5, 15.5, 17.5, 19.5 and f = 3, 6, 7, 3, 1:

Σfx = 34.5 + 81 + 108.5 + 52.5 + 19.5 = 296, and x̄ = 296/20 = 14.8 g.

Measures of spread

Range: the largest minus the smallest.

Variance of a sample:

s² = Σ(x − x̄)² ÷ (n − 1)

Short form: s² = [Σx² − (Σx)²/n] ÷ (n − 1)

Standard deviation: s = √s².

We divide by n − 1 rather than n, since x̄ was already taken from the same data. These n − 1 are the degrees of freedom.

Worked example

Yields (t/ha) from 5 plots: 2, 4, 4, 5, 5.

  • x̄ = 20/5 = 4
  • Deviations: −2, 0, 0, 1, 1
  • Squares: 4, 0, 0, 1, 1; sum = 6
  • s² = 6/4 = 1.5
  • s = 1.22 t/ha

Check by short form: Σx² = 4 + 16 + 16 + 25 + 25 = 86; (Σx)²/n = 400/5 = 80. (86 − 80)/4 = 1.5. Correct.

Coefficient of variation

CV = (s/x̄) × 100%. It lets you compare spread where the means or units differ.

Here, CV = (1.22/4) × 100 = 30.5%.

In field trials, a low CV points to well-run plots. Ranges for what counts as "low" vary with crop and trait, so ask your department.

Standard error of the mean

SE = s/√n. This gives the spread of the mean across samples, rather than the spread of individual values.

Here, SE = 1.22/√5 = 0.55.

Reports often give mean ± SE, for example 4.0 ± 0.55. Say which you are reporting: SD or SE.

Quartiles

  • Q1: 25% below
  • Q2: median
  • Q3: 75% below
  • Interquartile range = Q3 − Q1

A box plot shows the median, the quartiles and the extremes. It is good for comparing treatments side by side.

Effects of coding

Adding a constant to all data shifts the mean and leaves s unchanged. Multiplying by c multiplies both the mean and s by c.

Example: changing kg to g multiplies each by 1,000.

Exams usually ask: compute the mean, variance and SD, with grouped data too; compare two groups by CV; explain the difference between SD and SE.

Common mistake: finding Σx² and (Σx)² and treating them as the same. Σx² squares each value first; (Σx)² adds first, then squares.

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.