[R] PCA and categorical data
mark_difford at yahoo.co.uk
Fri Mar 6 11:17:56 CET 2009
dudi.mix() in package ade4 does PCA using categorical and/or quantitative
variables. Ordered cats are replaced by poly(x, deg=2). Squares of
categoricals can also be used. The method is a generalization by Chessel of
the method of Hill and Smith.
Galanidis Alexandros wrote:
> Hi all,
> I' m trying to figure out if it is appropriate to do a PCA having only
> categorical data (not ordinal). I have only find the following quote:
> One method to find such relationships is to select appropriate variables
> to view the data using a method like Principle Components Analysis (PCA)
> This approach gives us a clear picture of the data using KL-plot of the
> However, the method is not settled for the data including categorical
> but I'm still not sure if it WRONG to do so.
> Any opinion or reference would be very helpful
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://www.nabble.com/PCA-and-categorical-data-tp22368671p22369249.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help