For 96 rows with both measurements available, the mean of yield was 5.23 in the soil group “S3” and 5.54 in “S1”. The signed difference from the former to the latter is 0.32 in the original outcome units.
Reading the original field record
The original data dictionary describes the grouping or predictor field, soil, as “soil, 3 levels”. It describes the response, yield, as “yield of winter barley”. All numerical comparisons use the source scale. The complete table contains 96 rows, of which 0 were excluded for missing or unusable values in these two fields.
The table retains the 3 observed group labels. Each row in the original file contributes equal weight to its group mean. A second statistic, the median, helps show how much an unusually large or small measurement influences that mean.
What the measurements show
Group “S3” contains 32 observations, with a median of 5.12 and recorded limits of 4.42 and 6.39. Group “S1” contains 32, with a median of 5.51 and limits of 4.32 and 6.58. These groups have the lowest and highest observed means across the displayed categories.

What changes when observations are matched?
Using rep (replicate, 4 levels) as the matching field gives 4 units represented at both “S3” and “S1”. Average repeated measurements inside each unit and group first. Then subtract the first group from the second for each unit. The median of those signed within-unit differences is 0.35. This calculation preserves one design dimension. Other treatments, seasons or field positions can still account for part of the difference.
Worked data
soil group | Observations | Mean yield | Median yield | Minimum yield | Maximum yield |
|---|---|---|---|---|---|
S1 | 32 | 5.543125 | 5.51 | 4.32 | 6.58 |
S2 | 32 | 5.510938 | 5.495 | 3.98 | 6.67 |
S3 | 32 | 5.227812 | 5.12 | 4.42 | 6.39 |
Taking the question back to the field
Soil, fertiliser and calcium treatments occupy different levels of this design. Before attributing a contrast to a soil group, establish which unit received each treatment. Counting every nested measurement as an independent soil replicate exaggerates precision.
For a follow-up, keep the unit of observation with each record and decide before collection how a missing reading will be handled. Retain a reference treatment or measurement, the sampling dates and the original field layout. The GRDC paddock trial design guide describes replication and the planning of comparisons under farm conditions.
Data and original research
Kevin Wright’s agridat study record and original source credits document the experimental data. Underlying observation file. Download the chart calculations.
Cover photograph by Teodor Buhl, via Pexels. The photograph illustrates the subject. Industry Applied produced the figure and calculations from the linked source.