Hi Achim,

Thank you for the quick suggestion. I actually did the first split manually, then grew two trees in the two subsets, it worked.

Best,
Sal

Hello,

My question is related to ctree() function from the library 'party'.
See fortune(58).

Yeah, package 'party' - sorry for the confusion.


Is there a way to force ctree() to use a specific variable in the first
split?
No way that does this automatically.

I am asking because the first split contains two variables with very
similar scores, and choosing the alternative variable would induce a
tree somewhat easier to interpret.
If both variables are closely correlated and you believe one of the
variables to be more meaningful for partitioning, then omit the other from
tree construction.

Alternatively, you can grow two trees in the two subsets based on the




first variable.

hth,
Z

Thanks,
Sal

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



--
Salvatore Loguercio, Ph.D.
Research Associate - Su Lab
Department of Molecular and
 Experimental Medicine
The Scripps Research Institute
http://sulab.org
logue...@scripps.edu
858-784-2112

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to