SLIDE 9 CART in R
R will output a regression tree
If you have a big tree the tree image will be crowded (this is a problem in mvpart), so save the image as a enhanced metafile (option in the save) You can then import the emf file into Powerpoint, ungroup it twice and move the labels around to make the image more legible and publishable
MCMT>=-30.85 MCMT>=-25.8 MWMT< 16.45 MCMT< -30.85 MCMT< -25.8 MWMT>=16.45 0.674 n=103 0.534 n=99 0.172 n=64 1.2 n=35 0.601 n=26 2.92 n=9 4.15 n=4 Error : 0.214 CV Error : 0.412 SE : 0.122
We build a model to look at a single species frequency with 5 predictor variables The number of data points that fall into this group
(e.g. n = 64 data points)
The average species frequency for the group
(e.g. 4.15%)
Predictor variable associated with data split Errors associated with the tree size:
Error: Residual error how much variation is not explained by the tree CV Error: Summarized cross-validated relative error for all predictors (zero for perfect predictor
to close to one for a poor predictor)
You want small values for both!