**Survival Analysis and the Frailty Model **

With Brian Tom

Chapter 30 in *The SAGE Handbook of Multilevel Modeling*

Editors: Marc A. Scott, Jeffrey S. Simonoff, and Brian D. Marx

Thousand Oaks, California: SAGE, 2013

For feedback:

**R code for Gompertz survival model**

Code for frailty model.

**R code for Gompertz illness-death model**

Code for frailty model.

**OpenBUGS code**

Code and BUGS data for
Gompertz survival frailty model.

Code and BUGS data for
Gompertz illness-death frailty model.

**Note**: Some of the figures are not correctly printed in the first version of the book.
This may have been corrected in later prints or in the e-book. Here are the correct graphs (copyrighted):

Figure 30.1 LHS

Figure 30.1 RHS

Figure 30.3

Figure 30.5