<?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 Re: How to define the number of clusters for the cluster procedure. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-define-the-number-of-clusters-for-the-cluster-procedure/m-p/198375#M49580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC CLUSTER requires more work to do. Why do not you use PROC FASTCLUSTER and use the maxc= option in it. Also you can added it to a macro to try different number of cluster.&lt;/P&gt;&lt;P&gt;But if you still need to use PROC CLUSTER you can use PROC TREE after it and use nclusters= option to choose the number of cluster. Here is a good example of using PROC CLUSTER and PROC TREE. &lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_tree_sect018.htm"&gt;Example 91.1 Mammals’ Teeth&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2015 12:14:47 GMT</pubDate>
    <dc:creator>mohamed_zaki</dc:creator>
    <dc:date>2015-03-11T12:14:47Z</dc:date>
    <item>
      <title>How to define the number of clusters for the cluster procedure.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-define-the-number-of-clusters-for-the-cluster-procedure/m-p/198374#M49579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the SAS cluster procedure, how to define the number of clusters as cluster output?&amp;nbsp; For example, if I want to have 3 clusters after clustering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 12pt; font-family: Courier New;"&gt;cluster&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;method&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; = eml &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; = dateset &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;outtree&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; = output ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; by column1 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; var net_sales ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; run ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;What changes I need to make to enforce the above cluster procedure only generating 3 clusters?&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 18:42:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-define-the-number-of-clusters-for-the-cluster-procedure/m-p/198374#M49579</guid>
      <dc:creator>wutao9999</dc:creator>
      <dc:date>2015-03-10T18:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to define the number of clusters for the cluster procedure.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-define-the-number-of-clusters-for-the-cluster-procedure/m-p/198375#M49580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC CLUSTER requires more work to do. Why do not you use PROC FASTCLUSTER and use the maxc= option in it. Also you can added it to a macro to try different number of cluster.&lt;/P&gt;&lt;P&gt;But if you still need to use PROC CLUSTER you can use PROC TREE after it and use nclusters= option to choose the number of cluster. Here is a good example of using PROC CLUSTER and PROC TREE. &lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_tree_sect018.htm"&gt;Example 91.1 Mammals’ Teeth&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-define-the-number-of-clusters-for-the-cluster-procedure/m-p/198375#M49580</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2015-03-11T12:14:47Z</dc:date>
    </item>
  </channel>
</rss>

