Calculating Eigenvalues and Eigenvectors using SPSS

Deepanshu Bhalla 7 Comments
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).
Related Posts
Spread the Word!
Share
About Author:
Deepanshu Bhalla

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 10 years of experience in data science. During his tenure, he worked with global clients in various domains like Banking, Insurance, Private Equity, Telecom and HR.

7 Responses to "Calculating Eigenvalues and Eigenvectors using SPSS"
Next → ← Prev