Course materials generated by Brian Stock, Josh Stewart, and Lynn Waterhouse for the "Ecological Data Analysis" workshop (Yelapa, Mexico, Mar 23 -- Apr 2, 2017)
Many thanks to our funders:
![](https://raw.githubusercontent.com/brianstock/StatsClass_public/master/logos/saveourseas.png)
![](https://raw.githubusercontent.com/brianstock/StatsClass_public/master/logos/WDAFS.png)
![](https://raw.githubusercontent.com/brianstock/StatsClass_public/master/logos/cmbc.png)
![](https://raw.githubusercontent.com/brianstock/StatsClass_public/master/logos/gcmp-logo.png)
![](https://raw.githubusercontent.com/brianstock/StatsClass_public/master/logos/mantatrust.png)
-
Download and install R: https://www.r-project.org/
-
Download and install R Studio: https://www.rstudio.com/products/rstudio/download/ (at the bottom under 'Installers for Supported Platforms'). If you have trouble downloading or installing R or R Studio, please email us so we can work through any problems ahead of time.
-
Work through the following tutorial so you have some experience with R before the workshop: http://www.cyclismo.org/tutorial/R/ (only chapters 1 through 7; stop after 'Indexing into Vectors')
-
Work through the following exercises: https://www.datacamp.com/courses/free-introduction-to-r (Chapter 1 & 2 will be some repeats of the cyclismo tutorial, but 3-6 will be new)
-
Run in R:
install.packages(c("tidyr", "dplyr", "ggplot2", "lubridate", "stringr", "lme4", "ggmap", "FSA", "FSAdata", "car", "multcomp", "plotrix", "nnet", "nlstools"), dependencies = TRUE)
Get settled
Pass out pre-test (students do in evening)
Morning:
- Intro to statistics (3 hours)
Afternoon:
Collect tree data (30-45 minutes)
- Introduction to R (2.5 hours)
Morning:
- Distributions and normality tests
Afternoon:
- Transformations, T-tests, and non-parametric tests
Morning:
-
ANOVA (2 hours)
-
Data wrangling (2 hours)
Afternoon:
Boats (manta surveys, plankton tow, CTD)
Morning:
- Linear regression (3 hours)
Afternoon:
Boats (manta surveys, plankton tow, CTD)
Morning:
-
Multiple regression (1.5 hours)
-
Chi-square (1.5 hours)
Afternoon:
-
GLM Binomial (2 hours)
-
GLM Poisson (1 hour)
Morning:
- Tableau (4 hours)
Afternoon:
- Visual communication skills (2 hours)
Review
Exam