Hi Group, I wonder if R has the function CensorReg which takes care of left truncation. I know it's in S. Thank you so much! Kel __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 12 Feb 2001, Kel wrote:> Hi Group, > > I wonder if R has the function CensorReg which takes > care of left truncation. I know it's in S. Thank you > so much!In R the survival analysis functions live in the 'survival5' package. survreg() is the nearest equivalent to CensorReg. It fits parametric survival models. coxph() fits semiparametric proportional hazards models. They both allow left-truncation. survreg() in addition allows left-censoring and interval censoring. -thomas PS: CensorReg() is not in S. It's in recent versions of S-PLUS. Thomas Lumley Asst. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Monday 12 February 2001 16:50, Kel wrote:> Hi Group, > > I wonder if R has the function CensorReg which takes > care of left truncation. I know it's in S. Thank you > so much! >Not exactly, but there's the function survreg in library survival5, which has equivalent functionality (CensorReg is, at least partly, based on it, as the S-Plus docs state). You can look at its help text, or the document http://www.mayo.edu/hsr/people/therneau/survival.ps by the author of the survival5 library, Terry Therneau. Cheers Kaspar -- Kaspar Pflugshaupt Geobotanical Institute ETH Zurich, Switzerland http://www.geobot.umnw.ethz.ch mailto:pflugshaupt at geobot.umnw.ethz.ch -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._