<?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 How can i use Proc FASTCLUS to copy my predefined cluster numbers? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-use-Proc-FASTCLUS-to-copy-my-predefined-cluster/m-p/340735#M17950</link>
    <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the attached Document illustrates, i have a Final Dataset of identified clusters from a number of PROC Fastclus statements on broken down data prior to this - essentially this FINAL_CLUSters is my dataset with the required NEWCLUSTERS variable indicating the wanted Cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i need to get the SEED stats using OUTSTAT= , for application of these clusters to future monthly observations,&amp;nbsp; i need the centre points of my Clusters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when i use the PROC FASTCLUS on this final_clusters dataset , my cluster numbers change (as per the diagram on the attached file), they are no longer 1,2,3,4,5,6 but rather NEWCLUSTER 1 is now split into CLUSTERS 6 &amp;amp;1 - how can&amp;nbsp;i keep my same clusters from my chosen NEWCLUSTERS and identify the seeds this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;fastclus&lt;/STRONG&gt; data=FINAL_CLUSters maxclusters=&lt;STRONG&gt;6&lt;/STRONG&gt; maxiter=&lt;STRONG&gt;100&lt;/STRONG&gt; converge=&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;out=prelimvol;&lt;/P&gt;&lt;P&gt;var VOLUME: LOGVAL_MEAN: LOGVAL_Sum:;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2017 11:05:38 GMT</pubDate>
    <dc:creator>MR_E</dc:creator>
    <dc:date>2017-03-14T11:05:38Z</dc:date>
    <item>
      <title>How can i use Proc FASTCLUS to copy my predefined cluster numbers?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-use-Proc-FASTCLUS-to-copy-my-predefined-cluster/m-p/340735#M17950</link>
      <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the attached Document illustrates, i have a Final Dataset of identified clusters from a number of PROC Fastclus statements on broken down data prior to this - essentially this FINAL_CLUSters is my dataset with the required NEWCLUSTERS variable indicating the wanted Cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i need to get the SEED stats using OUTSTAT= , for application of these clusters to future monthly observations,&amp;nbsp; i need the centre points of my Clusters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when i use the PROC FASTCLUS on this final_clusters dataset , my cluster numbers change (as per the diagram on the attached file), they are no longer 1,2,3,4,5,6 but rather NEWCLUSTER 1 is now split into CLUSTERS 6 &amp;amp;1 - how can&amp;nbsp;i keep my same clusters from my chosen NEWCLUSTERS and identify the seeds this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;fastclus&lt;/STRONG&gt; data=FINAL_CLUSters maxclusters=&lt;STRONG&gt;6&lt;/STRONG&gt; maxiter=&lt;STRONG&gt;100&lt;/STRONG&gt; converge=&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;out=prelimvol;&lt;/P&gt;&lt;P&gt;var VOLUME: LOGVAL_MEAN: LOGVAL_Sum:;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 11:05:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-use-Proc-FASTCLUS-to-copy-my-predefined-cluster/m-p/340735#M17950</guid>
      <dc:creator>MR_E</dc:creator>
      <dc:date>2017-03-14T11:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use Proc FASTCLUS to copy my predefined cluster numbers?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-use-Proc-FASTCLUS-to-copy-my-predefined-cluster/m-p/341046#M17951</link>
      <description>&lt;PRE&gt;
Post some sample data, so we can test it.
and don't forget post output either.

data prelimvol;
 set prelimvol;
 if col1 not =: 'cluster' then group+1;
run;


&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Mar 2017 02:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-use-Proc-FASTCLUS-to-copy-my-predefined-cluster/m-p/341046#M17951</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-03-15T02:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use Proc FASTCLUS to copy my predefined cluster numbers?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-use-Proc-FASTCLUS-to-copy-my-predefined-cluster/m-p/341200#M17955</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=mylib.myCLUSds; by NEWCLUSTER; run;
proc fastclus data=mylib.myCLUSds 
              maxclusters=1 maxiter=0 
              outstat=work.abc outseed=work.def out=work.xyz;
			  /* OUTSEED= or MEAN= */
 id name;
 by NEWCLUSTER;
 var _NUMERIC_;
 *var VOLUME: LOGVAL_Mean: LOGVAL_Sum: ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 14:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-use-Proc-FASTCLUS-to-copy-my-predefined-cluster/m-p/341200#M17955</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2017-03-15T14:27:22Z</dc:date>
    </item>
  </channel>
</rss>

