[R] prediction function for clogit model

Arne Jol arnejol at hotmail.com
Thu Feb 16 16:58:37 CET 2006


Dear R-Help,

I wonder if there is a prediction function for a clogit model which can be 
used in the same way as the predict function for the multinom model.

In prediction('multinommodel',testset ...)  it is possible to predict the 
class or the class probabilities for a testset. There is a predict function 
for the coxph model but I cannot find an way to use this to predict the 
classes (1,2 or 3) or the class probabilities (0.2, 0.3, 0.5) for example.

Can someone help me with this?

Regards,
Arne Jol




More information about the R-help mailing list