Skip to content
Prev 276630 / 398506 Next

help with formula for clogit

clogit needs to spell out formula plus strata, you can try modify the code
...
d2=d[,c(mols,'group','Age','strata')]
fo<-as.formula(paste(paste('group~','Age',sep=''),'strata(strata)',sep='+'))
log.reg<-clogit(fo,data=d2)
...

Weidong
On Mon, Nov 7, 2011 at 10:19 AM, 1Rnwb <sbpurohit at gmail.com> wrote: