| To: | <s-news@lists.biostat.wustl.edu> |
|---|---|
| Subject: | Coxme function |
| From: | "Hunsicker, Lawrence" <lawrence-hunsicker@uiowa.edu> |
| Date: | Tue, 9 Sep 2008 14:28:22 -0500 |
| Thread-index: | AckSsjlKn6Qzot/XQ46axRb7we7ifg== |
| Thread-topic: | [S] Coxme function |
|
Good morning again, friends. I want to thank Terry Therneau and Mike O'Connell for their help with the following questions that I have asked over the past weeks: > I would like to run a Cox mixed model in which there are both individual covariates and group covariates. When one is running a mixed linear model, one includes the group covariates in the specification of the random effects. But so far as I can see, there is no way to do this with the “frailty” term in the coxph function. What is the correct way to enter group covariates in the coxph model? Terry has pointed out to me the new S-Plus function (which he wrote) coxme, which handles Cox mixed models much more generally than the old coxph with a frailty term. Coxme uses a more flexible method for specifying the fixed and random effects, essentially the same grammar as in Pinheiro's lme function. It is also blazingly faster on big data sets. In comparable analyses that I ran, the coxme ran in five minutes and gave essentially identical answers as the coxph with frailty, that took over one hour to converge. Terry has written up a detailed technical report on the motivation and the workings of this new function that is available at: www.mayo.edu/biostatistics
The second question was related to the first:
Terry's response: First, use coxme for the models. It is superior to coxph + frailty. To test for significance of the random effect, compare the integrated likelihood from a coxme model to the model without a random effect, i.e., to a coxph result with the same variables. A standard LR test. Again, thanks in particular to Terry for providing this function and help in using it correctly, and to Mike O'Connell in pointing me to it. Larry Hunsicker |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | ICC with sparse data, Stuart Luppescu |
|---|---|
| Next by Date: | New Amsterdam course "Pharmacokinetic and pharmacodynamic modeling and simulation", Dick Verkerk |
| Previous by Thread: | ICC with sparse data, Stuart Luppescu |
| Next by Thread: | New Amsterdam course "Pharmacokinetic and pharmacodynamic modeling and simulation", Dick Verkerk |
| Indexes: | [Date] [Thread] [Top] [All Lists] |