Displaying 1 result from an estimated 1 matches for "eth_self".
Did you mean:
eh_sel
2007 May 04
0
Predicted Cox survival curves - factor coding problems...
...cally get a separate curve for each strata. My
problem is how to deal with the variable sitenew, which is a 3 level
factor (coded 0,1,2).
coxsnps$edu <- as.factor(coxsnps$edu)
coxsnps$sitenew <- as.factor(coxsnps$sitenew)
test1 <- coxph(Surv(time,censor) ~ snp1 + sex + sitenew + geno + eth_self
+ strata(edu), data=coxsnps)
coef exp(coef) se(coef) z p
snp1 -0.4324 0.649 0.1073 -4.031 5.5e-05
sex 0.0604 1.062 0.0915 0.660 5.1e-01
sitenew1 0.5128 1.670 0.1381 3.712 2.1e-04
site...