Message-ID: <1323718252.14708.12.camel@nemo>
Date: 2011-12-12T19:30:52Z
From: Terry Therneau
Subject: k-folds cross validation with conditional logistic
--begin inclusion --
I have a matched-case control dataset that I'm using conditional
logistic regression (clogit in survival) to analyze. I'm trying to
conduct k-folds cross validation on my top models but all of the
packages I can find (CVbinary in DAAG, KVX) won't work with clogit
models. Is there any easy way to do this in R?
-end inclusion --
The clogit funciton is simply a wrapper for coxph.
clogit(case ~ ...
turns into
coxph(Surv(dummy, case) ~ ...
where "dummy" is a vector of ones.
Do the packages support coxph models?
Terry T