Skip to content

survreg (survival) reports erroneous results for left-censored data (PR#2287)

1 message · stefano iacus

#
Thomas,
you were right. It works now. This is what I get with Carbon R and the 
patched survival package.
I will upload a patched version of survivalLib. Can you please fix 
SurvS.h sources?
Stefano


 > survreg(Surv(c(0,1,-1),c(T,T,F),type='left')~1,dist='gaussian')
Call:
survreg(formula = Surv(c(0, 1, -1), c(T, T, F), type = "left") ~
     1, dist = "gaussian")

Coefficients:
(Intercept)
  -0.2321569

Scale= 1.161135

Loglik(model)= -4.1   Loglik(intercept only)= -4.1
n= 3
On Saturday, November 16, 2002, at 12:59 AM, Thomas Lumley wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._