SEAStats

This page hosts learning materials for USDA ARS SEA statistics and data science trainings created by SEA area statistician Quentin Read.

For scientists interested in contacting me for a consultation, please check out the frequently asked questions page!

For USDA personnel only: to access video recordings of previous training sessions, please visit the SEA Statistics Training page on USDA Axon intranet.

R Installation instructions

Instructions for installing R, RStudio, and R packages

Follow these instructions before starting any of the lessons if you do not have R and RStudio installed on your laptop.


R Boot Camp

Two one-hour lessons on basic R programming for complete beginners (Lessons 1 and 2 in a six-lesson series).
Taught in hybrid format in Raleigh, NC, December 8-9, 2022, and in person in Fayetteville, AR, January 9, 2023, and Booneville, AR, January 12, 2023.

Full-text version Slides Worksheets Answers to Exercises
Lesson 1: R Boot Camp: the very basics Slides Worksheet Answers
Lesson 2: R Boot Camp: working with data frames Slides Worksheet Answers

A practical toolkit for mixed models in R

Four one-hour lessons on fitting simple linear mixed models in R (Lessons 3-6 in a six-lesson series).
Taught in hybrid format in Raleigh, NC, December 8-9, 2022.

Full-text version Slides Worksheets Answers to Exercises
Lesson 3: From linear model to linear mixed model Slides Worksheet Answers
Lesson 4: Going further with mixed models Slides Worksheet Answers
Lesson 5: Generalized linear mixed models Slides Worksheet Answers
Lesson 6: Estimating and comparing treatment means Slides Worksheet Answers

Data visualization basics with R and ggplot2

90-minute session introducing students to visualizing data with R and ggplot2.
Taught in Fayetteville, AR, January 10, 2023; Athens, GA, February 8, 2023


A crash course in Bayesian mixed models with brms

Two-hour session introducing students to Bayesian inference, and showing how to fit some simple Bayesian mixed models with brms.
Taught in Fayetteville, AR, January 10, 2023 (older version); Athens, GA, February 9, 2023 (updated version)


R for SAS Users

Two-hour session showing basic data processing and model fitting procedures in R and SAS side-by-side.
Taught in Athens, GA, February 7, 2023.


Other learning resources

I compiled a list of my favorite learning resources, including materials on R programming and mixed models, for a recent stats workshop. I expect to add more material to this list in the future; please check back soon for updates!


Archived course and workshop pages

This page last updated by QDR on 2023-03-10. This page’s contents were created by the author and do not reflect official USDA policy.