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?

 

 

 

AI Navigator GIF.gif


Navigate AI governance with SAS tools for compliance and ethical AI practices. Try SAS Ai Navigator for free for the first six months.

Check it out on Microsoft Marketplace →

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
  • 867 views
  • 0 likes
  • 1 in conversation