search for: surreg

Displaying 2 results from an estimated 2 matches for "surreg".

Did you mean: survreg
2005 Mar 12
1
pretty print of summary
...ect my.survreg.object in a very neat fashion. I would like to have that sent to a file, in ascii format, as it appears within the interactive mode. Is that possible ? This seems like a very simple task, but i haven't found the solution: - print doesn't care about a file option - save(my.surreg.object,file="tmp",ascii=T) almost does it but puts every word on its own line, so "tmp" contains a very long column of words. - dump will output the structure of the object so it can be loaded back. - write is suited for matrices of data, not arbitrary objects. Something else i...
2011 Aug 31
6
Weights using Survreg
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...