Displaying 20 results from an estimated 1000 matches similar to: "Problem with factor analysis"
2009 Aug 11
3
loadings function (PR#13886)
Full_Name: Mike Ulrich
Version: 2.9
OS: Mac OSX
Submission from: (NULL) (69.169.178.34)
The help documentation for loadings() lists more then one parameter. The
function call only expects one parameter. The digits, cutoff, and sort
parameters are not used in the function.
## S3 method for class 'loadings':
print(x, digits = 3, cutoff = 0.1, sort = FALSE, ...)
## S3 method for class
2006 Feb 24
1
Extracting information from factanal()
Dear list members,
I apologize for putting this (probably) very basic question on the
mailing list. I have scanned through the R website (using search) but
did not found an answer.
(code included below)
A factor matrix is simply extracted (which can then subsequently be
exported using write.table) by FACT$loadings[1:6,].
I would also like to specifically extract and export
2008 Sep 09
1
Addendum to wishlist bug report #10931 (factanal) (PR#12754)
--=-hiYzUeWcRJ/+kx41aPIZ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hi,
on March 10 I filed a wishlist bug report asking for the inclusion of
some changes to factanal() and the associated print method. The changes
were originally proposed by John Fox in 2005; they make print.factanal()
display factor correlations if factanal() is called with rotation =
2010 May 06
1
how to get components / factors in factanal / princomp not loadings
Dear all,
i wonder if there?s a command to obtain the actual values of a principal component or a factor (not as.factor, but factanal) .
test=princomp(USArrests, cor = TRUE)
summary(test)
just outputs, standard deviation, Prop of Variance and cumulative proportion of variance.
test$loadings offers yet another proportion of variance scheme. why is that?
Apart from that:
Is there a
2002 Aug 29
2
Factor Analysis in MASS4
Hi,
I had a look at the MASS4 scripts in the MASS package, in Ch 11.3 Factor
Analysis, there is a section of codes like:
data(ability.cov)
ability.FA <- factanal(covmat = ability.cov, factors = 1)
ability.FA
(ability.FA <- update(ability.FA, factors = 2))
#summary(ability.FA)
round(loadings(ability.FA) %*% t(loadings(ability.FA)) +
diag(ability.FA$uniq), 3)
2005 Jun 20
1
Factanal loadings as large as 1.2 with promax -- how unusual?
I am performing a large (105 variable) factor analysis with factanal,
specifying promax rotation. I kow that some loadings over 1.0 are not
unsual with that rotation, but I have some as large as 1.2, which seems
extreme. I am skirting the assumptions of the model by using responses
on a 7-point rating scale as data; I may have to go back and compute
polychoric correlations instead of product
2006 Jan 27
1
Factor Analysis
I am very new to factor analysis as well as R. I am trying to run a factor analysis on the residual returns on common stock (residual to some model) and trying to determine if there are any strong factors remaining. After running factanal, I can obtain the factor loadings but how do I get the values of the factor returns themselves? In other words if the relationship is
r = lambda * f
I
2005 Apr 05
1
extracting Proportion Var and Cumulative Var values from factanal
Hi R users,
I need some help in the followings:
I'm doing factor analysis and I need to extract the loading values and
the Proportion Var and Cumulative Var values one by one.
Here is what I am doing:
> fact <- factanal(na.omit(gnome_freq_r2),factors=5);
> fact$loadings
Loadings:
Factor1 Factor2 Factor3 Factor4 Factor5
b1freqr2 0.246 0.486 0.145
2009 Mar 25
2
pca vs. pfa: dimension reduction
Can't make sense of calculated results and hope I'll find help here.
I've collected answers from about 600 persons concerning three
variables. I hypothesise those three variables to be components (or
indicators) of one latent factor. In order to reduce data (vars), I
had the following idea: Calculate the factor underlying these three
vars. Use the loadings and the original var
2003 Jan 20
1
make check for R-1.6.2 on IBM AIX
Dear all,
The 'make check' step fails for the pacakge mva on IBM AIX.
The tail of the Rout log file looks like:
> for(factors in 2:4) print(update(Harman23.FA, factors = factors))
Call:
factanal(factors = factors, covmat = Harman23.cor)
Uniquenesses:
height arm.span forearm lower.leg weight
0.170 0.107 0.166
2009 Mar 31
3
Factor Analysis Output from R and SAS
Dear Users,
I ran factor analysis using R and SAS. However, I had different outputs from
R and SAS.
Why they provide different outputs? Especially, the factor loadings are
different.
I did real dataset(n=264), however, I had an extremely different from R and
SAS.
Why this things happened? Which software is correct on?
Thanks in advance,
- TY
#R code with example data
# A little
2008 Dec 01
1
factanal question
Dear R users:
I'm wondering if it's possible to get the residual correlation matrix when using factanal.
Since factanal assumes that the errors are normally distributed and independent (provided the factor model fits the data) this would be useful. Of course you would need to submit the data to the function to get the residuals (not just their correlation matrix), but it should be possible
2004 Feb 17
1
varimax rotation in R
Hi everyone-
I have used several methods to calculate principal components rotated using the varimax procedure. This is simple enough. But I would like to calculate the % of variance explained associated with each PC before and after rotation.
factanal returns the % of variance explained associated with each PC but I cannot seem to get it to change after rotation.
Many thanks for your
2024 Aug 22
1
Make factanal accept functions for rotation parameter
Dear R developers,
Would it be possible to make `factanal` to also accept functions and
not just function names for its `rotation` parameter? If I understand
correctly, `do.call` also supports this.
Best greetings,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 568 bytes
Desc: patch.diff
URL:
2009 Sep 15
1
Factor Analysis function source code required
Hi All,
There were lot of diffrences in the R and SPSS results for Exploratory
Factor Analysis.why is it so ?I used standard factor analysis functions
like:--
factanal(m, factors=3, rotation="varimax")
princomp(m, cor = FALSE, scores = TRUE, subset = rep(TRUE,
nrow(as.matrix(m))))
print(summary(princomp(m, cor=TRUE),loadings = TRUE, cutoff = 0.2), digits =
2)
prcomp(m, scale = TRUE)
2007 May 03
3
factanal AIC?
Dear list members,
Could any expert on factor analysis be so kind to explain how to calculate AIC on the output of factanal. Do I calculate AIC wrong or is factanal$criteria["objective"] not a negative log-likelihood?
Best regards
Jens Oehlschl?gel
The AIC calculated using summary.factanal below don't appear correct to me:
n items factors total.df rest.df model.df
2007 May 03
3
factanal AIC?
Dear list members,
Could any expert on factor analysis be so kind to explain how to calculate AIC on the output of factanal. Do I calculate AIC wrong or is factanal$criteria["objective"] not a negative log-likelihood?
Best regards
Jens Oehlschl?gel
The AIC calculated using summary.factanal below don't appear correct to me:
n items factors total.df rest.df model.df
2008 Jan 06
2
how to get residuals in factanal
In R factanal output, I can't find a function to give me residuals e.
I mannually got it by using x -lamda1*f1 -lamda2*f2 - ... -lamdan*fn, but the e
I got are not uncorrelated with all the f's.
What did I do wrong? Please help.
Yijun
____________________________________________________________________________________
Be a better friend, newshound, and
2007 Mar 04
1
factor analysis and pattern matrix
Hi,
In a discussion of factor analysis in "Using Multivariate Statistics" by
Tabachnick and Fidell, two matrices are singled out as important for
interpreting an exploratory factor analysis (EFA) with an oblique promax
rotation. One is the "structure matrix". The structure matrix contains the
correlations between variables and factors. However, these correlations may
be
2007 Feb 06
3
How-To construct a cov list to use a covariance matrix in factanal?
Hi,
I have a set of covariance matrices but not the original data. I want to carry out some exploratory factor analysis. So, I am trying to construct a covariance matrix list as the input for factanal. I can construct a list which includes the cov, the centers, and the n.obs. But it doesn't work. I get an error that says "Error in sqrt(diag(cv)) : Non-numeric argument to mathematical