Data In The Wild
  1. Module 3
  2. Overview
  • Home
  • Contact Us
  • For Instructors

  • Module 1
    • Overview
    • 1.1: Introduction to R and RStudio
    • 1.2: Intro to Coding in R
    • 1.3: Introduction to the tidyverse
    • Assignment 2
    • Assignment 3
  • Module 2
    • Overview
    • 2.1: Good Food Gone Bad
    • 2.2: Plotting with ggplot2
    • 2.3: Data Visualization
    • 2.4: Exploring geom Functions
    • 2.5: Module 2 Wrap-Up
    • Assignment 1
    • Assignment 2
    • Assignment 3
  • Module 3
    • Overview
    • 3.1: Leopard Seals
    • 3.2: T-Tests
    • 3.3: Comparing (Multiple) Means
    • Assignment 1
    • Assignment 2
  • Module 4
    • Overview
    • 4.1: Combining Datasets (Joins & Binds)
    • 4.2: K-Nearest Neighbor
    • 4.3: Roads and Regressions
    • 4.4: Multiple Regression
    • 4.5: Writing Functions
    • Assignment 1
    • Assignment 2
    • Assignment 3
    • Assignment 4
  • Module 5
    • Overview
    • 5.1: Population Growth
    • 5.2: Sustainable Fishing
    • 5.3: Comparing Populations
    • Assignment 1
    • Assignment 2
    • Assignment 3
  • Final Project

  • Resources
  1. Module 3
  2. Overview

Module 3: Follow That Seal

Overview

With the aquaponics system compromised, the team must turn to wild-caught fish to supplement their food supply, but fishing in Antarctic waters comes with risks. Leopard seals are apex predators in the area, and the radio collars used to track them have been failing unexpectedly. Students are tasked with figuring out which collar manufacturer is to blame by comparing means numerically, visually, and statistically, first using t-tests to compare two groups, then extending to ANOVA and post-hoc comparisons when more than two groups are involved. By the end of the module, students can determine whether differences between groups are statistically meaningful and apply these tools to new ecological contexts.

Learning Objectives

By the end of this module, students will be able to:

  • explain the logic of hypothesis testing, including null and alternative hypotheses
  • distinguish between independent and dependent variables and identify each in a research question
  • determine when a t-test versus an ANOVA is the appropriate statistical test
  • run a t-test using the t.test() function and interpret the output, including t-value, p-value, and confidence interval
  • run a one-way ANOVA using the aov() and summary() functions and interpret the F-value and p-value
  • run a Tukey’s HSD post hoc test using TukeyHSD() and interpret pairwise comparisons
  • add a vertical reference line to a ggplot2 plot using geom_vline()

Lessons & Assignments

Lessons

Lesson QMD Data Files
3.1: Intro to Linear Regression Download collar_data.csv
3.2: More Linear Regression Download collar_data.csv
3.3: ANOVA and Comparisons Download more_collars.csv

Assignments

Assignment QMD Data Files Outputs
M3A1: Wind Turbine Analysis Download wind_turbines.csv Download
M3A2: Comparing Fish and Seal Populations Download fish.csv, seals.csv Download

GitHub

To clone the entire course, visit the course GitHub repository.

2026, University of Arizona & Lewis & Clark College

 
  • Made with Quarto