• STAT 452: Correlated Data
  • Welcome!
  • Schedule
  • Learning Goals
    • General Skills
    • Course Topics
      • Foundations
      • Time Series
      • Longitudinal
      • Spatial
  • I Technology
  • R and RStudio Setup
    • Troubleshooting
  • Git & Github
    • Github Setup
    • Git/Github Overview
  • R Resources
    • Time Series R resources
    • Spatial resources
    • Tidyverse resources
    • Visualization resources
    • General R resources
    • Free online textbooks
  • II Foundations
  • 1 Introduction
    • Learning Goals
    • Introductions
    • Group Activity: Playing with Data
      • Directions
      • Data Context: Temperatures & Energy Use
      • Exercises
  • 2 Probability Review
    • Today’s Learning Goals
    • Probability Warm Up
    • Group Activity: Covariance Challenge!
      • Setup
      • Challenges
  • 3 Random Processes
    • Today’s Learning Goals
    • Group Activity
      • Covariance Matrix
      • Generating Correlated Data
  • 4 Modeling Covariance
    • Learning Goals
    • Warm Up
    • Group Activity
      • Theory
      • Conceptual Practice
  • 5 Model Components and Detrending
    • Learning Goals
    • Group Activity
      • Data Context
      • Estimating Trend
      • Estimating Seasonality
    • Concept: Differencing
  • III Time Series
  • 6 ACF and Random Walk
    • Learning Goals
    • Group Activity
      • Data Motivation: Marine Diversity during the Phanerozoic
      • Random Walk
  • 7 AR and MA Models
    • Learning Goals
    • Class Warm Up
      • MA(1)
    • Group Theory
      • AR(1)
    • Name that Model
      • Data set 1
      • Data set 2
      • Data set 3
      • Data set 4
      • Data set 5
      • Data set 6
  • 8 ARMA Models
    • Learning Goals
    • Name that Model
      • Data set 1
      • Data set 2
      • Data set 3
      • Data set 4
      • Data set 5
      • Data set 6
  • 9 ARIMA and SARIMA Models
    • Learning Goals
    • Backshift Operators
    • Simulate that Model
  • IV Longitudinal
  • 10 Introduction to Longitudinal Data
    • Learning Goals
    • Warm Up: Data Examples
    • Longitudinal Notation
    • Linear Models
      • OLS
      • Group Work: GLS
  • 11 GLM + GEE
    • Learning Goals
    • Group Activity
      • Introduction to ACTIVE study Data
      • Explore the Data
      • Discuss Models
      • Fit Models
  • 12 Mixed Effects
    • Learning Goals
    • Notation
    • Warm Up
    • Group Activity
      • Model Selection
  • 13 GEE v Mixed Effects
    • Learning Goals
    • Group Work
  • V Spatial
  • 14 Intro to Three Types of Spatial Data
    • Learning Goals
    • Warm Up
    • Group Work
      • Spatial Graphics
  • 15 Intro to Areal Data
    • Learning Goals
    • Warm Up
    • Small Group Work
  • 16 SAR and CAR Models
    • Learning Goals
    • Small Group Work
  • VI Checkpoints
  • Checkpoint 1
    • Part 1: Covariance Matrices
    • Part 2: Estimate Covariance and Correlation
  • Checkpoint 2
    • Macalester Energy Use
  • Checkpoint 3
    • Github Setup
    • Revisit Checkpoint 2
    • Visualize
    • Detrend & Decompose
    • Modeling Errors
    • Predicting the Future
  • Checkpoint 4
    • Github Setup
    • Data Context
    • Research Question
    • Models
    • References
  • Checkpoint 5
    • Github Setup
    • Models
    • Model Selection
      • Hypothesis Testing for Fixed Coefficients (one at a time)
      • Hypothesis Testing for Fixed Coefficients (many at one time)
      • Diagnostics
  • Checkpoint 6
    • Github Setup
    • Data Context and Research Question
      • Data Context
      • Develop Research Question
    • Visualizations
    • Neighborhood Structure
    • OLS Model
    • Spatial Correlation
  • Checkpoint 7
    • Github Setup
    • Data Context and Research Question
      • Refine Research Question
    • Visualizations
    • Neighborhood Structure
    • OLS Model
    • Spatial Correlation
    • Spatial Models
  • VII Mini Projects
  • Mini Project 1
    • Github Setup
    • Time Series Mini Project
  • Mini Project 2
    • Github Setup
    • Longitudinal Mini Project
  • Mini Project 3
    • Spatial Mini Project
  • Capstone Project
    • Github Setup
    • Final Project
  • Published with bookdown

STAT 452: Correlated Data

R Resources

Time Series R resources

  • Shumway and Stoffer’s Textbook
  • Fun with ASTSA package

Spatial resources

  • sf package website
  • Geocomputation with R

Tidyverse resources

  • Lisa Lendway’s COMP/STAT 112 website (with code examples and videos)
  • John’s Hopkins Tidyverse course text

Visualization resources

  • ggplot2 reference
  • Colors in R

General R resources

  • RStudio cheat sheets
  • Data import tutorial
  • R Programming Wikibook
  • Debugging in R
    • Article
    • Video

Free online textbooks

  • R for Data Science
  • Exploratory Data Analysis with R
  • Advanced R