FW 536 · Oregon State University · 3 credits · pre-fall workshop

Statistical Modeling for Ecology and Conservation

A five-day intensive workshop covering probability, distributions, GLMs, mixed models, model selection, maximum likelihood, and Bayesian hierarchical modeling, using R and Nimble.

Before the course, do this first

The Bayesian labs need a working toolchain, so install everything and confirm it runs before Day 1. Then download the course R project, which holds every dataset, script, and template in one folder per day: unzip it, double-click FW536.Rproj, and run 00_install_packages.R once. Learn the R Markdown workflow every hand-in uses. Then put whatever time you have left into the two R tutorials. Nearly every lab this week reshapes data with one or both of these toolkits, and time spent on them now is time you will not spend fighting syntax while the class moves on.

1 · Install R & Nimble (Windows & Mac; JAGS optional) 2 · Download the course R project (data, code & templates) 3 · R Markdown tutorial 4 · The apply family, loops the R way 5 · dplyr & the tidyverse for data manipulation Syllabus · schedule, grading, policies
Day 1 →

Probability & discrete distributions

Summary Day 1 in plain language →
Day 2 →

Continuous distributions, LMs & GLMs

Summary Day 2 in plain language →
Day 3 →

Mixed models & model selection

Summary Day 3 in plain language →
Day 4 →

Maximum likelihood & Bayes I

Summary Day 4 in plain language →
Day 5 →

Bayesian hierarchical modeling

Summary Day 5 in plain language →
Afternoon · Bayesian modeling & catch-up
Work timeKeep fitting Bayesian models. Finish the Day 5 problem set and catch up on any earlier problem sets, with the instructor available to help.

What's in this site

One focused lab per session

Each morning and afternoon has a single graded problem set, the best problems distilled into one coherent assignment, worth 20 points and submitted on Canvas.

Analyze real datasets

Problems load real ecological data (salmon eDNA, Titanic survival, fish trophic position, ant richness, lizard occupancy, growth and recruitment data) so you practice the full workflow, not just formulas.

Interactive visualizations

Explore distributions, link functions, shrinkage, and a live MCMC sampler. Drag sliders and watch the concepts move, right in the browser.

Practice, then perform

In-class practice labs have visible, reveal-able answers. The graded problem sets are separate and their keys are released only after grading.

Plain-language summaries

Each day has a non-mathematical companion explaining the WHY before the HOW. Read it before lab to set up the concepts.

R Markdown submission workflow

All problem sets are submitted as knitted R Markdown HTML. A tutorial covers install, knit, and embedding photos of written work.