A Practical Introduction to Regression Modeling in R

Author

Wesley Brooks

Published

9 November, 2023

1 Description

Regression modeling — using input variables to predict or model the value of a response — is widely used in pretty much every field of research. Yet many graduate programs don’t include formal training in statistical modeling, and the DataLab’s office hours indicate widespread anxiety about using regression models in practice. This workshop is intended to help address that anxiety by teaching the fundamentals of using regression modeling. The emphasis is on practice and intuition, with only a small amount of math. This workshop is open to all UC Davis graduate students and postdoctoral scholars. Attendance at both sessions is required. Instruction is in-person and seats are limited. A Zoom link (e.g., broadcast) will be available for those unable to attend who would like to watch live.

1.1 Workshop Structure

This workshop describes itself as a practical introduction. That means you are expected to get practice with regression, so please follow along! The workshop follows the examples in this document, and we will walk through each of them live, taking time to discuss the what and why of regression modeling. Your experience will be far more rewarding if you open up a fresh file in RStudio and follow along!

The first day of the workshop series will cover linear and generalized linear regression, including discussions of checking model assumptions and how to handle categorical vs. continuous features. The second day will focus on random effects and mixed effect modeling.

1.2 Learning objectives

After this workshop, learners will be able to: - Explain the differences between linear and generalized linear regression models - Explain the differences between fixed effects and random effects - Describe how continuous and categorical variables are handled differently by regression modeling software - Implement the above-mentioned model types - Read and interpret regression summary tables - Do diagnostic checks on regression models