[R] change likelihood function in survreg

2011-10-07 Thread Nicolas RODE
Dear R users, I'd like to fit different longevities for males and females (µm vs µf below) with a Weibull interval-censored survival model. Unfortunately more than 50% of the individuals in the experiment died before their sex could be assigned. Hence I was wondering about fitting the propo

[R] random effect prediction with $frail in survreg

2010-04-13 Thread Nicolas RODE
Dear R users, I'm trying to fit a survival model using the survreg function with a Weibull distribution. I'm using the frailty() function in order to fit a "family" random effect in my model. I would like to calculate the estimate for each observation and I know the predict() function doesn't wor

[R] Weibull survival regression model with different shape parameters

2009-10-02 Thread Nicolas RODE
Dear R users, I'm trying to fit a parametric survival model using the survreg function with a Weibull distribution. I'm studying the time to death of individuals from different families and I would like to fit different shape parameters (ie 1/scale in R) for each of the families. I looked it up in