Displaying 1 result from an estimated 1 matches for "chbiomsq".
2012 Dec 07
0
loop for calculating 1-se in rpart
...but it was only for selecting the minimum
cross-validation error. I include the code for my model, some relevant
output and the code for selecting and plotting the frequency histogram of
minimum xerror.
Here is the output that is being referenced in the code below
Regression tree:
rpart(formula = chbiomsq ~ HC + BC + POC + RUG + Depth + Exp +
DFP + FI + LAT, data = ch, method = "anova", control =
rpart.control(minsplit = 10,
cp = 0.01, xval = 10))
Variables actually used in tree construction:
[1] BC Depth DFP Exp
Root node error: 47456/99 = 479.35
n= 99
CP nsplit...