Dear R users,

I have been trying to understand what the Weights arguments is doing in the
estimation of the parameters when using the Surreg function.
I looked through the function's code but I am not sure if I got it or not.
For example, if I inclue the Surv function in it:

survreg(Surv(vector, status)~1,weights=vector2,dist="Weibull")

will it try to maximize the likelihood with a weight on each density
function f (when non-censored) and 1-distribution, 1-F (censored case)?

Can anyone tell me if I'm in the right way?

Thank you very much,

Boris

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to