Displaying 2 results from an estimated 2 matches for "data_ori".
2009 Nov 03
2
about the cox result
Hi all:
I finished cox analysis like this:
fit_cox<-coxph(Surv(dat$Time, dat$death) ~ dat$CD4 + strata(dat$gender),data=dat);
> fit_cox
Call:
coxph(formula = Surv(data_ori$Time, data_ori$death) ~ data_ori$drug +
strata(data_ori$gender), data = data_ori)
coef exp(coef) se(coef) z p
data_ori$drugddI 0.216 1.24 0.146 1.47 0.14
Likelihood ratio test=2.17 on 1 df, p=0.140 n= 467
I wanna extract the result:
0.216 1.24 0.14...
2011 Jul 26
3
a question about glht function
Hi all:
There's a question about glht function.
My data:data_ori,which inclue CD4, GROUP,time.
f_GROUP<-factor(data_ori$GROUP)
f_GROUP is a factor of 3 levels(0,1,2,3)
result <- lme(sqrt(CD4) ~ f_GROUP*time ,random = ~time|ID,data=data_ori)
glht(result, linfct = mcp(f_GROUP="Tukey") )
Error in `[.data.frame`(mf, nhypo[checknm]) : undefined...