I was looking at how the weibull distribution is parameterised in survreg() in R and found a similar query posed in a thread at stack overflow: https://stackoverflow.com/questions/16236939/plot-survival-and-hazard-function-of-survreg-using-curve/51385718#51385718
The OPs query yielded 2 opinions:
1) scale=exp(intercept) 2) scale=exp(Intercept+beta*x)
If you go through ??survreg, you get this:
a) survreg's intercept = log(rweibull scale)
I also went through ??survreg.distributions and found this:
b) survreg scale parameter maps to 1/shape, linear predictor to log(scale)
b) obviously makes better sense - am I reading this right
To be more specific, I want to know how is the scale parameter from dweibull linked to the linear predictor from survreg(). I also consequently want to know how to compute the hazard function from the survreg() output.