BookmarkSubscribeRSS Feed
siftekhar
Calcite | Level 5

Good morning. 

 

I am trying to calculate the eigenvectors corresponding to a eigenvalue of a dataset. 

 

The data has 361 variables and ~2400 observations each. 

 

I have the 361 eigenvalues using the Proc Princomp.

 

Now I need to calculate the eigenvectors of third eigenvalue and fourth eigenvalue. How can I do that using SAS Studio UE?   

1 REPLY 1
PaigeMiller
Diamond | Level 26

Assuming SAS Studio doesn't run out of memory Smiley Mad

 

you want to use the OUTSTAT= option of PROC PRINCOMP and then this OUTSTAT= data set will contain the eigenvectors in that data set, listed next to _TYPE_='SCORE', you are looking for _NAME_='Prin3' and _NAME_='Prin4'

 

https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=statug&docsetTarget=statu...

--
Paige Miller

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 317 views
  • 1 like
  • 2 in conversation