Displaying 1 result from an estimated 1 matches for "dist_rampm_wa".
2010 Jan 24
0
tree()...binary reponse giving only one split
Hi,
I'm new to CART. I have a data set with a binary reponse (0/1) and several
predictors. I chose 2 continuous predictors to start and used the following
code.
testdata.ltr<-tree(nondev85dev06~dist_rampm_wa + dis_prim_wa,testdata)
The two predictors should be quite explanatory based upon previous work.
After running this code, I am getting only one split using the first
predictor listed. I've tried this with other sets of 2 and 3 predictors and
it is always the same case, only one is used for a...