Hi..I am trying to run CHAID in R..I have installed the sofyware Party and trying to use the function ctree() to carry out the analysis. but I am getting the following message Error in terms.default(formula, data = data) : no terms component . I am having some Likert scale variable where I have variables like "Overall satisfaction"(Dependent Variable),"Product quality", Brand image,Warranty(Independent variable) etc.. Now can anyone tell me how to run CHAID in this case..what would be the formula? Thanks in Advance.. -- View this message in context: http://www.nabble.com/CHAID-in-R-tp25188573p25188573.html Sent from the R help mailing list archive at Nabble.com.
well, are you sure if party() can implement chaid? i doubt if chaid is being implemented in any R package. On Fri, Aug 28, 2009 at 7:50 AM, Arup <arup.pramanik27@gmail.com> wrote:> > Hi..I am trying to run CHAID in R..I have installed the sofyware Party and > trying to use the function ctree() to carry out the analysis. but I am > getting the following message Error in terms.default(formula, data = data) > : > no terms component > . I am having some Likert scale variable where I have variables like > "Overall satisfaction"(Dependent Variable),"Product quality", Brand > image,Warranty(Independent variable) etc.. Now can anyone tell me how to > run > CHAID in this case..what would be the formula? Thanks in Advance.. > -- > View this message in context: > http://www.nabble.com/CHAID-in-R-tp25188573p25188573.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >-- =============================WenSui Liu Blog : statcompute.spaces.live.com Tough Times Never Last. But Tough People Do. - Robert Schuller ============================= [[alternative HTML version deleted]]
> well, are you sure if party() can implement chaid? > i doubt if chaid is being implemented in any R package.https://r-forge.r-project.org/projects/chaid/ -- Max
On Fri, 28 Aug 2009, Arup wrote:> Hi..I am trying to run CHAID in R..I have installed the sofyware Party and > trying to use the function ctree() to carry out the analysis. but I am > getting the following message Error in terms.default(formula, data = data) : > no terms componentWithout a simple reproducible example (as the posting guide tells you) it's hard to say what went wrong for you.> . I am having some Likert scale variable where I have variables like > "Overall satisfaction"(Dependent Variable),"Product quality", Brand > image,Warranty(Independent variable) etc..ctree() can handle this situation appropriately, see vignette("party", package = "party") for more details and worked examples.> Now can anyone tell me how to run > CHAID in this case..what would be the formula? Thanks in Advance..CTree is similar in spirit to CHAID but not the same. However, there is the CHAID package on R-Forge (as pointed out previously, thanks to Max). CTree is more flexible and can deal with more types of variables, e.g., it would be possible to use linear-by-linear type tests instead of plain Chi-squared tests for ordinal variables. hth, Z> -- > View this message in context: http://www.nabble.com/CHAID-in-R-tp25188573p25188573.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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. > >