Displaying 20 results from an estimated 3000 matches similar to: "Question regarding Principle Component Analysis and R for Windows"
2008 Mar 06
2
Principle component analysis function
Dear All,
In a package, I want to use PCA function. The structure I used follow this
page: http://www.statmethods.net/advstats/factor.html.
fit<-principle(mydata, nfactors=9, rotation=TRUE)
or:
result<-PCA(mydata)
But I don't known why R language in my computer noticed: "not found
principle", "not found PCA".
I download and installed
2008 Mar 05
2
Principle component analysis
Thanks to Mr.Liviu Androvic and Mr.Richard Rowe helped me in PCA.
Because I have just learn R language in a few day so I have many problem.
1) I don't know why PCA rotation function not run although I try many times.
Would you please hepl me and explain how to read the PCA map (both of
rotated and unrotated) in a concrete example.
2) Where I can find document relate: Plan S(A), S(A*B),
2010 Jan 07
1
logistic regression based on principle component analysis
Dear all:
I try to analyse a dataset which contain one binary response variable and serveral predict variables, but multiple colinear problem exists in my dataset, some paper suggest that logistic regression for principle components is suit for these noise data,
but i only find R can done principle component regression using "pls" package,
is there any package that can do the task i
2009 Aug 20
4
Principle components analysis on a large dataset
Dear Sirs:
Please pardon me I am very new to R. I have been using MATLAB.
I was wondering if R would allow me to do principal components analysis on a
very large
dataset.
Specifically, our dataset has 68800 variables and around 6000 observations.
Matlab gives "out of memory" errors. I have tried also doing princomp in
pieces, but this does not seem to quite work for our approach.
2013 Apr 25
1
Weighted Principle Components analysis
Hello!
I am doing Principle Componenets Analysis using "psych" package:
mypc<-principal(mydata,5,scores=TRUE)
However, I was asked to run a case-weighted PCA - using an individual
weight for each case.
I could use "corr" from "boot" package to calculate the case-weighed
intercorrelation matrix. But if I use the intercorrelation matrix as input
(instead of the
2006 Feb 27
1
question about Principal Component Analysis in R?
Hi all,
I am wondering in R, suppose I did the principal component analysis on
training data set and obtain the rotation matrix, via:
> pca=prcomp(training_data, center=TRUE, scale=FALSE, retx=TRUE);
Then I want to rotate the test data set using the
> d1=scale(test_data, center=TRUE, scale=FALSE) %*% pca$rotation;
> d2=predict(pca, test_data, center=TRUE, scale=FALSE);
these two
2017 Sep 15
3
Regarding Principal Component Analysis result Interpretation
Dear Sir/Madam,
I am trying to do PCA analysis with "iris" dataset and trying to interpret
the result. Dataset contains 150 obs of 5 variables
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1 5.1 3.5 1.4
0.2 setosa
2 4.9 3.0 1.4
0.2 setosa
2008 Feb 14
1
Principal component analysis PCA
Hi,
I am trying to run PCA on a set of data with dimension 115*300,000. The
columns represnt the snps and the row represent the individuals. so this is
what i did.
#load the data
code<-read.table("code.txt", sep='\t', header=F, nrows=300000)
# do PCA #
pr<-prcomp(code, retx=T, center=T)
I am getting the following error message
"Error: cannot allocate vector of
2007 Jan 30
2
R and S-Plus got the different results of principal component analysis from SAS, why?
Dear Rusers,
I have met a difficult problem on explaining the differences of principal
component analysis(PCA) between R,S-PLUS and SAS/STATA/SPSS, which wasn't
met before.
Althought they have got the same eigenvalues, their coeffiecients were
different.
First, I list my results from R,S-PLUS and SAS/STATA/SPSS, and then show
the original dataset, hoping sb. to try and explain it.
2008 Dec 11
2
Principal Component Analysis - Selecting components? + right choice?
Dear R gurus,
I have some climatic data for a region of the world. They are monthly averages
1950 -2000 of precipitation (12 months), minimum temperature (12 months),
maximum temperature (12 months). I have scaled them to 2 km x 2km cells, and
I have around 75,000 cells.
I need to feed them into a statistical model as co-variates, to use them to
predict a response variable.
The climatic
2017 Sep 15
0
Regarding Principal Component Analysis result Interpretation
First, see the example at https://isezen.github.io/PCA/
> On 15 Sep 2017, at 13:43, Shylashree U.R <shylashivashree at gmail.com> wrote:
>
> Dear Sir/Madam,
>
> I am trying to do PCA analysis with "iris" dataset and trying to interpret
> the result. Dataset contains 150 obs of 5 variables
>
> Sepal.Length Sepal.Width Petal.Length Petal.Width
2012 Feb 29
2
Principal Component Analysis
Dear R buddies,
I’m trying to run Principal Component Analysis, package
princomp: http://stat.ethz.ch/R-manual/R-patched/library/stats/html/princomp.html.
My question is: why do I get different results with pca =
princomp (x, cor = TRUE) and pca = princomp (x, cor = FALSE) even when I
standardize variables in my matrix?
Best regards,
Blaž Simčič
[[alternative HTML version deleted]]
2002 Dec 09
2
Principal component analysis
Dear R users,
I'm trying to cluster 30 gene chips using principal component analysis in
package mva.prcomp. Each chip is a point with 1,000 dimensions. PCA is
probably just one of several methods to cluster the 30 chips. However, I
don't know how to run prcomp, and I don't know how to interpret it's output.
If there are 30 data points in 1,000 dimensions each, do I have to
2011 May 04
1
Outlier removal by Principal Component Analysis : error message
Hi,
I am currently analysis Raman spectroscopic data with the hyperSpec package.
I consulted the documentation on this package and I found an example
work-flow dedicated to Raman spectroscopy (see the address :
http://hyperspec.r-forge.r-project.org/chondro.pdf)
I am currently trying to remove outliers thanks to PCA just as they did in
the documentation, but I get a message error I can't
2011 Mar 22
1
Find Principal Component Score per year
Hi,
I am trying to calculate Principal Component Scores per id per year using
the psych package. The following lines provide the scores per obeservation
pca = data.frame(read.table(textConnection(" id year A B C D
1001 1972 64 56 14 23
1003 1972 60 55 62 111
1005 1972 57 51 10 47
1007 1972 59 49 7 10
1009 1972 65 50 9 32
1011 1972 52 58 3 5
1013
2009 Aug 03
1
principal component analysis for class variables
Dear Forum,
I have a class variable 1 (populations A-E), and two other class variables,
variable 2 and variable 3. What I want is to see if the combination of var 2
and var 3, will give me a pattern that allows to distinguish populations.
I found several packages like ade4, with pcaiv function and factoMineR. but
there are not working. Using the ade4 package, when I try to build the pca:
pca1
2014 Jun 19
2
Principal component analysis with EQUAMAX rotation
Hello,
I need to do a principal component analysis with EQUAMAX-rotation.
Unfortunately the function principal() I use normally for PCA does not offer
this rotation specification. I could find out that this might be possible
somehow with the package GPArotation but until now I could not figure out
how to use this in the principal component analysis.
Maybe someone can give an example on how to do
2007 Feb 13
1
Questions about results from PCAproj for robust principal component analysis
Hi.
I have been looking at the PCAproj function in package pcaPP (R 2.4.1) for
robust principal components, and I'm trying to interpret the results. I
started with a data matrix of dimensions RxC (R is the number of rows /
observations, C the number of columns / variables). PCAproj returns a list
of class princomp, similar to the output of the function princomp. In a
case where I can
2005 Jul 21
1
principal component analysis in affy
Hi,
I have been using the prcomp function to perform PCA on my example microarray data, (stored in metric text files) which looks like this:
1a 1b 1c 1d 1e 1f ...................................................4r 4s 4t
g1 1.2705 1.2766 ...........................................................2.0298
g2 0.1631
2005 Apr 11
0
plotting Principle components vs individual variables.
Dear R,
I'm trying to plot the first principle component of an analysis vs the first
variable but am having trouble. I have no trouble doing the initial plot
but have difficulty thereafter.
First I want to highlight some points of the following data set
list(running)
[[1]]
X100m X200m X400m X800m X1500m X5K X10K Marathon
Argentina 10.39 20.81 46.84 1.81