UNIHIVE

Study Hub UNIPORT AGR 101

AGR 101 · Introductory Statistics for Agriculture

Quantiles: quartiles, deciles and percentiles

Dividing ordered data into equal parts, finding quartiles from grouped data and an ogive, and the interquartile range.

Our notes

2 min read

Idea

The median splits ordered data into two halves. Quantiles split it further:

  • Quartiles Q₁, Q₂, Q₃: four equal parts (Q₂ is the median).
  • Deciles D₁ ... D₉: ten parts.
  • Percentiles P₁ ... P₉₉: a hundred parts. P₂₅ = Q₁, P₅₀ = median, P₇₅ = Q₃.

Percentiles are used in growth charts (a calf on the 10th percentile for weight is lighter than 90% of calves its age) and in grading.

Ungrouped data

Position of Q₁ ≈ (n + 1) ÷ 4, of Q₃ ≈ 3(n + 1) ÷ 4. (Textbooks differ slightly; follow your lecturer's rule.)
Maize yields sorted: 2.4, 2.6, 2.8, 2.9, 3.1, 3.1, 3.2, 3.5 (n = 8).

  • Q₁ position = 9 ÷ 4 = 2.25: between the 2nd (2.6) and 3rd (2.8): 2.6 + 0.25 × 0.2 = 2.65.
  • Q₃ position = 27 ÷ 4 = 6.75: between the 6th (3.1) and 7th (3.2): 3.1 + 0.75 × 0.1 = 3.175.

Grouped data

Same formula as the median, with the position changed: for Q₁ use n/4, for Q₃ use 3n/4, for the k-th percentile use kn/100.
Q = L + ((position − F) ÷ f) × c
Broiler weights (n = 50, cumulative 4, 14, 32, 44, 50):

  • Q₁: position 12.5, in 1.5-1.9 (cumulative 4 to 14). L = 1.45, F = 4, f = 10. Q₁ = 1.45 + (8.5 ÷ 10) × 0.5 = 1.45 + 0.425 = 1.875 kg.
  • Q₃: position 37.5, in 2.5-2.9 (cumulative 32 to 44). L = 2.45, F = 32, f = 12. Q₃ = 2.45 + (5.5 ÷ 12) × 0.5 = 2.45 + 0.229 = 2.679 kg.
  • P₉₀: position 45, in 3.0-3.4 (cumulative 44 to 50). L = 2.95, F = 44, f = 6. P₉₀ = 2.95 + (1 ÷ 6) × 0.5 = 3.033 kg: the heaviest 10% of birds weigh more than about 3.03 kg.

From the ogive

Draw horizontal lines at cumulative 12.5, 25 and 37.5 to the curve, then down to the weight axis. Graph readings should agree with the formula to about 0.02 kg if drawn carefully.

Spread from quartiles

  • Interquartile range (IQR) = Q₃ − Q₁ = 2.679 − 1.875 = 0.804 kg: the middle half of the birds lie within this range.
  • Semi-interquartile range (quartile deviation) = IQR ÷ 2 = 0.402 kg.
  • Box plot: a box from Q₁ to Q₃ with a line at the median and whiskers to the smallest and largest values. Good for comparing two feeds at a glance.

Exams usually ask: find Q₁, Q₃, a decile or percentile from grouped data and from an ogive; calculate the IQR and quartile deviation; interpret a percentile.

Common mistake: using n/4 positions with the ungrouped formula, or (n + 1)/4 with grouped data. Ungrouped uses (n + 1)/4 (in most Nigerian texts); grouped uses n/4.

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.