Milton Cezar Ribeiro
2007-Feb-22 19:36 UTC
[R] Principal Component Analysis & explained variance
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070222/25dc9f0c/attachment.pl
Milton Cezar Ribeiro wrote:> Hi there, > > How can I know the explaned variance of a PC axis generated by prcomp()?From the standard deviations of each component, you could do something like this maybe: prcomp(USArrests, scale = TRUE)$sdev^2 / ncol(USArrests) [1] 0.62006039 0.24744129 0.08914080 0.04335752> Kind regards, > > miltinho > Brazil > > __________________________________________________ > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch 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.-- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894