BS 720 Syllabus

R Homepage

Final Project Guidelines

Some Publicly Available Datasets

More Publicly Available Datasets

Packet on using R (BS 704)

What test to use when (BS 704)

Online videos on various R topics

Lecture 1 notes

Lecture 1 R code

Homework 1

airquality.txt

airquality.csv

BOD.txt

cars.txt

pulsedata.csv

Link: Big Data & Common Statistics Mistakes

Homework 1 solutions

Lecture 2 notes

airquality.new.csv

In Class Code 2

Homework 2

Class 2 Exercise Solution Code

Selecting the minimum Temp for all observations with badozone=high

Cheat sheet for package ggplot2

More options for boxplots

Learn to map census data in R

Homework 2 Solutions

Lecture 3 notes

inclasscode_3.R

ZZ data example

fram_heart.csv

Homework 3 pdf

(and in Word)

Extra Credit***

Problem requiring a loop

class 3 exercise solutions

Homework 3 Solutions

Lecture 4 notes

lec4_R_code

overlay.R

In class exercise solutions R code

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 pdf (and MS-Word doc)

Homework 4 Solutions

Lecture 5 notes

fat.txt

In class R code

In class exercise solutions

Homework 5 pdf (and MS-Word doc)

Quick-R: Regression Diagnostics

Making 95% CIs for a regression plot

Ridge Regression (optional)

Homework 5 solutions

Lecture 6

airquality.new.csv

out.txt

class code 6

'Proc Freq' -like function to source

Homework 6

Online Notes on X2 tests (nice simple overview)

Mathematical derivation of the Chi-Square tests from contingency tables

Person-time analysis in R

Homework 6 solutions

Lecture 7

inclasscode_7.R

out.txt

Fancy survival plots with CIs

Fancy survival plots with at-risk tables

Homework 7

In-class 7 R solutions