s-news
[Top] [All Lists]

Re: Weibull questions

To: kamiltoth@yahoo.com
Subject: Re: Weibull questions
From: Terry Therneau <therneau@mayo.edu>
Date: Sun, 16 May 2004 21:13:28 -0500 (CDT)
Cc: s-news@lists.biostat.wustl.edu
Reply-to: Terry Therneau <therneau@mayo.edu>
 
  2. How to fit a weibull?
      Although survReg and censorreg were designed to allow for censored data,
 they work just fine with ordinary Weibull data.
 
        fit <- survReg(Surv(y) ~ x1 + x2 + ...., data=mydata, dist='weibull')
        
        
                Terry Therneau
                


<Prev in Thread] Current Thread [Next in Thread>