Skip to content

Factor Analysis/Inputting Correlation Matrix

2 messages · Matt Stati, Joshua Wiley

#
Hi Matt,

Did you try reading the documentation for factanal()?  You can pull it
up by typing: help("factanal")

These give basically identical results using the raw data, the
covariance matrix, and the correlation matrix.

factanal(x = mtcars, factors = 3)
factanal(factors = 3, covmat = cov(mtcars))
factanal(factors = 3, covmat = cor(mtcars))

all of which is clearly, explained if you read the details for the
argument "covmat" in the help.

Cheers,

Josh
On Sat, Jun 11, 2011 at 3:06 PM, Matt Stati <mattstati at yahoo.com> wrote: