EconPapers    
Economics at your fingertips  
 

rpartOrdinal: An R Package for Deriving a Classification Tree for Predicting an Ordinal Response

Kellie J. Archer

Journal of Statistical Software, 2010, vol. 034, issue i07

Abstract: This paper describes an R package, rpartOrdinal, that implements alternative splitting functions for fitting a classification tree when interest lies in predicting an ordinal response. This includes the generalized Gini impurity function, which was introduced as a method for predicting an ordinal response by including costs of misclassification into the impurity function, as well as an alternative ordinal impurity function due to Piccarreta (2008) that does not require the assignment of misclassification costs. The ordered twoing splitting method, which is not defined as a decrease in node impurity, is also included in the package. Since, in the ordinal response setting, misclassifying observations to adjacent categories is a less egregious error than misclassifying observations to distant categories, this package also includes a function for estimating an ordinal measure of association, the gamma statistic.

Date: 2010-04-19
References: View complete reference list from CitEc
Citations: View citations in EconPapers (11)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v034i07/v34i07.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... Ordinal_2.0.2.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v034i07/v34i07.R

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:034:i07

DOI: 10.18637/jss.v034.i07

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:034:i07