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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 419 views
  • 1 like
  • 2 in conversation