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

Lecture 2 notes

airquality.new.csv

In Class Code 2

Homework 2

Class 2 Exercise Solution Code

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

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)

In class exercise solutions R code

Homework 4 Solutions

Lecture 6

airquality.new.csv

out.txt

class code 6

class 6 solutions code

'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

Homework 6 solutions

Lecture 5 notes

fat.txt

In class R code

In class exercise solutions

Homework 5 pdf (and MS-Word doc)

Additional material:

Quick-R: Regression Diagnostics

Making 95% CIs for a regression plot

Ridge Regression (optional)

Homework 5 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