BookmarkSubscribeRSS Feed
Baolinhdo
Calcite | Level 5

Hi, 

 

I have output results of cluster analysis from proc varclus: cluster 1 includes variable x1, x2, x3, cluster 2 include variable x4,x5, cluster 3 include variable x6,x7,x8 after running proc varclus on my data_set.

Initially, I run regression of x1,x2,x3,...,x8 on y (my dependent variable).

Now how can I run a regression of cluster 1, cluster2, cluster 3 on y? Do proc reg allows using outputs from proc varclus?

 

 

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 0 replies
  • 535 views
  • 0 likes
  • 1 in conversation