On Tue, 18 Feb 2014, Karki, Amrit B wrote:
Would you mind to help me how to extract coefficients of significant variables using ctree model? How to implement the model like logistic and others. Thank you.
ctree() is a nonparametric model and there are no "significant coefficients". Some variables are selected for splits, others are not, and there are certain methods that try to derive so-called importance measures. However, for single trees these are used less often than for forests (such as cforest()).
If you want to combine decision trees with parametric models such as logistic regressions (that do have coefficients), you could consider the mob() function in the same package.
hth, Z
Amrit ________________________________ This electronic message may contain information that is confidential and/or legally privileged. It is intended only for the use of the individual(s) and entity named as recipients in the message. If you are not an intended recipient of this message, please notify the sender immediately and delete the material from any computer. Do not deliver, distribute or copy this message, and do not disclose its contents or take any action in reliance on the information it contains. Thank you. [[alternative HTML version deleted]] ______________________________________________ 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.
______________________________________________ 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.