BookmarkSubscribeRSS Feed
vishweshs
Calcite | Level 5

Hi,

 

I am trying to figure out the code for computing principal components using princomp procedure with a covariance or correlation matrix as an input. I have been able to find the solution using raw data (through covariance or correlation). But now I dont have the raw data and have the covariance matrix instead.

 

Please help.

 

Thanks and regards,

 

V

1 REPLY 1

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 993 views
  • 0 likes
  • 2 in conversation