Re: [R] Survreg function for loglogistic hazard estimation

2010-03-19 Thread akeras
I a trying to use survreg to fit a Weibull distribution. From the last few messages I understand how to interpret the parameters. However, how do I get the covariance of lambda and alpha? Is there a predict command for that? Thanks -- View this message in context: http://n4.nabble.com/Survreg-f

Re: [R] Survreg function for loglogistic hazard estimation

2009-06-08 Thread chenjiakai
Dear Terry, Thanks a lot for your reply. The result of survreg reads like: Call: survreg(formula = Surv(end, status) ~ fico_demean, data = raw, dist = "loglogistic", model = TRUE) Value Std. Error z p (Intercept) 2.98365 1.34e-03 2233.2 0.00e+00 fico_demean

Re: [R] Survreg function for loglogistic hazard estimation

2009-06-08 Thread Terry Therneau
---begin included message -- I am trying to use R to do loglogistic hazard estimation. My plan is to generate a loglogistic hazard sample data and then use survreg to estimate it. If everything is correct, survreg should return the parameters I have used to generate the sample data. I have w

[R] Survreg function for loglogistic hazard estimation

2009-06-06 Thread chenjiakai
I am trying to use R to do loglogistic hazard estimation. My plan is to generate a loglogistic hazard sample data and then use survreg to estimate it. If everything is correct, survreg should return the parameters I have used to generate the sample data. I have written the following code to d