Displaying 1 result from an estimated 1 matches for "threebythree".
2011 May 27
1
eigenvalues and correlation matrices
...irmed this
using the following site:
http://www.akiti.ca/Eig3Solv.html
However, when I run my code in R (see below), I get different
answers. What gives?
#test std 3 x 3:
setwd("S:/790/Actuarial/Computing and VBA/R development/
Eigenvalues")
testmatrix<-data.frame(read.csv("threeBythree.csv",header=FALSE))
testmatrix
#check that the matrix drawn in is correct
nrow(testmatrix)
ncol(testmatrix)
#calculate the eigenvalues
eigen(testmatrix,symmetric = TRUE,only.value=TRUE)