Abstract

Modelling response surfaces using tensor cubic smoothing splines is presented for three designed experiments. The aim is to show how the analyses can be carried out using the asreml software in the R environment, and details of the analyses including the code to do so are presented in a tutorial style. The experiments were all run over time and involve an explanatory quantitative treatment variable; one experiment is a field trial which has a spatial component and involves an additional treatment. Thus, in addition to the response surface for the time by explanatory variable, modelling of temporal and, for the third experiment, of temporal and spatial effects at the residual level is required. A linear mixed model is used for analysis, and a mixed model representation of the tensor cubic smoothing spline is described and seamlessly incorporated in the full linear mixed model. The analyses show the flexibility and capacity of asreml for complex modelling.