Skip to content
Back to formatted view

Raw Message

Message-ID: <1313806751210-3756502.post@n4.nabble.com>
Date: 2011-08-20T02:19:11Z
From: JPF
Subject: AFT model time-dependent with weibull distribution
In-Reply-To: <1313800103069-3756424.post@n4.nabble.com>

JPF wrote:
> 
> 
> 
> weibullaft<-aftreg(Surv(sta,time,S) ~ TDC1 + TIC1, dist="weibull",
> data.frame=Data) 
> 
> ## aftreg gives an error when I add an ID argument... That should be used
> for controlling for time-varying variables.
> 
> Error in aftreg.fit(X, Y, dist, strats, offset, init, shape, id, control, 
> : 
>   *Overlapping intervals for id  2 *
>   
> From help(aftreg): id If there are more than one spell per individual, it
> is essential to keep spells together by the id argument. This allows for
> time-varying covariates. 
> 
> 

This is solved. It gave the overlapping intervals error, but now it is
solved: /id=ID/, just as before.  


--
View this message in context: http://r.789695.n4.nabble.com/AFT-model-time-dependent-with-weibull-distribution-tp3755079p3756502.html
Sent from the R help mailing list archive at Nabble.com.