Re: [R] 1-SE rule in mvpart

2008-10-01 Thread Kunio takezawa
R-users E-mail: r-help@r-project.org Hi! >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 m

[R] 1-SE rule in mvpart

2008-09-16 Thread AlexisMarceau
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