Exercises page for Biostats Course VHM 801 at AVC - Fall Semester 2018

Follow this link to extra exercises.

This page contains links to solutions (as text files, to be opened in Notepad or another editor/wordprocesser) of selected exercises for VHM 801. The solutions have been compiled by the Biostats 801 course instructor, Henrik Stryhn (with help from Jenny Yu).


Solutions to exercises

(from Supplementary Exercises for IPS7e)
  1. 1, 10, 16, 22, 42, 51, 65, 72, 77, 110, 111, 113, 117, 121, 123, 127, 144, 145,
  2. 2, 7, 11, 12, 27, 28, 48, 50, 53, 57, 59, 60, 67, 69,
  3. 4, 10, 14, 18, 19, 40, 52, 77, 79, 94, 95,
  4. 9, 10, 14, 26, 48, 52, 56, 60, 71, 73, 75, 76, 78, 92, 107, 108, 115, 122, 123,
  5. 7, 9, 14, 33, 40, 47, 49, 51, 53, 54, 59, 64,
  6. 7, 13, 14, 33, 38, 39, 45, 46, 68, 70, 85, 87, 95, 103, 108, 115, 140, 142,
  7. 4, 40, 50, 58, 59, 64, 66, 68, 73, 74, 91, 93, 102, 103, 104, 127, 129, 132, 143, 145,
  8. 1, 21, 33, 62, 67, 84, 85, 98, 103,
  9. 20, 36, 38, 39, 40, 44, 48, 50, 52, 62,
  10. 7, 12, 17, 18, 26, 27, 33, 38, 39, 40,
  11. 1, 9, 25, 26, 27, 35, 40, 43, 54, 55,
  12. 3, 4, 15, 16, 19, 31,
  13. 7, 8, 17, 18, 19, 33, 37,
  14. 8, 19, 22, 45,


Stata do-files for exercises

  1. 10, 51, 77, 110, 111, 127, 145,
  2. 2, 7, 11, 12, 27, 28, 48, 53, 57, 59, 60,
  3. 14, 40,
  4. 10, 71,
  5. 7, 40, 49, 53, 59, 64,
  6. 13, 14, 87, 95, 115,140,
  7. 4, 58, 59, 64, 68, 73, 74, 91, 93, 102, 103, 127, 143, 145,
  8. 62, 84, 85,
  9. 20, 36, 38, 44, 48, 50, 52,
  10. 7, 12, 17, 33, 38, 39,
  11. 35, 43, 54, 55,
  12. 2-way ANOVA template, 15, 31,
  13. 33, 37,
  14. 8, 19, 22,


R program files for exercises

  1. 10, 51, 77, 110, 111, 127, 145,
  2. 2, 11, 12, 48,
  3. 14, 40,
  4. 10, 71,
  5. 7, 40, 49, 53, 59, 64,
  6. 13, 14, 87, 95, 115, 140,
  7. 4, 58, 59, 64, 68, 73, 74, 102, 103, 127, 143, 145,
  8. 62, 84, 85,
  9. 20, 36, 38, 48, 50,
  10. 7, 17, 38, 39,
  11. 35, 43, 54, 55,
  12. 2-way ANOVA template, 31,
  13. 33,
  14. 8, 19, 22,


Data files

(.zip archive of all current data files)


Data files (.mtw)


Data files (.csv)


Extra exercises


Solutions to extra exercises:

x:1, x:2, x:3, x:4, x:5, x:6, x:7, x:8 (do-file; R-program), x:9, x:10, x:11, x:12, x:13, x:14, x:15, x:16, x:17, x:18 (do-file), x:19, x:20 (do-file), x:21 (do-file; R-program), home assignment 2001:1, home assignment 2003.4, final exam 2006:3, home assignment 2009:2,



Henrik Stryhn (hstryhn@upei.ca) 2018-11-25