Idriss Lemnouni Get in touch
All projects

Statistical analysis

Modelling long-term wheat yields at Broadbalk

Does accounting for repeated harvests improve predictions in a long-running wheat trial?

Solution

I fitted two R models, one with serially correlated errors, and held out the final eleven seasons.

My contribution · I fitted and compared the two statistical models in R and produced the trajectory and holdout figures.

Tools R · nlme · Quarto

Results

On 187 held-out strip-years, accounting for serial correlation moved grain MAE from 0.4163 to 0.4161 tonnes.

The trial archive covers 74 seasons and 17 wheat strips.

Held-out grain MAE, AR(1)
0.4161 tonnes Source

Data & evaluation

Data sources

  • Historical Rothamsted Broadbalk wheat records via agridat, 1852–1925

Method

  1. Compare ordinary least squares with a generalized least-squares model using AR(1) errors and hold out the final eleven seasons.
  2. Estimate paired grain and straw contrasts between named strips, account for serial correlation, and render results with uncertainty in Quarto.

Limitations

The same strips recur over time. Management history and location complicate causal treatment comparisons.

The difference is about 0.0002 tonnes on this holdout. A causal treatment estimate would require a design that addresses strip location and management history.

Reproduce the study

Use R with nlme and Python 3.11 or newer. Verify the source file, run the analysis and plotting scripts, then render the report with Quarto.

Local reproduction instructions and pinned source

Skills demonstrated

  • Longitudinal modelling
  • Time-based validation
  • Reproducible analysis in R

Project figures