The paired observations give a Spearman rank correlation of 0.72 between year and yield. It is calculated from 4,839 rows in the published nass.barley dataset. The two measurements generally rank in the same direction.
Reading the original field record
The source catalogues this experiment as “U.S. historical crop yields by state”. The summary below addresses the yield comparison and uses the investigator’s recorded field names.
The original data dictionary describes the grouping or predictor field, year, as “year”. It describes the response, yield, as “average yield”. All numerical comparisons use the source scale. The complete table contains 4,839 rows, of which 0 were excluded for missing or unusable values in these two fields.
The predictor has 146 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 “1866 to 1906” contains 1,225 observations, with a median of 24 and recorded limits of 4.5 and 41. Group “1971 to 2011” contains 1,205, with a median of 55 and limits of 17 and 135. These groups are the ends of the recorded predictor range.

Checking the association without assuming a straight line
Ranking every complete pair before calculating their correlation gives 0.72. This statistic compares ordering and does not require a straight-line response. The mean difference across the displayed endpoint groups is 34.2. A change of rank and a change in response units are different ways to describe these records.
Worked data
year group | Observations | Mean yield | Median yield | Minimum yield | Maximum yield |
|---|---|---|---|---|---|
1866 to 1906 | 1225 | 23.91224 | 24 | 4.5 | 41 |
1907 to 1940 | 1215 | 23.8851 | 24 | 5 | 48 |
1941 to 1970 | 1194 | 32.91432 | 32 | 10 | 76 |
1971 to 2011 | 1205 | 58.10896 | 55 | 17 | 135 |
Taking the question back to the field
Changes in collection methods, planting area and the population sampled can move a long series. Keep changes in definitions and coverage with the measurements. An overall historical association is not a substitute for testing whether a relationship persists within contemporary seasons.
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.
What the group averages leave out
Group 1907 to 1940 has 1215 observations with an average of 23.885. Its individual readings range from 5 to 48. Group 1971 to 2011 has 1205 observations, an average of 58.109, and readings from 17 to 135. Their observed ranges overlap. For a new trial, retain the original replicate, block and site identifiers wherever the experimental design records them. The distance between two means alone does not measure the uncertainty in a treatment effect.
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.

