Hello,

I'm using mvpart option xv="1se" to compute a regression tree of good size
with the 1-SE rule.
To better understand 1-SE rule, I took a look on its coding in mvpart, which
is :

Let z be a rpart object ,
xerror <- z$cptable[, 4]
xstd <- z$cptable[, 5]
splt <- min(seq(along = xerror)[xerror <= min(xerror) + xvse * xstd])

I interprete this as following: the simplest tree with xerror under
min(xerror) + its own xstd

Neverthless, in some article I read the following rule:

the simplest tree with xerror under min(xerror) + xstd corresponding to the
min(xerror)

Is this a mistake or any variant of 1-SE rule ? 

-- 
View this message in context: 
http://www.nabble.com/1-SE-rule-in-mvpart-tp19508242p19508242.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to