Displaying 20 results from an estimated 2000 matches similar to: "R conversion"
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
2005 Nov 22
1
SPSS-like factor analysis procedure
I've read through many postings about principle component analysis in
the R-help archives, but haven't been able to piece together the
information I need. I'd like to recreate an SPSS-like experience of
factor analysis using R. Here's what SPSS produces:
1. Scatterplots of all possible variable pairs, with regression lines.
xyplot(my.dataframe) is perfect but for the lack of
2009 Jan 30
3
princomp - varimax - factanal
Hi!
I am trying to analyse with R a database that I have previously analysed
with SPSS.
Steps with SPSS:
Factorial analysis
Extraction options : I select = Principal component analysis
Rotation: varimax
Steps with R:
I have tried it with varimax function with factanal or with princomp...and
the results are different of what I have with SPSS. I think that varimax
function is incorporated in
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 =
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
2001 Sep 21
1
Request for Help: Rotation of PCA Solution or Eigenvectors
Dear R Helper,
I am writing because I seek to perform a varimax rotation
on my Principal Components Analysis (PCA) solution. (I have been
performing PCA's using the eigen command in R.) If you can tell me
how to perform this rotation when I use the eigen command (or the
princomp command) I would be thrilled.
Thanks so much!
Wendy Treynor
Ann Arbor, MI
USA
2003 May 06
2
R vs SPSS output for princomp
Hi,
I am using R to do a principal components analysis for a class
which is generally using SPSS - so some of my question relates to
SPSS output (and this might not be the right place). I have
scoured the mailing list and the web but can't get a feel for this.
It is annoying because they will be marking to the SPSS output.
Basically I'm getting different values for the component
2011 Jan 26
1
Factor rotation (e.g., oblimin, varimax) and PCA
A bit of a newbee to R and factor rotation I am trying to understand
factor rotations and their implementation in R, particularly the
GPArotation library.
I have tried to reproduce some of the examples that I have found, e.g., I
have taken the values from Jacksons example in "Oblimin Rotation",
Encyclopedia of Biostatistics
2011 Jun 22
1
Factor Analysis with orthogonal and oblique rotation
Hello
I seem to find only two types of rotation for the factanal function in R, the Varimax and Promax, but is it possible to run a orthogonal and oblique rotations in R?
Thanks in advance
Rosario
2006 Apr 16
1
How to do varimax rotation for principal component based factor analysis, any packages?
Dear R users
the factanal pacakge is always MLE, which package can do varimax
rotation with the results from princomp ?
thank you
yong
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)
2003 Jan 03
4
factor analysis (pca): how to get the 'communalities'?
Dear expe-R-ts,
I try some test data for a factorAnalysis (resp. pca) in the sense of Prof.
Ripley's MASS ? 11.1, p. 330 ff., just to prepare myself for an analysis of my
own empirical data using R (instead of SPSS).
1. the data.
## The test data is (from the book of Backhaus et al.: Multivariate ##
Analysemethoden. Springer 2000 [9th ed.], p. 300 ff):
2007 May 13
1
factanal
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20070513/f07553e9/attachment.pl
2005 Oct 13
2
varimax rotation difference between R and SPSS
Hi,
I am puzzeled with a differing result of princomp in R and FACTOR in
SPSS. Regarding the amount of explained Variance, the two results are
the same. However, the loadings differ substantially, in the unrotated
as well as in the rotated form.
In both cases correlation matrices are analyzed. The sums of the squared
components is one in both programs.
Maybe there is an obvious reason, but I
2017 Jan 02
1
varimax implementation in stats package
Hello,
recently I was looking at the implementation of the "varimax" rotation
procedure from the "stats" package and to me it looks quite different
from the algorithm originally suggested by Kaiser in 1958.
The R procedure iteratively uses singular value decompositions of some
matrices whereas Kaiser proposed to iteratively compute rotation
matrices between all pairs of
2008 Mar 13
1
factanal and plotting?
Hi there!
To make a good choice for the estimation of the number of usefull
factors. And I'd like to plot a graph like:
http://de.wikipedia.org/wiki/Bild:Parallelanalyse.jpg
where I don't need the green line (random values).
But with
str(factanal(data, factors=10)) I cannot figure out where I can find the
values for plotting.
Can you please help me in this question?
Thanks,
Martin
2009 Nov 03
1
Passing Command to Optim in factanal
Hi,
I am currently trying to execute the following command:
f<-factanal(factors=k$Components$nparallel,covmat=m,n.obs=2287,rotation="varimax",control=list(opt=list(method=c("BFGS"))))
but keep getting the error: L-BFGS-B needs finite values of 'fn'
I can't figure out what I am doing wrong here, why isn't optim being told to use BFGS instead of L-BFGS-B...
2004 Sep 23
7
decompose a correlation matrix
Is there a simple way to decompose the upper triangle
of a correlation matrix to a linear list;
For example:
X Y Z
X 1 2 3
Y 2 1 4
Z 3 4 1
so you get a list like:
xy 2
XZ 3
YZ 4
I suspect you can do it with a matrix transformation, but
that beyond me at present.
Many thanks
Mark
_________________________
Department of Molecular and Human Genetics,
Baylor College of Medicine,
2010 May 02
2
Scree diagram,
hello,
I've two questions today.
1) I'm trying to do a scree diagram, I did a Google for a specific command I
could used to do so. All I could find is a screeplot. Are they the same
command?
2) what command can I used to present a PC scores, eigenvectors of the PC
scores, and component correlations?
thanks!
--
View this message in context:
2005 Jun 26
0
Factor correlations in factanal
Dear R-devel list members,
Ben Fairbank draw it to my attention that factanal() (in the stats package)
doesn't report factor correlations for oblique rotations. Looking at the
source, I see that factanal also doesn't save the factor-transformation
(rotation) matrix from which these correlations can be computed. I've
modified the source, attached below, so that the transformation