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

Follow this link to extra exercises (labeled as x:number).

This page contains links to solutions (either as text files, to be opened directly in a web browser or in Notepad (or similar), or as .pdf files, to be opened in a suitable reader, such as Adobe Acrobat) for selected exercises of 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, 57, 59, 60, 67, 69,
  3. 4, 10, 14, 18, 19, 40, 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,
  6. 7, 11, 12, 13, 14, 33, 38, 39, 45, 46, 68, 70, 85, 87, 95, 96, 99, 103, 107, 108, 111, 115, 140, 142,
  7. 4, 50, 58, 59, 64, 66, 68, 73, 74, 91, 93, 102, 103, 104, 127, 129, 132, 143, 145,
  8. 1, 21, 33, 62, 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. 6, 15, 16, 17, 45,
  12. 1, 9, 25, 26, 27, 35, 36, 40, 43, 54, 55,
  13. 3, 4, 15, 16, 19, 31,
  14. 7, 8, 17, 18, 19, 33, 37,
  15. 8, 19, 22, 45,
  16. 4, 14,


Stata do-files for exercises

  1. 10, 42, 72, 51, 77, 110, 111, 127, 145,
  2. 2, 7, 11, 12, 27, 28, 48, 57, 59, 60,
  3. 14, 40,
  4. 10, 71,
  5. 7, 40, 49, 53,
  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. 15, 16, 17,
  12. 35, 43, 54, 55,
  13. 15, 31,
  14. 33, 37,
  15. 8, 19, 22,


R program files for exercises

  1. 10, 42, 72, 51, 77, 110, 111, 127, 145,
  2. 2, 11, 12, 48,
  3. 14, 40,
  4. 10, 71,
  5. 7, 40, 49, 53,
  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. 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, x:19 (do-file), x:20, x:21 (do-file), x:22 (do-file; R-program), x:23, home assignment 2001:1, home assignment 2003.4, final exam 2006:3, home assignment 2009.2,



Henrik Stryhn (hstryhn@upei.ca) 2020-11-28