Lab activities - SAS version
Hints for downloading and accessing files
Lab 1: 10 Jan
Lab 1 activities
Read this first
Introduction to SAS
creativity1.sas
Explanation of code in creativity1.sas
Lab 2: 17 Jan
creativity2.sas
Explanation of code in creativity2.sas
Lab 2 self assessment
Lab 3: 24 Jan
creativity3.sas
Explanation of code in creativity3.sas
Lab 3 self assessment
Lab 4: 31 Jan
case0202.txt
, Data for Schizophrenia case study
hamburger.csv
, Data for hamburger example (csv format)
hamburger.xlsx
, Data for hamburger example (xlsx format)
Pairedt.sas
Explanation of SAS code in pairedt.sas
hamburger.sas
Explanation of SAS code in hamburger.sas
Lab 4 self assessment
fishprice.txt
fish price data for self assessment
Lab 5: 7 Feb
resids.sas
Code to plot residuals and draw QQ plots
resids.pdf
Explanation of code in resids.sas
alanine.csv
Alanine data set for self assessment
Lab 5 self assessment
Lab 6: 14 Feb
calcmeans.sas
Calculating and saving means
patty.txt
, data for calcmeans.sas
Explanation of code in calcmeans.sas
arabidop.csv
, data for lab 6 self assessment
Lab 6 self assessment
Lab 7: 28 Feb
dietall.sas
Fitting ANOVA models, "after the ANOVA"
case0501.csv
, data for dietall.sas, Case study 1 in Chapter 5: mouse diet and longevity study
Explanation of code in dietall.sas
cavity.txt
Data for self assessment exercise
Self assessment
on "After the ANOVA" computations.
readcharacter.sas
Shows how to deal with a couple of SAS-specific issues reading data files with character values
Explanation of code in readcharacter.sas
readcharacter.txt
Data file 1 for readcharacter.sas
readcharacter.csv
Data file 2 for readcharacter.sas
Lab 8: 7 March
fdr.sas
False discovery rate, starting from p-values for each test.
Explanation of code in fdr.sas
manyP.csv
File with p-values, one row per test.
meat1.sas
Fitting a linear regresion
Explanation of code in meat1.sas
meat.txt
Meat pH over time data set.
Self assessment
on FDR and estimating a linear regression
pvalues.csv
data file for self assessment
GFCLOCKS.txt
data file for self assessment
Lab 9: 21 March
meat.sas
More linear regression: confidence and prediction intervals, ANOVA lack of fit test
Explanation of code in meat.sas
Self assessment
on more linear regression
GFCLOCKS.txt
data file for self assessment
Lab 10: 28 March
brain.sas
Labeling plots, scatterplot matrices, correlation, Multiple regression
Explanation of code in brain.sas
corn.sas
Polynomial regression
Explanation of code in corn.sas
Self assessment
on multiple linear regression
tamsales1.txt
data file for self assessment
Lab 11: 10 Apr
light.sas
Creating indicator variables
Explanation of code in light.sas
Light.txt
Data file for light and flowering time study, for light.sas
sat.sas
Model selection
Explanation of code in sat.sas
sat.xlsx
Data file for SAT problem
Self assessment
on model selection
modelsel.csv
data file for self assessment
Lab 12: 18 Apr
collard.sas
2 way factorial ANOVA
Explanation of code in collard.sas
collard.txt
Data for collard study
vitc.sas
Contingency table and proportions
vitc.txt
Data for Vitamin C study
viotclong.csv
Data for Vitamin C study, long format
Explanation of code in vitc.sas
Lab 13: 25 Apr
donner.sas
Logistic regression
Explanation of code in donner.sas
donner.csv
Data for Donner party analysis
matings.sas
Analysis of count data
Explanation of code in matings.sas
matings.csv
Elephant matings data set