Dear all,

I'm trying to estimate a tobit model with  survrec function. I use the 
following code : 
reg<-survreg(Surv(crs_prod,crs_prod<=1)~SOLVA+log(AF088)+HHI+ACTIONNA,data=dat,dist="gaussian")

I get this error message with R 2.7.2 
Error in survreg(Surv(crs_prod, crs_prod <= 1) ~ SOLVA + log(AF088) +  : 
  Response must be a survival object

Can you help me ?

 Justin BEM
BP 1917 Yaoundé
Tél (237) 99597295
(237) 22040246



      
        [[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