<?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: cluster analysis in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/cluster-analysis/m-p/560563#M156785</link>
    <description>so how can i solve this issue</description>
    <pubDate>Tue, 21 May 2019 16:07:26 GMT</pubDate>
    <dc:creator>shahd</dc:creator>
    <dc:date>2019-05-21T16:07:26Z</dc:date>
    <item>
      <title>cluster analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cluster-analysis/m-p/560557#M156780</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I wrote the below code to conduct clustering analysis but for the results, I got class seven name as class seven 0.10.1&lt;BR /&gt;Could you please advice with this&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data stock;
   length class $ 27;
   input class &amp;amp;$  IH_High IH_Meduim IH_Low US_SH_High_Low US_SH_High_Meduim US_SH_High_Low FM_Low;
   datalines;


Class Four	1.3	1.3	1.3	1.2	1.2	1.2	0.8
Class Five	28.1	18.1	28.1	26.4	36.4	46.4	54.7
Class Six	2.8	2.8	2.8	5	5	5	7.8
Class Seven	0.1	0.1	0.1	0.1	0.1	0.1	0.1
Class eight	2.9	2.9	2.9	5	5	5	4.5
Class nine	60	70	60	60	50	40	30
Class ten	0.5	0.5	0.5	0.6	0.6	0.6	1.4
Class eleven	2.7	2.7	2.7	1.2	1.2	1.2	0
Class twelve	1.3	1.3	1.3	0.3	0.3	0.3	0
Class thirteen 	0.3	0.3	0.3	0.2	0.2	0.2	0.7

;

proc distance data=stock method=dcorr out=distdcorr;
   var interval(IH_High IH_Meduim IH_Low US_SH_High_Low US_SH_High_Meduim US_SH_High_Low FM_Low);
   id class;
run;

proc print data=distdcorr;
   id class;
   title2 'Distance Matrix for 15 Utility Stocks';
run;
title2;

ods graphics on;

/* compute pseudo statistic versus number of clusters and create plot */
proc cluster data=distdcorr method=ward pseudo plots(only)=(psf dendrogram);
   id class;
run;

/* compute pseudo statistic versus number of clusters and create plot */
proc cluster data=distdcorr method=average pseudo plots(only)=(psf dendrogram);
   id class;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 May 2019 15:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cluster-analysis/m-p/560557#M156780</guid>
      <dc:creator>shahd</dc:creator>
      <dc:date>2019-05-21T15:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: cluster analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cluster-analysis/m-p/560561#M156784</link>
      <description>&lt;P&gt;Try inserting an additional space between the Seven and 0.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I ran your code there was a single, I believe TAB character. When using LIST input with the &amp;amp; modifier you need to have 2 spaces to indicate the end of a variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will have the same issue with Eight as well I think.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 16:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cluster-analysis/m-p/560561#M156784</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-05-21T16:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: cluster analysis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/cluster-analysis/m-p/560563#M156785</link>
      <description>so how can i solve this issue</description>
      <pubDate>Tue, 21 May 2019 16:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/cluster-analysis/m-p/560563#M156785</guid>
      <dc:creator>shahd</dc:creator>
      <dc:date>2019-05-21T16:07:26Z</dc:date>
    </item>
  </channel>
</rss>

