question 2
*aftreg vs. survreg*
for aftreg = S0 *{t/exp(b-BXi)]^a} a= shape and b= log(scale)
for survreg and stata S0 *{t*exp(intercept+BXi)]^1/p} p=shape
/intercept, log(scale) and estimates are equivalent with reversed sign./
*PH and AFT*
/phreg.Bhat= aftreg.Bhat * shape /
--
View this message in context:
http://r.789695.n4.nabble.com/AFT-model-time-dependent-with-weibull-distribution-tp3755079p3757871.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.