STAT 510 Code

Spring 2019

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