Spatial Recipes for Field Trials

Location

Sunday, November 7
9:00am - 4:00pm
Salt Palace Convention Center, 250D

What you will learn

  • how to diagnose spatial covariance in field trial data
  • how to model spatial covariance in a linear model in R and SAS
  • how to model an empirical variogram
  • how to pick the “best” spatial model

Workshop overview

Agricultural field experiments commonly employ standard experimental designs such as randomized complete block to control for field heterogeneity. However, there is often substantial spatial variation not fully captured by blocking, particularly in large experiments. Although spatial statistics have demonstrated effectiveness in controlling localized spatial variation, they are rarely integrated into analysis of agricultural field experiments. The purpose of this workshop is to provide tools for diagnosing with-field spatial variation and accounting for that spatial variation in statistical analysis of trial data. The workshop draws heavily from our book on this subject.

Intended Audience

This workshop is open to scientists, students, technicians and anyone else who conducts planned field experiments that are arranged in a regular gridded layout. Attendees will need a laptop with R or SAS installed. Some knowledge of programming in R (if you follow the R track) or SAS (if you follow the SAS track) is assumed: setting a working directory, importing files, loading libraries, calling functions. Familiarity with randomized complete block design and how to analyze that design is also assumed.

How to Prepare

R

You will need a recent version of R, available free through the Comprehensive R Archive Network (CRAN). While this is sufficient for running R scripts, You may also find it helpful to use RStudio, which provides a nice graphical user interface for R. RStudio can be downloaded here. Additionally, there are several package to download:

SAS

In order to run the SAS portion of this tutorial, a valid copy of SAS Base and Stat products and a current SAS license are required. This tutorial was built using SAS 9.4 (TS1M5). Although older versions of SAS may also work, we have not evaluated this. Users can also consider downloading and using a free version of SASĀ® On Demand for Academics: Studio.

The workshop will use Rstudio and the standard SAS interface for R and SAS code demonstrations, respectively.

Data sets

The following files will be used in the workshop:

Nebraska Interstate Nursery, a wheat variety trial arranged in a randomised complete block design with 4 blocks. This data set was first described by W. Stroup (2004) and has been used extensively for spatial analysis.

Lind, a winter wheat variety trial from Washington using an augmented design. This data set was kindly donated by Kimberly Garland Campbell of the USDA-ARS.

Please download these in advance so you can run the R and/or SAS scripts in the workshop.

Draft Schedule

TimeTopic
9:00welcome/intro
9:20diagnosing spatial autocorrelation
10:0010-minute break
10:10code demo
11:05row-by-column designs
11:30empirical variograms
12:001-hour lunch
13:00questions
13:15code demo
14:0010-minute break
14:10splines + code demo
14:40model compariso + code demo
15:00augmented designn + code demo
16:00Adjourn

This schedule may be adjusted as the workshop unfolds.

Meet Your Instructors

Julia Piaskowski is an agricultural statistician at the University of Idaho, Software Carpentry Certified Instructor and long-time R programmer.

Xin Dai is consulting statistician at Utah Agricultural Experiment Station, Utah State University with 12 years of experience in SAS programming.

This workshop is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/.