36-601/602 Computing for Statistical Practice
Note: This page contains course material for the Computing for Statistical Practice
portion of the
Carnegie Mellon University,
Department of Statistics,
Masters In Statistical Practice course 36-601/602, "Perspectives on Statistical Practice".
Class Notes
- Orientation Week: Introduction to SAS code: SASIntro.sas
data description: fishcatch.txt
- Introduction to SAS (September 14): SASLecture1.pdf
Intro1.sas
fishies.txt
fishies.dat
sick.csv
D1.dat
D2.dat
Solutions: Lec1Examples.sas
- Lecture Notes #2 (September 26): SASLecture2.pdf
IF/THEN/ELSE, HSLS example,
PROC PRINT, PROC UNIVARIATE, PROC MEANS, PROC FREQ
HSLS.sas
school.puf (put in data subfolder)
- Lecture Notes #3 (October 1): SASLecture3.pdf
CMISS, PUT, WHERE, OUTPUT, ARRAY/DO, IF/THEN/ELSE, DROP, KEEP, RENAME
HSLSFullSolutions.sas
Lec3Examples.sas
- SAS Lecture Notes #4 (October 3): SASLecture4.pdf
PROC FORMAT, INFORMAT, FORMAT, PUT(), INPUT(), permanent (in)formats,
- SAS Lecture Notes #5 (October 5): SASLecture5.pdf
(review)
Programming in R
- R Lecture Notes #1 (October 10): UsingR-Part1.pdf
quicktree.R
fake1.csv
fake2.csv
fake3.csv
fake4.csv
fake5.csv
- R Lecture Notes #2 (October 17): UsingR-Part2.pdf
quickReg.R
- R Lecture Notes #3 (October 24): UsingR-Part3.pdf covdet.R
- SAS HW 1 (due
Mon. Sept. 24): SASHomework1.pdf
bolts.txt
biomed.desc
biomed.dat
Solutions:
bolts.sas
biomed.sas
biomedFlexible.sas
- SAS HW 2 (due
Mon. Oct. 8): SASHomework2.pdf
FARS2009PA
(more documentation: FARScodebook.pdf)
FARS.sas
Solutions:
Solution2.1.sas
Solution2.2.sas
Solution2.3.sas
Solution2.4.sas
- R HW 1 (due 10:30 Mon. Oct. 22): RHW1.pdf
Solutions: RHW1.R
- R HW 2 (due Friday Nov. 2): RHW2.pdf
cor2cov.R
dropout.csv
Solutions:
cor2covSol.R
exploreLR.R
Optional Reading
- RIntro.R (an introduction to R)
- DATA Step Overview
- How to Think Through the SAS DATA Step
- SAS Cheatsheet (programmer's cabin)