Re: [R] differences between survival models between STATA and R

2012-07-09 Thread Javier Palacios Fenech
n using two types of survival programs to analyse a data set. > > The first one is an R function called aftreg. The second one an STATA > function called streg. > > Both of them include the same analyisis with a weibull distribution. Yet, > results are very different. > > Sho

Re: [R] COXPH TIME-DEPENDENT

2011-08-19 Thread javier palacios
Thanks, Javier -- View this message in context: http://r.789695.n4.nabble.com/COXPH-TIME-DEPENDENT-tp3754837p3756128.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listin

[R] AFT model time-dependent with weibull distribution

2011-08-19 Thread javier palacios
Dear R-community, I have tried to estimate an accelerated failure time(AFT) and proportional hazard (PH) parametric survival model with time-independent and time-dependent covariates. For that purpose, I have used the eha package. Please, consider this example: weibullph <- phreg(Surv(sta,ti