Open gsnrguo opened 2 years ago
The 'xerror' is related to the PRESS statistic [https://cran.r-project.org/web/packages/rpart/vignettes/longintro.pdf](p 34).
The PRESS is achivied by apply(xerr, 2, sum) . It is obvious that PRESS of fit is not equal to 'xerror', what is the formula of 'xerror' in rpart? Thanks!
apply(xerr, 2, sum)
The 'xerror' is related to the PRESS statistic [https://cran.r-project.org/web/packages/rpart/vignettes/longintro.pdf](p 34).
The PRESS is achivied by
apply(xerr, 2, sum)
. It is obvious that PRESS of fit is not equal to 'xerror', what is the formula of 'xerror' in rpart? Thanks!