[R] two party questions: terminal stats and second dataset

AnnieE aelmore at usgs.gov
Tue Sep 15 17:04:17 CEST 2009


Hi there,

Question 1:
Anybody out there know if there is a way to retrieve a list/table of ctree
terminal node stats?  If I could get a list containing each terminal node,
and distributional stats for the training observations allocated to it
(e.g., mean, standard deviation, range), I would be a truly happy camper.  I
see ways to get predicted values for each observation in the training data,
and I see how to get a list detailing which obs are in which terminal node,
but I haven't yet figured out a way to get a list that just lists the
terminal nodes and their stats.  

Question 2:
Is there a way to take a ctree and run an independent validation dataset
through it?  I'm probably being obtuse - it seems like this should be a
really straight forward operation - but I'm just not getting it.  I have a
regression tree of elevations dependent on spectral data and geographic
coordinates and would like to test it against my independent data.  I can do
this by shifting results back and forth through various image processing,
GIS and Excel programs, but it seems like it would be more efficient to do
it in R, if there is a way.  Anybody know?

Thanks
-- 
View this message in context: http://www.nabble.com/two-party-questions%3A-terminal-stats-and-second-dataset-tp25455694p25455694.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list