[R]: k-fold cross validation for fda,mda etc

Peter Ho peter at esb.ucp.pt
Thu Jun 28 21:10:39 CEST 2001


Hi all,

Has anyone tried to do k-fold cross validation for flexible discriminant
analysis ( mda library), for example, using crossval() in bootstrap?

The problem is that the function crossval() requires a separate matrix
for predictors and another for responses, whereas the function fda(),
using the formula argument only.

Is there another way of doing k-fold cross validation for functions
which only have the formula argument, like for fda() and mda() ?




Peter

--------------------------------------------------------
Peter Ho GradIFST
Escola Superior de Biotecnologia
Universidade Católica Portuguesa
Rua Dr. António Bernardino de Almeida
4200-072 Porto
Portugal



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list