We estimate impacts of rainfall and temperature on corn yields by fitting a linear spline model with endogenous thresholds. Using Gibbs sampling and the Metropolis - Hastings algorithm, we simultaneously estimate the thresholds and other model parameters. A hierarchical structure is applied to capture county-specific factors determining corn yields. Results indicate that impacts of both rainfall and temperature are nonlinear and asymmetric in most states. Yield is concave in both weather variables. Corn yield decreases significantly when temperature increases beyond a certain threshold, and when the amount of rainfall decreases below a certain threshold. Flooding is another source of yield loss in some states. A moderate amount of heat is beneficial to corn yield in northern states, but not in other states. Both the levels of the thresholds and the magnitudes of the weather effects are estimated to be different across states in the Corn Belt.
Yu, Tian and Babcock, Bruce A., "Estimating Non-linear Weather Impacts on Corn Yield—A Bayesian Approach" (2011). CARD Working Papers. 543.