STAT J540 (Computing in Statistics)

Fall 2012

Instructor

David Hitchcock, associate professor of statistics

Syllabus

Syllabus: (Word document) or (pdf document)

Office Hours -- Fall 2012

Mon. 1:00-2:00 p.m., Tues. 11:00-11:55 a.m., Wed. 1:10-2:00 p.m., Fri. 10:30-11:30 a.m., or by appointment

Office: 209A LeConte College
Phone: 777-5346
E-mail: hitchcock@stat.sc.edu

Class Meeting Time

Tue-Thu 9:30AM-10:45AM, WD 116 or via distance by streaming video

Accessing Online Lectures

Instructions for accessing online lectures

Purpose: To help students learn computing skills that will be useful to them both in academic endeavors and as working statisticians. To introduce students to programming using the free software package R and the widely used commercial software SAS. Programming skills, rather than straightforward data analyses, are emphasized in this course.

Current Textbook: The Little SAS Book: A Primer (4th edition), by Delwiche and Slaughter.

Required Supplementary Material: Supplementary material available for download:
Basics of R: A Primer, by Don Edwards.
Click here for Basics of R: A Primer.
Introduction to R, Comprehensive R Archive Network (CRAN).
Available at CRAN home page (click "Manuals" at left side of page; then choose the first manual, "Introduction to R").

Required Computing Resources: Access to a computer with R (available as a free download from the CRAN home page) and SAS (students who want SAS can buy a copy from USC Computer Services). These packages are also available on the computers in the labs in LeConte College. Help in using R can be found on the CRAN home page.

Downloading Instructions

 

Topics Covered
Text
Time
Objects in R; Inputting and Outputting Data in R
Edwards
1.5 weeks
R Graphics, Functions, Arithmetic, Logicals, Conditional Execution, Subsetting, Sorting, Iteration
Edwards
2 weeks
Random Variables and Simulation Studies
TBA
1.5 weeks
Introduction to SAS; Reading and Writing Data
Delwiche and Slaughter
2 weeks
Working with Your Data; Sorting, Printing, Summarizing Data
Delwiche and Slaughter
2 weeks
Modifying and Combining Data Sets
Delwiche and Slaughter
1 week
MACRO programming in SAS; ODS output; PROC SGPLOT
Delwiche and Slaughter
2.5 weeks

 

Slides for Class Notes

Example R Code from Class

SAS Code: Examples from Class

Homework

Instructions for Homework Abstracts

Data Files for Homework

Example Homework Solutions

Example Quiz Solutions

Example Final Exam Solutions

Data Files for Exams

Exam Sheets

Information about the Graduate Student Project

Project Description (Word document) or Project Description (pdf document)

Exams

You must work on the final exam completely independently!! Please read the instructions carefully.