Re: [R] survreg's algorithm

2007-10-16 Thread Gad Abraham
Thomas Lumley wrote: > On Tue, 16 Oct 2007, Gad Abraham wrote: > >> Gad Abraham wrote: >>> Hi, >>> >>> I'm using survreg() from the survival package for parametric survival >>> regression (modelling inter-arrival times of patients to a waiting list >>> as exponentially distributed, with various re

Re: [R] survreg's algorithm

2007-10-16 Thread Gad Abraham
Terry Therneau wrote: > Gad Abraham wrote: >> Hi, >> >> I'm using survreg() from the survival package for parametric survival >> regression (modelling inter-arrival times of patients to a waiting list >> as exponentially distributed, with various regressors such as queue size >> and season). >>

Re: [R] survreg's algorithm

2007-10-16 Thread Thomas Lumley
On Tue, 16 Oct 2007, Gad Abraham wrote: > Gad Abraham wrote: >> Hi, >> >> I'm using survreg() from the survival package for parametric survival >> regression (modelling inter-arrival times of patients to a waiting list >> as exponentially distributed, with various regressors such as queue size >>

Re: [R] survreg's algorithm

2007-10-16 Thread Terry Therneau
Gad Abraham wrote: > Hi, > > I'm using survreg() from the survival package for parametric survival > regression (modelling inter-arrival times of patients to a waiting list > as exponentially distributed, with various regressors such as queue size > and season). > > Does anyone know which algo

Re: [R] survreg's algorithm

2007-10-15 Thread Simon Blomberg
Did you look at the C source code? There are 4 different variants (survregN.c, where N <- 2:5) , depending on whether the distribution is built-in or not, and penalized likelihood is being used or not. They all look like NR to me, but I confess I haven't read the code in extreme detail. It is well

Re: [R] survreg's algorithm

2007-10-15 Thread Gad Abraham
Gad Abraham wrote: > Hi, > > I'm using survreg() from the survival package for parametric survival > regression (modelling inter-arrival times of patients to a waiting list > as exponentially distributed, with various regressors such as queue size > and season). > > Does anyone know which algo

[R] survreg's algorithm

2007-10-15 Thread Gad Abraham
Hi, I'm using survreg() from the survival package for parametric survival regression (modelling inter-arrival times of patients to a waiting list as exponentially distributed, with various regressors such as queue size and season). Does anyone know which algorithm survreg() uses for this? Tha