Skip to content
Prev 155094 / 398513 Next

Fitted probabilities in conditional logit regression

On Sun, 2008-08-31 at 09:49 -0400, Min Chen wrote:
Can you explain/demonstrate how/why "predict" doesn't work for clogit? I
can get predictions from a clogit model:

## from ?clogit
mod <- clogit(case~spontaneous+induced+strata(stratum),data=infert)
predict(mod)
predict(mod, type = "expected")

all work for that example to give the "fitted" values.

See ?predict.coxph for details of the predict function. I'm not familiar
with either the code or the methods, but 'type = "expected"' seems to
give what you want.

HTH

G