Practical Computing Exercise for Week 7:

Download the template R markdown file for this workshop.

Aims of this practical exercise

In this exercise you will:

  • Compare links for the Gamma family.

predict patient survival time in a Drug trial based on age and type of drug. Obtain the data using:

    data(Cancer, package="ELMER")

N.B. The StudyTime is the response for this analysis. The indicator of death is used if we advance this analysis to use “survival analysis” techniques, which are beyond the scope of this course.

Fit a GLM and compare the use of link=log to link=identity.

Solutions

You should compare your work with the solutions for this workshop.