[R] Frailty and tt terms in coxph

2014-11-04 Thread Christos Argyropoulos
Dear all, I am receiving the following error when trying to include both tt (time transforms) and frailty terms in coxph > coxph(Surv(time, status) ~ ph.ecog + tt(age)+cluster(sex), data=lung, + tt=function(x,t,...) pspline(x + t/365.25)) Error in residuals.coxph(fit2, type = "dfbeta", coll

[R] Frailty variable and cluster function in coxph

2012-07-31 Thread BrittD
I have a dataset with the variables: idstart stop event tempdiff straling The data contains recurrent event, so for each id more than one interval is created and more than one event can occur. I have fitted the next model: mod1 = coxph(Surv(start,stop,event) ~ tempdiff3 + straling3

Re: [R] frailty and survival curves

2011-04-06 Thread Terry Therneau
With respect to Cox models + frailty, and post-fit survival curves. 1. There are two possible survival curves, the conditional curve where we identify which center a subject comes from, and the marginal curve where we have integrated out center and give survival for an "unspecified" individual.

[R] frailty

2011-04-05 Thread hsr
Hi R-users I spend a lot of time searching on the web but I didn’t found a clear answer. I have some doubts with 'frailty' function of 'survival' package. The following model with the function R ‘coxph’ was fitted: modx <- coxph(Surv(to_stroke, stroke) ~ age + sbp + dbp + sex + frailty(center,d

Re: [R] Frailty model -- Conditional or Marginal?

2011-03-09 Thread Thomas Lumley
On Thu, Mar 10, 2011 at 6:33 AM, hongsheng wu wrote: > Dear all, > > When I ran a frailty model like, > > model <- coxph(Surv(Day, Indicator) ~ trt + frailty(group, > distribution="gaussian")) > > The variance of effect estimate of trt was estimated by conditional model or > marginal model? The f

[R] Frailty model -- Conditional or Marginal?

2011-03-09 Thread hongsheng wu
Dear all, When I ran a frailty model like, model <- coxph(Surv(Day, Indicator) ~ trt + frailty(group, distribution="gaussian")) The variance of effect estimate of trt was estimated by conditional model or marginal model? Thanks. Alex [[alternative HTML version deleted]] _

[R] Frailty models and omnibus test

2009-03-29 Thread Johannes Huesing
This is very possibly not a question on R. I was under the impression that the argument that gives rise to Fisher's LSD method in ANOVA works in other situations with three-way comparisons too, given that formal logic works the same ("if the omnibus test rejects, only two of the three groups may b

[R] Frailty by strata interactions in coxph ( or coxme)‏

2009-01-07 Thread Christos Argyropoulos
Hello, I was hoping that someone could answer a few questions for me (the background is given below): 1) Can the coxph accept an interaction between a covariate and a frailty term 2) If so, is it possible to a) test the model in which the covariate and the frailty appear as main terms using the

Re: [R] Frailty

2007-11-21 Thread Gad Abraham
David wrote: > Hi > Which package(s) is R fit frailty models to univariate survival data, i.e. > simple data with one survival time per person. I haven't used it myself, but have a look at ?frailty in the survival package. -- Gad Abraham Department of Mathematics and Statistics The University

[R] Frailty

2007-11-21 Thread David
Hi Which package(s) is R fit frailty models to univariate survival data, i.e. simple data with one survival time per person. David [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-