correlated frailties in R

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

correlated frailties in R

elias
This post was updated on .
Hi all,

I have the structure of following data :
<http://r.789695.n4.nabble.com/file/t386105/sample.jpg

I have two models:
model1:(shared frailty )
Assume all id have a shared frailty (who has a disease and who didn't )
then I could use the following code:
coxme(Surv(time_to_death,Death)~sex+(1|id),data=sample)
or coxph(Surv(time_to_death,Death)~ sex + frailty(id), data=sample)

model2:(correlated frailty)
Assuming there is a correlation between people who had a disease and who did
not have a disease.

I'm not sure how I could fit the correlated frailty in R?

Could you please help me is there any way I can do it through coxme package?

Thanks





--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
_______________________________________________
datatable-help mailing list
datatable-help@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help