# STAT 510 Code

### Spring 2019

- The Beginning of an Introduction to R for New Users
- R Reference Card
- R code from slide set 3 on reduced vs. full model comparison
- SAS code from slide set 3 on testing for lack of linear fit in a simple example
- SAS code from slide set 4 on two-factor cell means analysis
- R code for slide set 4 on two-factor cell means analysis
- SAS code from slide set 5 on two-factor additive model analysis
- R code from slide set 5 on two-factor additive model analysis
- R code from slide set 6 on ANOVA for the plant density data
- R code from slide set 7 on ANOVA for a balanced two-factor study
- R code from slide set 8 on ANOVA for an unbalanced two-factor study
- SAS code from slide set 8 on ANOVA for an unbalanced two-factor study
- SAS code from slide set 9 on the diet-drug analysis
- R code from slide set 10 seedling dry weight data
- SAS code from slide set 13 the Cochran-Satterthwaite Approximation
- SAS code from slide set 16 on split-plot analysis
- R code from slide set 17 on split-plot analysis
- SAS code nesting.sas mentioned in slide set 18
- R code for simulating data for the cake example
- R code from slide set 19 on maximum likelihood estimation in the seedling dry weight example
- R code from slide set 20 on REML estimation in the seedling dry weight example
- R code from slide set 21 BLUP in the seedling dry weight example
- R code from slide set 24 on repeated measures
- SAS code from slide set 25 on repeated measures
- R code from slide set 26 on generalized linear models for Bernoulli data
- R code from slide set 27 on generalized linear models for Binomial data
- R code from slide set 28 on generalized linear models for Poisson data
- R code from slide set 29 on generalized linear mixed-effect models
- R code for Homework 13 Problems 2, 3, 4, and 7