Displaying 20 results from an estimated 2000 matches similar to: "PCA and automatic determination of the number of components"
2005 Jun 28
2
enhanced MDS
Hi again
Sorry, in looking again at sammon and isoMDS I see that they seem to do
exactly what I want, except that they are non-metric, which means, as I
understand it, that they relate the rank orders of the variables rather than
the actual distances.
Could I use these non-metric MDS packages even if my distances are metric?
Thanks
Karen
--
Karen Kotschy
Centre for Water in the Environment
2008 Dec 07
2
concordance correlation coefficient using R
Hi.
I have data which i would want to assess the degree of agreement
between two assays, e.g., to evaluate reproducibility or for
inter-rater reliability. I have used the Pearson product-moment
correlation coefficient. It looks good ranginging between 0.90 to
0.998. Though this looks good. I am told the Concordance correlation
coefficient will give a better picture of how reproducible the assay
2005 May 08
2
Need a factor level even though there are no observations
I'm in this situation:
factorlabels <- c("School", "College", "Beyond")
with data for 8 families:
education.man <- c(1,2,1,2,1,2,1,2) # Note : no "3" values
education.wife <- c(1,2,3,1,2,3,1,2) # 1,2,3 are all present.
My goal is to create this table:
School College Beyond
2009 Dec 26
5
Is SEM package of R suitable for sem analysis
Dears,
I'm a college student and In doing my statistics homework.
I use R with SEM package as my tool for sem analysis,
but my teacher told me AMOS is more suitable for such analysis.
Could someone help tell me whether it is true
that some commercial software is better accepted in academic fields?
Sorry if I should not post such topics here.
--
Best Regards,
Reeyarn T. Lee
Accounting
2006 Apr 20
4
online tutorials
I work for a Investment group with a very extensive training program and
we are having our new hires take a statistics course at University of
Chicago where they have to complete some assignments with R. I was
wondering if there are any online tutorials that exist where we could
get our participants comfortable with R before the class itself? I
appreciate any help at all.
Thanks,
Matt Maxon
2009 Aug 01
4
Likelihood Function for Multinomial Logistic Regression and its partial derivatives
Hi,
I would like to apply the L-BFGS optimization algorithm to compute the MLE
of a multilevel multinomial Logistic Regression.
The likelihood formula for this model has as one of the summands the formula
for computing the likelihood of an ordinary (single-level) multinomial logit
regression. So I would basically need the R implementation for this formula.
The L-BFGS algorithm also requires
2006 Nov 16
1
Problems with principal components analysis PCA with prcomp
Dear friends,
I am beginning to use R software in my academic research and I'm having some
problems regarding the use of PCA.
I have a table with 24445 rows and 9 columns, and I used the function
prcomp() to do the analysis.
Working with an example?:
x<-read.table("test.txt", header=T)
row.names(x)<-x[,1]
x<-x[,-1]
require(stats)
pca<-prcomp(x, scale=T)
names(pca)
##
2011 Jul 29
1
Limited number of principal components in PCA
Hi all,
I am attempting to run PCA on a matrix (nrow=66, ncol=84) using 'prcomp'
(stats package). My data (referred to as 'Q' in the code below) are
separate river streamflow gaging stations (columns) and peak instantaneous
discharge (rows). I am attempting to use PCA to identify regions of that
vary together.
I am entering the following command:
2009 Apr 13
4
Group by in R
Hi,
I have the following table data:
f1, f2, f3, f4.
I want to compute the counts of unique combinations of f1-f4. In SQL I would
just write:
SELECT COUNT(*) FROM <table> GROUP BY f1, f2, ..,f4.
How to do this in R?
Thanks,
Nick
--
View this message in context: http://www.nabble.com/Group-by-in-R-tp23020587p23020587.html
Sent from the R help mailing list archive at Nabble.com.
2005 Apr 24
2
missing values
Hello,
I have climatic data of various years with many missing values. I would like
to know what tools in R are most suited to estimate this missing values.
(New in R and quite new on statistics).
Thanks,
G
2006 Mar 23
1
PCA, Source analysis and Unmixing, environmental forensics
I am using R for environmental forensics (determination of the sources
and/or groupings in mixtures of organic chemicals in the field). The
goal is to determine in there are groups of samples with
similar/dissimilar compositions, and to assign samples to a potential
source or a mixture of sources based on the composition (unmixing and
source allocation). Typically there are 10 to 50 chemicals that
2012 Sep 09
1
PCA legend outside of PCA plot
Hi All,
I have been trying to get to plot my PCA legend outside of the PCA plot,
but success still alludes me.
Can you guys please advise how I can achieve this. I used locater() to
obtain coordinates for below the Comp.1 axis. Using these coordinates the
legend disappears.
Below is the code for the PCA and legend.
Thanks in advance for the help.
Regards
Tinus
r.cols <-
2008 Jan 18
2
plotting other axes for PCA
Hi R-community,
I am doing a PCA and I need plots for different combinations of axes (e.g.,
PC1 vs PC3, and PC2 vs PC3) with the arrows indicating the loadings of each
variables. What I need is exactly what I get using biplot (pca.object) but
for other axes.
I have plotted PC2 and 3 using the scores of the cases, but I don't get the
arrows proportional to the loadings of each variables on
2007 Dec 18
1
PCA - "cov.wt(z) : 'x' must contain finite values only"
I am trying to run PCA on a matrix (the first column and row are
headers). There are several cells with NA's. When I run PCA with the
following code:
______________________________________
setwd("I:/PCA")
AsianProp<-read.csv("Matrix.csv", sep=",", header=T, row.names=1)
attach(AsianProp)
AsianProp
AsianProp.pca<-princomp(AsianProp, na.omit)
2010 Mar 10
1
PCA
Hello,
I am trying to complete a PCA on a set of standardized ring widths from 8
different sites (T10, T9, T8, T7, T6, T5, T3, and T2).
The following is a small portion of my data:
T10 T9 T8 T7 T6 T5 T3 T2 1.33738 0.92669 0.91146 0.98922 0.9308 0.88201
0.92287 0.91775 0.82181 1.05319 0.92908 0.97971 0.95165 0.98029 1.14048
0.77803 0.88294 0.96413 0.90893 0.87957 0.9961 0.74926 0.71394 0.70877
2008 Jul 03
2
PCA on image data
Dear R users,
i would like to apply a PCA on image data for data reduction.
The image data is available as three matrices for the
RGB values. At the moment i use
x <- data.frame(R,G,B)#convert image data to data frame
pca<-princomp(x,retx = TRUE)
This is working so far.
>From this results then i want to create a new matrix
from the first (second..) principal component. Here i stuck.
2012 Jan 24
0
PCA for assets based household income analysis (" hetcor" and "princomp")
I am doing Principal Component Analysis (PCA) on assets data for household income prediction. The problem is that the assets data are rank ordered (usually binary ... possess car/don't possess car), so the normal correlation is inappropriate for the calculation of the PCA. Instead one has to use the polychoric correlation coefficient. It uses the "random.polychor.pa" package.
2008 Sep 09
4
PCA and % variance explained
After doing a PCA using princomp, how do you view how much each component
contributes to variance in the dataset. I'm still quite new to the theory of
PCA - I have a little idea about eigenvectors and eigenvalues (these
determine the variance explained?). Are the eigenvalues related to loadings
in R?
Thanks,
Paul
--
View this message in context:
2005 Jul 08
2
extract prop. of. var in pca
Dear R-helpers,
Using the package Lattice, I performed a PCA.
For example
pca.summary <- summary(pc.cr <- princomp(USArrests, cor = TRUE))
The Output of "pca.summary" looks as follows:
Importance of components:
Comp.1 Comp.2 Comp.3 Comp.4
Standard deviation 1.5748783 0.9948694 0.5971291 0.41644938
Proportion of Variance 0.6200604
2008 Mar 03
2
Problem with PCA
I have an exercise. With 3 kinds of yohourt a,b,c. There are 25
participatients estimate 3 norms: taste (va,vb,vc), structure (ca,cb,cc) and
price (ga,gb,gc) and give the mark from 1 to 5. I don't know how to PCA this
data. Please help me!
I attached the data file follow:
Va Vb Vc Ca Cb Cc Ga Gb Gc
4 2 4 5 5 5 4 4 2
2 2 4 3 2 5 4 5 1
2 2 1 2 3 3 3 1 4
1 1 2 2 3 3 4 3 2
3 4 4 4 3 1 2 1 2
1 1 1