Stat 401 index to computer code
Details are found by looking on the software-specific page:
JMP,
R,
SAS.
- Language-specific information
- JMP: saving work in Journals: Lab 3
- R: saving and loading workspaces: Lab 3
- SAS: clearing log and results windows: Lab 3
- SAS: saving results in .rtf files: Lab 2
- Reading data
- when data included with SAS code: Lab 8, meat1.sas
- SAS tricks: Lab 7, readcharacter.sas
- from excel .csv files: Lab 1
- from text (.txt) files: Lab 2
- from excel .xlsx files: Lab 4, hamburger example
- Manipulating data
- calculating differences: Lab 3: Pairedt
- transformations, especially log: Lab 3: Pairedt
- averaging subsamples: Lab 5, calcmeans
- constructing polynomial terms: Lab 10, corn
- constructing indicator variables: Lab 11, light
- Subsetting data: Lab 8, fdr
- Descriptive statistics and plots:
- numerical summaries: Lab 1
- histograms, box plots: Lab 1
- residual vs predicted value plot: Lab 7, dietall
- Scatterplot matrices: Lab 10, brain
- Two sample comparisons:
- Permutation/randomization test: Lab 2
- T-tests: Lab 3
- Wilcoxon rank sum test: Lab 4, hamburger
- Paired data:
- T-tests: Lab 3, Pairedt
- Wilcoxon signed rank test: Lab 3, Pairedt
- ANOVA:
- F tests, linear contrasts, multiple comparisons: Lab 7, dietall
- Saving residuals: Lab 5: calcmeans
- False discovery rate: Lab 8, fdr
- Type III (partial) and Type I (sequential) SS: Lab 10, brain
- 2 way ANOVA: lab 12, collard
- Regression:
- Estimating parameters, predictions: Lab 8, meat1
- Confidence intervals on parameters, confidence and prediction
intervals for Y: Lab 9, meat
- ANOVA lack of fit test: Lab 9
- Multiple regression: Lab 10, brain, corn, also Lab 11: light
- Logistic regression (0/1) response:
- Analysis of counts:
- Contingency table, Chi-square test: Lab 12, vitc
- Poisson and Binomial regression: Lab 13, matings