Re: [R] pooled hazard model with aftreg and time-dependent variables

2011-08-26 Thread Göran Broström
On Thu, Aug 25, 2011 at 4:45 AM, JPF wrote: > This is for coxph: > > The cluster term is used to compute a robust variance for the model. The > term + cluster(id) where each value of id is unique is equivalent to > specifying the robust=T argument, and produces an approximate jackknife > estimate

Re: [R] pooled hazard model with aftreg and time-dependent variables

2011-08-24 Thread JPF
This is for coxph: The cluster term is used to compute a robust variance for the model. The term + cluster(id) where each value of id is unique is equivalent to specifying the robust=T argument, and produces an approximate jackknife estimate of the variance. If the id variable were not unique, but

Re: [R] pooled hazard model with aftreg and time-dependent variables

2011-08-22 Thread JPF
In STATA, multiple observations correspond to the same individual, the cluster( ) option can be employed to request that the analysis be clustered by individual. Any suggestion with aftreg? Thanks, J -- View this message in context: http://r.789695.n4.nabble.com/pooled-hazard-model-with-af

[R] pooled hazard model with aftreg and time-dependent variables

2011-08-21 Thread JPF
Dear R-users, I have two samples with individuals that are in more than one of the samples and individuals that are only in one sample. I have been trying to do a pooled hazard model, stacking one sample below the other, with aftreg and time-dependent covariates. The idea behind is to see aggrega