For 84 rows with both measurements available, the mean of yield was 182.1 in the density group “18.78 to 39.54” and 64.13 in “101.38 to 184.75”. The signed difference from the former to the latter is -117.97 in the original outcome units.

Reading the original field record

The original data dictionary describes the grouping or predictor field, density, as “density”. It describes the response, yield, as “yield”. All numerical comparisons use the source scale. The complete table contains 84 rows, of which 0 were excluded for missing or unusable values in these two fields.

The predictor has 75 distinct recorded values. The table divides the usable observations at sample quartiles and prints the actual lowest and highest recorded predictor in each band. Equal predictor values stay together, so band counts can differ.

What the measurements show

Group “18.78 to 39.54” contains 22 observations, with a median of 178.89 and recorded limits of 112.02 and 272.15. Group “101.38 to 184.75” contains 21, with a median of 63.01 and limits of 28.96 and 97.2. These groups are the ends of the recorded predictor range.

Stand density and onion yield. The mean yield is 182.1 for 18.78 to 39.54 and 64.13 for 101.38 to 184.75, on the source scale.
Stand density and onion yield. The mean yield is 182.1 for 18.78 to 39.54 and 64.13 for 101.38 to 184.75, on the source scale. Figure by Industry Applied.

What changes when observations are matched?

Using loc (loc) as the matching field gives 2 units represented at both “18.78 to 39.54” and “101.38 to 184.75”. 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 -127.03. This calculation preserves one design dimension. Other treatments, seasons or field positions can still account for part of the difference.

Worked data

density group

Observations

Mean yield

Median yield

Minimum yield

Maximum yield

18.78 to 39.54

22

182.1041

178.89

112.02

272.15

41.02 to 61.78

21

132.4448

139.24

90.72

197.89

62.63 to 96.68

20

96.0195

95.35

69.34

134.16

101.38 to 184.75

21

64.13333

63.01

28.96

97.2

Taking the question back to the field

Compare density ranges at each location. Yield per unit area may respond differently from bulb size or grading, which matter to a packhouse. Keep marketable grade and actual plant stand as separate outcomes in a local density trial.

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

The study is credited to Ratkowsky, D. A (1983). Kevin Wright’s agridat study record and original source credits document the experimental data. Underlying observation file. Download the chart calculations.

Cover photograph by Mark Stebnicki, via Pexels. The photograph illustrates the subject. Industry Applied produced the figure and calculations from the linked source.