Re: [R] rpart - the xval argument in rpart.control and in xpred.rpart

2009-06-09 Thread Paolo Radaelli
Usually 10-fold cross validation is performed more than once to get an estimate of the misclassification rate thus I thought "number of cross-validations" was different from the "number of cross-validation groups". So, if I want to perform 10-fold cross-validation more than once (say 5) in orde

[R] rpart - the xval argument in rpart.control and in xpred.rpart

2009-06-09 Thread Paolo Radaelli
Am I right ? If so, how many subsets compose the learning sample when performing one of the xval cross-validations ? Is it a 10-fold cross-validation repeated xval=10 times ? Thank you for your help Paolo Paolo Radaelli Dipartimento di Metodi Quantitativi per le Scienze Economiche ed Aziendali Fa

[R] ordered Twoing criterion in classification trees

2009-06-04 Thread Paolo Radaelli
Dear R users, I'm using the rpart package to build classification trees. I'm interested in implementing the ordered Twoing as a splitting criterion. Does anyone have experience with this task ? Thank you for your help Paolo Paolo Radaelli Dipartimento di Metodi Quantitativi per

Re: [R] cross-validation in rpart

2009-05-26 Thread Paolo Radaelli
e gets in predicting the class of a group of obs by the tree obtained with the others 9 ? xstd is the standard deviation of this errors ? Thank you for your help Paolo Radaelli Paolo Radaelli Dipartimento di Metodi Quantitativi per le Scienze Economiche ed Aziendali Facoltà di Economia Un

[R] Rpart - best split selection for class method and Gini splitting index

2009-05-20 Thread Paolo Radaelli
he best split for un unordered predictor. Does anyone can suggest me which functions in the sources I should consider ? Any input would be highly appreciated. Thank you Paolo Paolo Radaelli Dipartimento di Metodi Quantitativi per le Scienze Economiche ed Aziendali Facoltà di Economia Università deg

[R] Rpart - user defined split functions

2009-05-14 Thread Paolo Radaelli
o understand which part of the code I should include in definining my own eval and init functions. Does anyone can suggest me how to proceed ? Any input would be highly appreciated. Thank you Paolo Paolo Radaelli Dipartimento di Metodi Quantitativi per le Scienze Economiche ed Aziendali Facoltà