Subscribe Bookmark RSS Feed

Re: Clustering Analysis?

ShriHanuman

Occasional Contributor

Joined:

Feb 25, 2017

Can I use clustering analysis with continuous variable target? I am using SAS jmp. I tried using continuous variable for hierarchical clustering but the answer returned an error. What am I missing?

 

Attached is the data set.

Salesprice is my continuous target variable

1 ACCEPTED SOLUTION

Accepted Solutions
markbailey

Staff

Joined:

Jun 23, 2011

Solution
  1. Select Analyze > Clustering > Hierarchical Cluster.
  2. Select SalesPrice.
  3. Click Y, Columns.
  4. Click OK.

I did not encounter any errors up to this point.

This unsupervised method found eight clusters, each of which with two sub-clusters, as indicated in the dendrogram or the constellation plot.

Capture.JPG

Learn it once, use it forever!
2 REPLIES
markbailey

Staff

Joined:

Jun 23, 2011

Solution
  1. Select Analyze > Clustering > Hierarchical Cluster.
  2. Select SalesPrice.
  3. Click Y, Columns.
  4. Click OK.

I did not encounter any errors up to this point.

This unsupervised method found eight clusters, each of which with two sub-clusters, as indicated in the dendrogram or the constellation plot.

Capture.JPG

Learn it once, use it forever!
Highlighted
dale_lehman

Community Trekker

Joined:

Jan 29, 2015

I don't understand this solution.  What is the sense of clustering on a single target variable?  I thought the whole idea of clustering was to find clusters of observations that are "similar" and then perhaps might related to a target variable.  How is clustering on a single target variable any different from looking at a distribution of that variable and seeing if there are any groups?  And, from your solution, what are the X,Y coordinates of the constellation (when there is a single variable being clustered)?