The paired observations give a Spearman rank correlation of 0.45 between height and yield. It is calculated from 152 rows in the published besag.beans dataset. The two measurements generally rank in the same direction.

Reading the original field record

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

The predictor has 67 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 “24 to 54” contains 40 observations, with a median of 342.5 and recorded limits of 185 and 555. Group “92 to 113” contains 37, with a median of 455 and limits of 320 and 620. These groups are the ends of the recorded predictor range.

Bean canopy height and plot yield. The mean yield is 343.75 for 24 to 54 and 460.54 for 92 to 113, on the source scale.
Bean canopy height and plot yield. The mean yield is 343.75 for 24 to 54 and 460.54 for 92 to 113, on the source scale. Figure by Industry Applied.

Checking the association without assuming a straight line

Ranking every complete pair before calculating their correlation gives 0.45. This statistic compares ordering and does not require a straight-line response. The mean difference across the displayed endpoint groups is 116.79. A change of rank and a change in response units are different ways to describe these records.

Worked data

height group

Observations

Mean yield

Median yield

Minimum yield

Maximum yield

24 to 54

40

343.75

342.5

185

555

55 to 69

38

376.0526

357.5

180

730

70 to 91

37

406.7568

405

220

630

92 to 113

37

460.5405

455

320

620

Taking the question back to the field

Plant height can reflect competition as well as productivity. Retain the neighbouring variety and plot layout when choosing a field test. A relationship between height and yield does not identify a mechanical harvester setting or an optimal canopy height.

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 Julian Besag, Rob Kempton (1986). Kevin Wright’s agridat study record and original source credits document the experimental data. Original publication. 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.