BS 720: Introduction to R

Course Documents
BS 720 Syllabus
R Homepage
Final Project Guidelines
Some Publicly Available Datasets
More Publicly Available Datasets


Resources
Packet on using R (BS 704)
What test to use when (BS 704)
Prof. Wayne LaMort's Online Modules
(In particular the Epidemiology & Biostatistics Modules)
Online videos on various R topics



Week 1
Lecture 1 notes
Homework 1
airquality.txt
airquality.csv
BOD.txt
cars.txt
pulsedata.csv

Link: Big Data & Common Statistics Mistakes
Homework 1 solutions code


Week 2:
Lecture 2 notes
airquality.new.csv
In Class Code 2
In Class Exercise Solution Code 2
Homework 2
Cheat sheet for package ggplot2
More options for boxplots
Learn to map census data in R

Homework 2 Solutions


Week 3:
Lecture 3 notes
inclasscode_3.R
ZZ data example
fram_heart.csv
Homework 3
Extra Credit***
class 3 exercise solutions
Homework 3 Solutions

Vaccination Rates in Mass Public Schools article
Vaccination Rates in Mass Public Schools data


Week 4:
Lecture 4 notes
lec4_R_code
overlay.R
In class exercise solutions R code (annotated)
Parametric vs. Nonparametric testing
704 slides on t-tests
704 slides on ANOVA
Nice post: "What exactly is a p-value?"
A note on the Bonferroni correction for multiple testing
Homework 4


Week 5:
Lecture 5 notes
fat.txt
In class R code
In class exercise solutions
Homework 5
Quick-R: Regression Diagnostics
Example of 'kernel smoothing' for finding smooth line to data




Week 6:
Lecture 6
Online Notes on X2 tests (nice simple overview)
Mathematical derivation of the Chi-Square tests from contingency tables




Week 7:
Lecture 7






























Disclaimer