General Information

Syllabus   |   Student Learning Outcomes   |   Data files (.csv)

•     •     •

•••   Unit #1   •••

R Lessons & Activities

Assignments

Online Tools

Data files (.csv)

Other examples

Readings

Videos

1. Comparing two means
     (R1.Rmd)
Your Turn Template #1
      (delete .css line if you
       have Pandoc.exe error)

Download R | Download RStudio | DataCamp
t-distribution calculator
Bootstrap CI for mean differences
Randomization applet
Summary
Test bank
ThisIsStatistics.org
R-bloggers
R2: Comparing 2 Variances
     (R2.Rmd)
Your Turn #2
Assignment #2
sampling distribution applet
F distribution calculator #1, #2, and table
Hours studying
Blood pressure
studyhours
Old activity 2
Old assignment 2
Code.html | Code.Rmd
Sampling distributions
Chi-squared distribution
Wikipedia: Chi-squared
CI for variances
F-distribution
Comparing variances
Khan
Youtube
R3: Comparing 2+ means
         by analyzing 2 variances

     (R3.Rmd)
Your Turn #3
Assignment #3
Fmax Table
ANOVA Calculator (from summary data)
ANOVA calculator (from raw data)
Randomization-based ANOVA (MAD or F-statistic)
Randomization-based ANOVA (using F-statistic)
ambiguous
Recall
Diet
Disability
antibiotics
Old activity 3
Old assignment 3
Code.html | Code.Rmd
Old exercises
Summary
ANOVA
Expected mean squares
Formal model
ANOVA assumptions
Khan
Youtube
R4: Post-hoc tests
     (R4.Rmd)
Your Turn #4
Assignment #4
ANOVA calculator with Tukey's HSD Disability
Music
Old activity 4
Old unit #1 quiz
Code.html | Code.Rmd
Old exercise solutions
Tukey HSD
Scheffe
Bonferroni
Wikipedia: Bonferroni
Examples of post hoc tests
R5: Factorial Designs
         (AxB ANOVA)

     (R5.Rmd)
Your Turn #5
Assignment #5
ToothGrowth
cholesterol
cholesterol1
cholesterol2
Old activity 5
Old assignment 5
Code.html | Code.Rmd
Randomization in Stata
Factorial ANOVA Youtube
R6: Repeated Measures
         & other experimental designs

     (R6.Rmd)
Your Turn #6
Assignment #6
optimism
groceries
Old activity 6
Old assignment 6
Code.html | Code.Rmd
Class experiment (.Rmd)
Within-subjects ANOVA
Experimental design
Review for exam / project

•     •     •

•••   Unit #2   •••

Activities

Assignments

Online Tools

Data files (.csv)

R Code / Examples

Readings

Videos

R8: Association between
         categorical variables

     (R8.Rmd)
Your Turn #8
Assignment #8
Chi-squared distribution
Goodness-of-fit (randomization)
Test for independence (randomization)
Chi-square and shuffle applet
Old activity 8
Chi-square test example
Example R code
Code.html | Code.Rmd
Benford's Law
Chi-square
Test for independence
Homogeneity
Goodness-of-fit
Khan
R9: Association between
         continuous variables

     (R9.Rmd)
Your Turn #9
Assignment #9
Guess the correlation
Correlation/Regression applet
Bootstrap CI for correlation
ANOVA for regression (randomization)
Spurious correlations
Correlation or causation
NFL Uniforms
NFL (no team names)
Galton
Test data
Old activity 9
Code.html | Code.Rmd
Correlation chapter
Wikipedia
Spearman's rho
Nonparametric correlation
Bootstrap/Randomization
Khan
10: Linear Regression
     (10.Rmd)
Your Turn #10
Regression exercises
ANOVA for regression (randomization)
Regression and Randomization
Bootstrap CI for slope
Preview.desmos.com
Interactive regression applet
actgpa
beer
cats
violin
prestige
anscombe
NBA
Old activity 10
Code.html | Code.Rmd
Prediction
Online Statbook
What is linear regression?
Regression example
Derivation of least squares
Ladder of powers
Box-Cox transformations
R Tutorial
Khan
StatTrek
Youtube
11: Multiple Regression
         & model selection

     (11.Rmd)
Assignment #11
(R code for assignment)
Automatic Statistician
Multiple regression
prestige
htwt
GPAdata
gambling
birthweight
cancer
csat
income
wages
counties
eval
Old activity 11
Code.html | Code.Rmd
Auto Stat report
Gambling example
Income example
State cancer example
Smoking example
csat example
Online Statbook
Statsoft MR
MTSU
Multicollinearity
Cross-validation
Best subsets method
Ridge regression | Lasso
Bias/Variance Trade-off
Napoleonic Referees
Youtube
12: Polynomial, robust, quantile
         regression; ANOVA as regression

     (12.Rmd)
Assignment 12
(R code for assignment)
Preview.desmos.com
Polynomial Reg tool
Multiple polynomial
geiger
hsb
births
SAUenroll
crime
Old activity 12
Code.html | Code.Rmd
LOWESS animation
Stata example
Sports example
Quantile Regression
Polynomial reg (Wikipedia)
Robust (Wikipedia)
Quantile (Wikipedia)
Robust (Phil Ender)
Bootstrapping | Bootstrap #2
13: Generalized Linear Model
         logistic / Poisson regression

     (13.html) | (13.Rmd)
Assignment 13
(R code for assignment)
admit
retention11-13
retention14
toenail
titanic
medicare
elephant
absences
Old activity 12
Code.html | Code.Rmd
Logistic regression chapter
Generalized Linear Model
GLM Chapter
14 Review for exam / project

•     •     •

•••   Unit #3   •••

Activities

Assignments

Online Tools

Data files (.csv)

R Code / Examples

Readings

Videos

15 MDS, NMDS, PCA
Hierarchical clustering calc cognition R code for MDS
Simpsons example
Other old examples
MDS in R
MDS tutorial
MDS - Wikipedia
Practical Regression/ANOVA with R
PCA
PCA - Wikipedia
PCA Tutorial
Cluster analysis - Wikipedia
Cluster analysis chapter
*** ISL 6.3, 7.4-7.5, 8.1-8.2, 10.1-10.3
16 Project ideas & resources reddit.com/r/statistics
R-Bloggers
Simply Statistics
Publishable Stuff (Bayesian 1st aid)
The shape of data
Statistical Modeling (Andrew Gelman)
Engaging Market Research
RStudio Blog
Visualizing Data
Junk Charts
Flowing Data
Intro to Stat. Learning
Doing Bayesian Analysis
Intro to Stat. Thought
R for Multivariate Anlys
Undergrad Guide to R
Using R for Intro Stats