onish-stats-workshop.github.io

Logo

Date: July 15th. Time: 3pm-5pm. Link to recording

View the repository files or

Download a zip file of the material.

Welcome to stats workshop 2021!

Every summer, the Osborne-Nishimura lab does a summer workshop series, and it has grown every year! This summer we’re focusing on different topics related to regression, linear or otherwise.

Video Recording

Sign up!

For updates on the material and the Zoom link. The workshop is over, but you can sign up for future workshops here!

Topics/Speakers

For those who plan to follow along with RStudio (it is free), we highly recommend installing required packages ahead of time.

Required package(s):

To check, open R/Rstudio and try these in the console:

      
library("lme4")
library("AICcmodavg")
library("Simpsons")
library("tidyverse")
library("ggplot2")
library("broom")
library("MASS")
library("emmeans")

It's OK if you see something like:

Warning message: package ‘emmeans’ was built under R version 4.0.2 
      

But if you see something like:

Error in library("broom") : there is no package called ‘broom’
You may need to try the corresponding command below:

The install commands:

install.packages("lme4")
install.packages("AICcmodavg")
install.packages("Simpsons")
install.packages("tidyverse")
install.packages("ggplot2")
install.packages("broom")
install.packages("MASS")
install.packages("emmeans")

David - Basics/Intro, followed by an exercise on Simpson's paradox.

David will review linear models in R, and then look at Cook's distance for outliers, followed by an approach for dealing with regression on data with multiple groups.

Jess Hill - Is it ANOVA or Regression?

Jess will take use through how ANOVA experimental design and multiple regress are connected.

Elliot Graham - Logistic Regression

Elliot will show us some techniques for regressing on different types of variables.

Ben Prytherch - To include or not include variables

Ben will demonstrate, by simulation, the consequences of controlling for different experimental variables in an experimental model of bacterial colonization in the C. elegans intestine.