[R] prediction function for clogit model

From: Arne Jol <arnejol_at_hotmail.com>
Date: Fri 17 Feb 2006 - 02:58:37 EST


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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Feb 17 03:11:51 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:31 EST