Lecture Notes
Before class, please email Prof. Wells (wellsjon@grinnell.edu) using the subject header STA 209: Introducing [Your Name] with your answers to the following questions:
Note that the listed reading assignments should be completed prior to class
Here is a link to the Tampa Bay Times article on race and the Stand Your Ground defense from which today’s data was taken.
Here is an article by Jeff Witmer, who did some analysis on the TBT data.
Here is a short video (~4 min) further discussing the statistical phenomenon of Simpson’s Paradox that we observed in class today.
R and RStudio
Structure of Data
Note that the listed reading assignments should be completed prior to class
Here is the complete Netflix
dataset that was
discussed in class today: Netflix.csv
This data set was obtained from the TidyTuesday project here.
TidyTuesday is a weekly data investigation project organized by a group of data scientists, with the purpose to practice and collaborate on data summarizing and arranging tasks.
Note that the listed reading assignments should be completed prior to class
Homework is due by 11:59pm on Friday
The Grammar of Graphics framework
The ggplot2
package
Exploring ggplot2
: Scatterplots
Note that the listed reading assignments should be completed prior to class
ggplot2
continued:
Line graphs, Histograms, Boxplots, Barcharts, and customization
Note that the listed reading assignments should be completed prior to class
Note that the listed reading assignments should be completed prior to class
Homework is due by 11:59pm on Friday
Note that the listed reading assignments should be completed prior to class
Data Wrangling: More practice, advanced techniques
Note that the listed reading assignments should be completed prior to class
Principles of Data Collection: samples, surveys, and experiments
Common dplyr
Errors
.Rmd file for demo in class
.html output for demo in class
Note that the listed reading assignments should be completed prior to class
Homework is due by 11:59pm on Friday
Note that the listed reading assignments should be completed prior to class
Note that the listed reading assignments should be completed prior to class
Class Cancelled
Note that the listed reading assignments should be completed prior to class
Homework is due by 11:59pm on Friday
Note that the listed reading assignments should be completed prior to class
Sections to Read Sections 5.1, 5.3 in ModernDive
Note that the listed reading assignments should be completed prior to class
Note that the listed reading assignments should be completed prior to class
Homework is due by 11:59pm on Friday
Multilinear Regression: Geometry of the Model and Multiple Quantitative Response Variables
Note that the listed reading assignments should be completed prior to class
Note that the listed reading assignments should be completed prior to class
Review for Midterm 1
Note that the listed reading assignments should be completed prior to class
Note that the listed reading assignments should be completed prior to class
Homework is due by 11:59pm on Friday
The Sampling Distribution
Note that the listed reading assignments should be completed prior to class
Confidence Intervals
Interpreting Confidence Intervals
Note that the listed reading assignments should be completed prior to class
Bootstrapping
Bootstrap Confidence Intervals
Note that the listed reading assignments should be completed prior to class
Introduction to Hypothesis Testing
Interpreting P-values
Note that the listed reading assignments should be completed prior to class
[Lecture Slides]
Statistical Significance
Decision Errors
Effect Size
Hypothesis Testing Activity
Note that the listed reading assignments should be completed prior to class
Sections to Read
Statistical Significance
Decision Errors
Effect Size
Note that the listed reading assignments should be completed prior to class
Sections to Read
infer
package to perform hypothesis testing
and create confidence intervalsNote that the listed reading assignments should be completed prior to class
Probability Models
Conditional Probability
Bayes Rule
Note that the listed reading assignments should be completed prior to class
Sections to Read
Conditional Probability
Bayes Rule
Random Variables
Note that the listed reading assignments should be completed prior to class
Sections to Read
Continuous Random Variables
The Normal Distribution
The Central Limit Theorem
Note that the listed reading assignments should be completed prior to class
Sections to Read
Note that the listed reading assignments should be completed prior to class
Note that the listed reading assignments should be completed prior to class
Sections to Read
Homework is due by 11:59pm on Friday
The Central Limit Theorem
Inference for Proportions
Note that the listed reading assignments should be completed prior to class
Sections to Read
Note that the listed reading assignments should be completed prior to class
Sections to Read:
Note that the listed reading assignments should be completed prior to class
Sections to Read:
No Class; Working Differently Day
Note that the listed reading assignments should be completed prior to class
Sections to Read:
Notes on Elements of Statistical Investigations
Hypothesis Tests for Difference in Means
Paired vs Independent Samples
Review of Confidence Interval and Hypothesis Test Procedures
Note that the listed reading assignments should be completed prior to class
Sections to Read:
Chi-Squared Test for Goodness-of-Fit
Chi-Squared Test for Independence
Note that the listed reading assignments should be completed prior to class
Sections to Read:
Note that the listed reading assignments should be completed prior to class
Sections to Read:
Note that the listed reading assignments should be completed prior to class
Sections to Read:
Note that the listed reading assignments should be completed prior to class
Sections to Read:
Note that the listed reading assignments should be completed prior to class
Sections to Read: