[R] fitness of regression tree: how to measure???

Frank E Harrell Jr f.harrell at Vanderbilt.Edu
Thu Apr 1 14:01:32 CEST 2010


vibha patel wrote:
> Hello,
> 
> I'm using rpart function for creating regression trees.
> now how to measure the fitness of regression tree???
> 
> thanks n Regards,
> Vibha

If the sample size is less than 20,000, assume that the tree is a 
somewhat arbitrary representation of the relationships in the data and 
that the form of the tree will not replicate in future datasets.

Frank

-- 
Frank E Harrell Jr   Professor and Chairman        School of Medicine
                      Department of Biostatistics   Vanderbilt University



More information about the R-help mailing list