Displaying 1 result from an estimated 1 matches for "teatment2".
Did you mean:
treatment2
2010 May 18
1
proportion of treatment effect by a surrogate (fitting multivariate survival model)
...;s in first set,
then same as treatment), and surrogate2 (0's in first set, then same
as treatment), and id (label the subject, so each id should have 2
observations).
Thus, a dataset with n observations will become 2n observations. To fit, do
fit <- coxph(Surv(time1,delta1) ~ treatment1 + teatment2 + surrogate2
+ strata(id)
?
>From here, I can obtain the variance and covariance terms for the
coefficients of treatment1 and treatment2. Is this the same as
fitting 2 separate models but also obtaining the covariances of the
two estimates?
Let me know, thanks.
Vinh