<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic cluster analysis in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268535#M14140</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to run cluster analysis using the following code,but in the work.tree data, some of the ID (DUPI) were replaced with blanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc aceclus data=cluster.data_cluster_with_trajactory out=Ace p=.03 noprint;
	var  betting_days count_game_types mean_wager sites_wagered sum_wager total_bet_times total_times_over_days ;
run;

ods graphics on;

proc cluster data=Ace method=ward ccc pseudo print=15 out=tree
   plots=den(height=rsq);
   id DUPI;
   var can1-can7;
run;

ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3058iB9053A5250258310/image-size/original?v=v2&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also got the warnings as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Ties for minimum distance between clusters have been detected at 37734 level(s) in the cluster history.&lt;BR /&gt;WARNING: The MAXPOINTS option value 200 is less than the number of clusters (44887). This may result in a dendrogram that&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is difficult to read. The dendrogram will not be displayed. You can use the PLOTS(MAXPOINTS=) option in the PROC&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLUSTER statement to change this maximum.&lt;BR /&gt;NOTE: The data set WORK.TREE has 89773 observations and 21 variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any hints and suggestions? Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2016 14:43:04 GMT</pubDate>
    <dc:creator>fengyuwuzu</dc:creator>
    <dc:date>2016-05-05T14:43:04Z</dc:date>
    <item>
      <title>cluster analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268535#M14140</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to run cluster analysis using the following code,but in the work.tree data, some of the ID (DUPI) were replaced with blanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc aceclus data=cluster.data_cluster_with_trajactory out=Ace p=.03 noprint;
	var  betting_days count_game_types mean_wager sites_wagered sum_wager total_bet_times total_times_over_days ;
run;

ods graphics on;

proc cluster data=Ace method=ward ccc pseudo print=15 out=tree
   plots=den(height=rsq);
   id DUPI;
   var can1-can7;
run;

ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3058iB9053A5250258310/image-size/original?v=v2&amp;amp;px=-1" alt="Capture.PNG" title="Capture.PNG" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also got the warnings as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Ties for minimum distance between clusters have been detected at 37734 level(s) in the cluster history.&lt;BR /&gt;WARNING: The MAXPOINTS option value 200 is less than the number of clusters (44887). This may result in a dendrogram that&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is difficult to read. The dendrogram will not be displayed. You can use the PLOTS(MAXPOINTS=) option in the PROC&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLUSTER statement to change this maximum.&lt;BR /&gt;NOTE: The data set WORK.TREE has 89773 observations and 21 variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any hints and suggestions? Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 14:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268535#M14140</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2016-05-05T14:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: cluster analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268550#M14141</link>
      <description>&lt;P&gt;As most of the distances are equal to 0 resulting 37K levels in cluster history table. Seems like its hard to&amp;nbsp;accommodate this number for tree.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 14:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268550#M14141</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2016-05-05T14:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: cluster analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268552#M14142</link>
      <description>&lt;P&gt;All the variables are heavily positively skewed. I will do log transform and try again. Maybe this can make somem difference&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe I should use fastclus, which is for k-means clustering, and Cluster is for hierarchical clustering. Am I correct?&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 14:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268552#M14142</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2016-05-05T14:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: cluster analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268563#M14144</link>
      <description>&lt;P&gt;Transformation may not solve the problem. A quick check for collinearity may be helpful to avoid including correlated variables in the analysis.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 14:57:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268563#M14144</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2016-05-05T14:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: cluster analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268592#M14149</link>
      <description>Thank you. Indeed they are highly correlated.</description>
      <pubDate>Thu, 05 May 2016 15:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/cluster-analysis/m-p/268592#M14149</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2016-05-05T15:58:13Z</dc:date>
    </item>
  </channel>
</rss>

