Displaying 20 results from an estimated 5000 matches similar to: "Shared Frailty in survival package (left truncation, time-dep. covariates)"
2005 May 23
0
Left truncation in shared frailty models with time-varying covariates
Hi!
I want to estimate a shared gamma frailty model with left truncated data. I use a parametric baseline hazard so that I can use
simple ML estimation. As I have a big data set it is ok to assume piecewise constant baseline hazards.
As my data are left truncated I have modified the definition of the risk set.
Do I also have to modifiy the frailty distribution if I have left truncated data?
2005 Jan 06
0
Parametric Survival Models with Left Truncation, survreg
Hi,
I would like to fit parametric survival models to time-to-event data
that are left truncated. I have checked the help page for survreg and
looked in the R-help archive, and it appears that the R function survreg
from the survival library (version 2.16) should allow me to take account
of left truncation. However, when I try the command
2003 Aug 04
1
coxph and frailty
Hi:
I have a few clarification questions about the elements returned by
the coxph function used in conjuction with a frailty term.
I create the following group variable:
group <- NULL
group[id<50] <- 1
group[id>=50 & id<100] <- 2
group[id>=100 & id<150] <- 3
group[id>=150 & id<200] <- 4
group[id>=200 & id<250] <- 5
group[id>=250
2009 Dec 18
2
Covariate adjusted survival curves
Hello,
We are using frailty models to estimate risk of one year death. Is there a
way to generate survival curves adjusted for covariates and also include
frailty term?
Any help will be much appreciated!
Thanks!
LV
[[alternative HTML version deleted]]
2004 Nov 17
1
frailty and time-dependent covariate
Hello,
I'm trying to estimate a cox model with a frailty variable and time-dependent covariate (below there is the statement I use and the error message). It's seems to be impossible, because every time I add the time-dependent covariate the model doesn't converge. Instead, if I estimate the same model without the time-dependent covariate it's converge. I'd like knowing if
2004 Nov 08
1
coxph models with frailty
Dear R users:
I'm generating the following survival data:
set.seed(123)
n=200 #sample size
x=rbinom(n,size=1,prob=.5) #binomial treatment
v=rgamma(n,shape=1,scale=1) #gamma frailty
w=rweibull(n,shape=1,scale=1) #Weibull deviates
b=-log(2) #treatment's slope
t=exp( -x*b -log(v) + log(w) ) #failure times
c=rep(1,n) #uncensored indicator
id=seq(1:n) #individual frailty indicator
2007 Apr 20
1
Approaches of Frailty estimation: coxme vs coxph(...frailty(id, dist='gauss'))
Dear List,
In documents (Therneau, 2003 : On mixed-effect cox
models, ...), as far as I came to know, coxme penalize
the partial likelihood (Ripatti, Palmgren, 2000) where
as frailtyPenal (in frailtypack package) uses the
penalized the full likelihood approach (Rondeau et al,
2003).
How, then, coxme and coxph(...frailty(id,
dist='gauss')) differs? Just the coding algorithm, or
in
2005 Sep 08
1
Survival model with cross-classified shared frailties
Dear All,
The "coxph" function in the "survival" package allows multiple frailty
terms. In all the examples I saw, however, the frailty terms are nested.
What will happen if I have non-nested (that is, cross-classified) frailties
in the model? Will the model still work? Do I need to take special cares
when specifying these models? Thanks!
Shige
[[alternative HTML
2002 Oct 08
2
Frailty and coxph
Does someone know the rules by which 'coxph' returns 'frail', the
predicted frailty terms? In my test function:
-----------------------------------------------
fr <- function(){
#testing(frailty terms in 'survival'
require(survival)
dat <- data.frame(exit = 1:6,
event = rep(1, 6),
x = rep(c(0, 1), 3),
2011 Jun 25
2
cluster() or frailty() in coxph
Dear List,
Can anyone please explain the difference between cluster() and
frailty() in a coxph? I am a bit puzzled about it. Would appreciate
any useful reference or direction.
cheers,
Ehsan
> marginal.model <- coxph(Surv(time, status) ~ rx + cluster(litter), rats)
> frailty.model <- coxph(Surv(time, status) ~ rx + frailty(litter), rats)
> marginal.model
Call:
coxph(formula =
2004 Nov 24
1
OOT: frailty-multinivel
Hola!
I started to search for information about multilevel survival models, and
found frailty in R. This seems to be something of the same, is it the same?
Then: why the name frailty (weekness?)
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
2003 May 19
1
survit function and cox model with frailty
Hi:
I have a question about the use of the survfit function after the
estimation of a cox proportional hazard model with a frailty term. My goal
is to estimate expected survival probabilities while controlling for the
group-specific frailty term.
First, I estimate a model of the following form:
model1 <- coxph(Surv(t0, t, d) ~ x1 + x2 + frailty(id), na.action=na.exclude,
2008 Apr 17
1
survreg() with frailty
Dear R-users,
I have noticed small discrepencies in the reported estimate of the
variance of the frailty by the print method for survreg() and the
'theta' component included in the object fit:
# Examples in R-2.6.2 for Windows
library(survival) # version 2.34-1 (2008-03-31)
# discrepancy
fit1 <- survreg(Surv(time, status) ~ rx + frailty(litter), rats)
fit1
fit1$history[[1]]$theta
2008 Feb 21
2
Nested frailty model
Dear R-help,
I am trying to estimate a Cox model with nested effects, or better
h(t,v,w)=v*w*h0(t)*exp(B'x)
where h(t,v,w) is the individual hazard function
w and v are both frailty terms (gamma or normal distributed)
I have 12 clusters and for each one of them I would like to associate a
realization of v, while w is a random effect for the whole population.
At the population level
2003 May 07
0
frailty models in survreg() -- survival package (PR#2933)
I am confused on how the log-likelihood is calculated in a parametric
survival problem with frailty. I see a contradiction in the frailty() help
file vs. the source code of frailty.gamma(), frailty.gaussian() and
frailty.t().
The function frailty.gaussian() appears to calculate the penalty as the
negative log-density of independent Gaussian variables, as one would
expect:
>
2005 Sep 07
1
Survival analysis with COXPH
Dear all,
I would have some questions on the coxph function for survival analysis,
which I use with frailty terms.
My model is:
mdcox<-coxph(Surv(time,censor)~ gender + age + frailty(area, dist='gauss'),
data)
I have a very large proportion of censored observations.
- If I understand correctly, the function mdcox$frail will return the random
effect estimated for each group on the
2009 Aug 31
2
How to extract the theta values from coxph frailty models
Hello,
I am working on the frailty model using coxph functions. I am running
some simulations and want to store the variance of frailty (theta)
values from each simulation result. Can anyone help me how to extract
the theta values from the results. I appreciate any help.
Thanks
Shankar Viswanathan
2003 May 07
0
Re: frailty models in survreg() -- survival package (PR#2934)
On Tue, 6 May 2003, Jerome Asselin wrote:
>
> I am confused on how the log-likelihood is calculated in a parametric
> survival problem with frailty. I see a contradiction in the frailty() help
> file vs. the source code of frailty.gamma(), frailty.gaussian() and
> frailty.t().
>
> The function frailty.gaussian() appears to calculate the penalty as the
> negative
2005 Jul 21
1
output of variance estimate of random effect from a gamma frailty model using Coxph in R
Hi,
I have a question about the output for variance of random effect from a gamma
frailty model using coxph in R. Is it the vairance of frailties themselves or
variance of log frailties? Thanks.
Guanghui
2007 Apr 17
3
Extracting approximate Wald test (Chisq) from coxph(..frailty)
Dear List,
How do I extract the approximate Wald test for the
frailty (in the following example 17.89 value)?
What about the P-values, other Chisq, DF, se(coef) and
se2? How can they be extracted?
######################################################>
kfitm1
Call:
coxph(formula = Surv(time, status) ~ age + sex +
disease + frailty(id,
dist = "gauss"), data = kidney)