Fig. 4: Monte Carlo simulation.

Indices i, j, k, and s index year (2000–2015), location (j = 1,…, 16 locations), cultivar (i.e., the SNP genotypes, k = 1,…,28 cultivars) and sample from the posterior distribution of model parameters (s = 1,…,B, B = 20,000).