Calculating Eigenvalues and Eigenvectors using SPSS

Suppose you have a 7 X 7 matrix. You want to calculate eigenvalue and eigenvector of the matrix.

The 7 X 7 matrix is shown in the image below.



STEPS :

1. Go to File >> New >> Syntax

2. Paste the following syntax in the syntax window
MATRIX.
GET x /variables VAR00001 VAR00002 VAR00003 VAR00004 VAR00005 VAR00006 VAR00007.
call eigen(x,eigvec,eigval).
PRINT eigval.
PRINT eigvec.
END MATRIX.
3. Specify the variables in the orange highlighted part of the syntax

4. Select the syntax and run it (Press CTRL R).

About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has close to 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains like retail and commercial banking, Telecom, HR and Automotive.


While I love having friends who agree, I only learn from those who don't.

Let's Get Connected: Email | LinkedIn

Get Free Email Updates :
*Please confirm your email address by clicking on the link sent to your Email*

Related Posts:

1 Response to "Calculating Eigenvalues and Eigenvectors using SPSS"

Next → ← Prev