AGR 101 · Introductory Statistics for Agriculture
Our notes
2 min readIdea
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
-
Best pick Introductory Statistics 2e, 2.3 Measures of the Location of the Data
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.3 Measures of the Location of the Data, CC BY-NC-SA 4.0 · licence
-
Introductory Statistics 2e, 2.4 Box Plots
(opens openstax.org in a new tab)
OpenStax, Introductory Statistics 2e, 2.4 Box Plots, CC BY-NC-SA 4.0 · licence
-
Quantile
(opens en.wikipedia.org in a new tab)
Wikipedia, Quantile, CC BY-SA 4.0 · licence
-
Quartile
(opens en.wikipedia.org in a new tab)
Wikipedia, Quartile, CC BY-SA 4.0 · licence
-
Percentile
(opens en.wikipedia.org in a new tab)
Wikipedia, Percentile, CC BY-SA 4.0 · licence
Watch
-
How To Find The Interquartile Range & any Outliers - Descriptive Statistics
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Statistics Lecture 3.4: Finding Z-Score, Percentiles and Quartiles, and Comparing Standard Deviation
1 h 32 min · ≈ 414 MB · about ₦232
(opens youtube.com in a new tab)
-
How to Calculate Percentiles, Deciles and Quartiles for grouped data (Measures of Position) pt 3
57 min · ≈ 257 MB · about ₦144
(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.