Skip to content
Prev 59623 / 398502 Next

Weibull survival regression

On Tue, Nov 23, 2004 at 06:56:56AM -0000, Eric Lim wrote:
Right, plot.weibreg in eha is very poorly implemented, newdata does not
work, you cannot change labels of the plot, etc. I hope to get time to do
it right soon, but...

Anyway, the problem is simple to solve: You get the estimates of scale and
shape of the Weibull distribution (or their logarithms). Since eha uses
"standard R parametrization", you can simply plot the functions 
"dweibull / pweibull( , lower.tail = FALSE)" with the estimated parameters
inserted for the hazard function, and "pweibull( , lower.tail = FALSE)" for
the survival function.

[...]

G??ran