Kumar Mainali
2017-Oct-05 17:02 UTC
[R] fraction of null deviance explained by each node/variable in regression trees
I have used packages rpart, mvpart and tree for classification and regression trees. I want to calculate fraction of null deviance explained by each node and variable in the tree. For instance, at the first split, this would be (1 - (sum of residual deviance in each of the two leaves)/deviance at the root). In the subsequent splits, this formula is slightly different. There probably is a function to get this done within R. Any help is appreciated. Thank you, Kumar Mainali -- Postdoctoral Associate Department of Biology University of Maryland, College Park ? [[alternative HTML version deleted]]
Possibly Parallel Threads
- change location of temporary files
- Sum of the deviance explained by each term in a gam model does not equal to the deviance explained by the full model.
- change location of temporary files
- "tree": Extracting deviance & Gaussian model of the node?
- explained deviance in multinom