R (and SAS) program files for Directed Studies Course VHM 882 at AVC - Winter Semester 2005
This page contains links to R programs (as textfiles, to be opened in Notepad
or another editor/wordprocesser) of selected examples and exercises of
the course. The files have been compiled by the Biostats 882 course instructor, Henrik Stryhn.
Davis (2002), Statistical Methods for the Analysis of Repeated Measurements
- Chapter 2: Example 2.1 (Table 2.1),
Example 2.3 (Table 2.5),
Example 2.4 (Table 2.7),
Exercise 2.3,
Exercise 2.4,
Exercise 2.13,
- Chapter 3: Example 3.1 (Table 2.1),
Example 3.2 (Table 3.1),
Example 3.3 (Table 3.3),
Exercise 3.6,
Exercise 3.9,
Exercise 3.11,
- Chapter 4: Example 4.1 (Table 3.3),
Example 4.2 (Table 3.1),
Example 4.3 (Table 3.3),
Exercise 4.3,
Exercise 4.8,
Exercise 4.11,
- Chapter 5: Example 5.1 (Table 3.3),
Example 5.2 (Table 5.4),
Additional example (Table 3.3),
Exercise 5.4,
Exercise 5.9,
- Chapter 6: Example 6.1 (Table 3.3),
Example 6.2 (Table 6.3)
(SAS-code),
Example 6.3 (Table 6.6)
(SAS-code),
Exercise 6.2,
Exercise 6.7,
- Chapter 9: Example 9.1 (Table 9.1),
Exercise 9.5,
Exercise 9.7,
Exercise 9.11,
Exercise 9.12,
Pinheiro and Bates (2000), Mixed-Effects Models in S and S-Plus
Extra examples
- SCC example (Dohoo et al., 2003): SAS,
- 2x2 cross-over (Diggle et al., 2002): R, SAS
- 3x3 cross-over (Diggle et al., 2002): R, SAS
- cd4 seizure counts (Diggle et al., 2002): R, SAS
- Indonesian children (Diggle et al., 2002): R,
- Cow milk protein contents (Diggle et al., 2002): R,
Additional exercises
- Session 2: 2.1, 2.2
- Session 7: 7.1,
- Home assignments: 1,
- Session 12: 12.1,
Henrik Stryhn
(hstryhn@upei.ca) 2005-04-08