Displaying 20 results from an estimated 197 matches for "eigenvectores".
Did you mean:
eigenvector
2011 Nov 14
2
How to compute eigenvectors and eigenvalues?
Hello.
Consider the following matrix:
mp <- matrix(c(0,1/4,1/4,3/4,0,1/4,1/4,3/4,1/2),3,3,byrow=T)
> mp
[,1] [,2] [,3]
[1,] 0.00 0.25 0.25
[2,] 0.75 0.00 0.25
[3,] 0.25 0.75 0.50
The eigenvectors of the previous matrix are 1, 0.25 and 0.25 and it is not a diagonalizable matrix.
When you try to find the eigenvalues and eigenvectors with R, R responses:
> eigen(mp)
$values
[1]
2013 Mar 14
2
Same eigenvalues but different eigenvectors using 'prcomp' and 'principal' commands
Dear all,
I've used the 'prcomp' command to
calculate the eigenvalues and eigenvectors of a matrix(gg).
Using the command 'principal' from the
'psych' packageĀ I've performed the same exercise. I got the same
eigenvalues but different eigenvectors. Is there any reason for that
difference?
Below are the steps I've followed:
1. PRCOMP
#defining the matrix
2003 Jun 09
1
understanding eigen(): getting non-normalized eigenvectors
Hi, dear R pros
I try to understand eigen(). I have seen, that eigen() gives the
eigenvectors normalized to unit length.
What shall I do to get the eigenvectors not normalized to unit length?
E.g. take the example:
A
[,1] [,2]
V1 0.7714286 -0.2571429
V2 -0.4224490 0.1408163
Calculating eigen(A) "by hand" gives the eigenvectors (example from
Backhaus,
2010 Mar 19
1
Howto get unnormalized eigenvectors?
Hi,
I try to calculate the angle between two first eigenvectors of different covariance matrices of biological phenotypic traits for different populations. My issue here is, that all possibilities to do so seem to normalize the eigenvectors to length 1. Although the helpfile of eigen() states, that using eigen(, symmetric = FALSE, EISPACK =TRUE) skips normalization this is (I guess) not applicable
2003 Nov 04
2
real eigenvectors
Hello list,
Sorry, these questions are not directly linked to R.
If I consider an indefinte real matrix, I would like to know if the
symmetry of the matrix is sufficient to say that their eigenvectors are real ?
And what is the conditions to ensure that eigenvectors are real in the case
of an asymmetric matrix (if some conditions exist)?
Thanks in Advance,
St?phane DRAY
2011 Nov 14
0
Fwd: How to compute eigenvectors and eigenvalues?
Inicio del mensaje reenviado:
> De: Arnau Mir <arnau.mir@uib.es>
> Fecha: 14 de noviembre de 2011 13:24:31 GMT+01:00
> Para: Martin Maechler <maechler@stat.math.ethz.ch>
> Asunto: Re: [R] How to compute eigenvectors and eigenvalues?
>
> Sorry, but I can't explain very well.
>
>
> The matrix 4*mp is:
>
> 4*mp
> [,1] [,2] [,3]
> [1,]
2004 Feb 12
1
left eigenvector
Dear All,
how do I compute the left eigenvector of a matrix? I gather that "eigen"
computes the right eigenvectors...
Regards,
Federico Calboli
--
=================================
Federico C. F. Calboli
PLEASE NOTE NEW ADDRESS
Dipartimento di Biologia
Via Selmi 3
40126 Bologna
Italy
tel (+39) 051 209 4187
fax (+39) 051 251 208
f.calboli at ucl.ac.uk
2003 Apr 03
2
Matrix eigenvectors in R and MatLab
Dear R-listers
Is there anyone who knows why I get different eigenvectors when I run
MatLab and R? I run both programs in Windows Me. Can I make R to produce
the same vectors as MatLab?
#R Matrix
PA9900<-c(11/24 ,10/53 ,0/1 ,0/1 ,29/43 ,1/24 ,27/53 ,0/1 ,0/1 ,13/43
,14/24 ,178/53 ,146/244 ,17/23 ,15/43 ,2/24 ,4/53 ,0/1 ,2/23 ,2/43 ,4/24
,58/53 ,26/244 ,0/1 ,5/43)
#R-syntax
2010 Jan 11
3
Eigenvectors and values in R and SAS
Hi,
I was wondering if function eigen() does something different from the
function call eigen() in SAS.
I'm in the process of translating a SAS code into a R code and the values of
the eigenvectors and eigenvalues of a square matrix came out to be different
from the values in SAS.
I would also appreciate it if someone can explain the difference in simple
terms. I'm pretty new to both
2002 Nov 05
2
eigenvectors order
Hi,
How the eigenvectors output by the eigen() function are ordered. The
first column corresponds to the largest eigenvalue? or is the last
column as in Octave?
I'm performing a spatial-temporal analysis of some climatic variables
so my matrices are MxN (locations*time)and I'm looking for the leading
EOF's. As I have understand the eigenvectors columns represent those
EOF's
2003 Jun 08
2
LDA: normalization of eigenvectors (see SPSS)
Hi dear R-users
I try to reproduce the steps included in a LDA. Concerning the eigenvectors there is
a difference to SPSS. In my textbook (Bortz)
it says, that the matrix with the eigenvectors
V
usually are not normalized to the length of 1, but in the way that the
following holds (SPSS does the same thing):
t(Vstar)%*%Derror%*%Vstar = I
where Vstar are the normalized eigenvectors. Derror
2008 Jul 08
1
Help with eigenvectors
Hi everybody,
I have some problems with the function eigen. I have a square matrix and I
want to calculate the eigenvalues and eigenvectors. I apply the function
eigen and I get it, however when I solve the same problem in Statistica
software, I realise that some eigenvectors are the opposite. How can I get
the same values?
Thanks in advance
[[alternative HTML version deleted]]
2009 Apr 23
1
the definition of eigenvector in R
Dear All
i have a little puzzle about eigenvector in the R.
As we know that the eigenvector can be displayed on several form.
For example
A=matrix(c(1,2,4,3),2,2)
if we want to get the eigenvalue and eigenvector, the code followed
eigen(A)
$values
[1] 5 -1
$vectors
[,1] [,2]
[1,] -0.7071068 -0.8944272
[2,] -0.7071068 0.4472136
however, we also can calculate the vector matrix
2012 Apr 27
2
find the eigenvector corresponding to the largest eigenvalue
Hi,
If I use the eigen() function to find the eigenvalues of a matrix, how can I find the eigenvector corresponding to the largest eigen value?
Thanks!
[[alternative HTML version deleted]]
2010 Jun 15
1
Getting the eigenvectors for the dependent variables from principal components analysis
Dear listserv,
I am trying to perform a principal components analysis and create an output table of the eigenvalues for the dependent variables. What I want is to see which variables are driving each principal components axis, so I can make statements like, "PC1 mostly refers to seed size" or something like that.
For instance, if I try the example from ?prcomp
> prcomp(USArrests,
2009 Apr 24
1
the puzzle of eigenvector and eigenvalue
Dear all
I am so glad the R can provide the efficient calculate about
eigenvector and eigenvalue.
However, i have some puzzle about the procedure of eigen.
Fristly, what kind of procedue does the R utilize such that the eigen
are obtained?
For example, A=matrix(c(1,2,4,3),2,2)
we can define the eigenvalue lamda, such as
det | 1-lamda 4 | =0
| 2 3-lamda |
then
2010 Jun 12
1
Fast way to compute largest eigenvector
Hello all,
I was wondering if there is a function in R that only computes the eigenvector
corresponding to the largest/smallest eigenvalue of an arbitrary real matrix.
Thanks
Minh
--
Living on Earth may be expensive, but it includes an annual free trip
around the Sun.
2012 Apr 25
1
pca biplot.princomp has a bug?
x=rmvnorm(2000, rep(0, 6), diag(c(5, rep(1,5))))
x=scale(x, center=T, scale=F)
pc <- princomp(x)
biplot(pc)
There are a bunch of red arrows plotted, what do they mean? I knew that the
first arrow labelled with "Var1" should be pointing the most varying
direction of the data-set (if we think them as 2000 data points, each being
a vector of size 6). I also read from
2008 Jun 03
3
matlab eigs function in R
Hello
Does anybody know how one can compute d largest eigenvalues/eigenvectors in
R, like in MATLAB eigs function ? eigen function computes all
eigenvectors/eigenvalues, and they are slightly different than those
generated by matlab eigs.
Thanks in advance
--
View this message in context: http://www.nabble.com/matlab-eigs-function-in-R-tp17619641p17619641.html
Sent from the R help mailing list
2011 May 28
1
prcomp & eigenvectors ... ??
Hi ...
Please could you help with probably a very simple problem I have. I'm completely new to R and am trying to follow a tutorial using R for Force Distribution Analysis that I got from ... http://projects.eml.org/mbm/website/fda_gromacs.htm. Basically, the MDS I preform outputs a force matrix (.fm) from the force simulation I perform.
Then, this matrix is read into R and prcomp is