Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Target variables and Variable Clustering vs. Variable Selection

Reply
Occasional Contributor
Posts: 8

Target variables and Variable Clustering vs. Variable Selection

I have a data set with a large number of input variables, many of which are highly correlated.  The variable clustering node does a nice job of reducing the number of variable and selecting a cluster representative, but I have a question about the algorithm that the documentation doesn't seem to address.

 

What role does the target variable play in the Variable Clustering node? Are the variables in a cluster selected just because they are similar, or do they have to have a simialr relationship to the target variabel as well? 

 

In contrast, the Variable Selection node takes into account the strength of association between an input and the target.

SAS Super FREQ
Posts: 269

Re: Target variables and Variable Clustering vs. Variable Selection

The target variable is not used in the Variable Clustering node.  It is an unsupervised method similar to Principal Component Analysis that only looks at the relationship among the input variables.  Hope that helps!

SAS Employee
Posts: 122

Re: Target variables and Variable Clustering vs. Variable Selection

Hi,
If you believe the variance associated with each observation is 'according to' the target variable, you may consider listing the target variable at the WEIGHT statement in proc varclus.
Occasional Contributor
Posts: 8

Re: Target variables and Variable Clustering vs. Variable Selection

[ Edited ]

I should just withdraw the question. If two variables act alike, then they would be correlated with the target in the same way as well. Since my goal was to use clustering for variable selection before constructing a regression model, variable that were aligned enough to be in the same cluster would necessarily have similar relationships with the target for regression. There was no need to consider the target variable in the the Variable Clustering node other than to withhold it from all of the clusters.

 

I actually got fairly strong results from regression using clustering as my method of variable selection, although a LARS node with the LASSO option proved to be the best model.

 

Ask a Question
Discussion stats
  • 3 replies
  • 692 views
  • 2 likes
  • 3 in conversation