cch() does not allow for multiple records per person (as it says), and so
doesn't allow for time-dependent covariates.
-thomas
On Thu, 12 Jun 2008, Jin Wang wrote:
same subject id has to be multiple in mutiple times like following format,
Multiple records per id not allowed in cch()
so
same subject id has to be multiple in mutiple times like following format,
Multiple records per id not allowed in cch()
so it's difficult to use cch() for time dependent covariate. Maybe coxph()
is alternative, but seems difficult because coxph() and cch() return
different estimate for same data "n
I tried your alternative method on the example in cch() description manual.
The example data "nwtco" has not time-dependent covariates yet. I test cch()
and coxph() on the same data. But the estimation result is different. I
don't know if I did anything wrong.
subcoh <- nwtco$in.subcohort
selccoh
- begin included message
In case cohort study, we can fit proportional hazard regression model to
case-cohort data. In R, the function is cch() in Survival package
Now I am working on case cohort analysis with time dependent covariates
using cch() of "Survival" R package. I wonder if cch() pro
4 matches
Mail list logo