<?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 get a dendrogram to appear in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779529#M248284</link>
    <description>&lt;P&gt;Your second data set has two rows for which station="eWR24sJy".&amp;nbsp; The row identifiers must be unique.&amp;nbsp; You should see a WARNING In the log that says&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;WARNING: The DENDROGRAM will not be drawn because the NODEID&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;values are not unique.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 10:38:04 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2021-11-10T10:38:04Z</dc:date>
    <item>
      <title>How to get a dendrogram to appear</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779500#M248265</link>
      <description>&lt;P&gt;Dataset 1 will produce a dendrogram, but dataset 2 will not. Why is that, considering the numerical values are the same in both sets?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set 1&lt;/P&gt;
&lt;P&gt;Data PAHcSta;&lt;/P&gt;
&lt;P&gt;Input station $ Ace Ant Benzoaa Benzoap Benzobf Benzoghi Benzok Chry Bibenzo Fluora Fluore Indeno Phen Pyr;&lt;/P&gt;
&lt;P&gt;datalines;&lt;/P&gt;
&lt;P&gt;WR2e1Jy 0 0 0 0 0.0083 0 0 0 0 0 0 0 0.00554 0&lt;/P&gt;
&lt;P&gt;WR2e2Jy 0 0 0.00665 0.00665 0.0104 0 0.00475 0.00665 0 0.0152 0 0 0.0076 0.0133&lt;/P&gt;
&lt;P&gt;WR2e3Jy 0 0 0.0112 0.0112 0.0168 0.0084 0.0056 0.00933 0.00653 0.0187 0 0.0112 0.0056 0.0187&lt;/P&gt;
&lt;P&gt;WR2s3Jn 0 0 0 0.00527 0.0079 0 0 0.00527 0 0.00878 0 0 0.00439 0.00878&lt;/P&gt;
&lt;P&gt;WR2s2Jn 0 0 0 0 0.0125 0 0 0.00891 0 0.016 0 0 0.00891 0.016&lt;/P&gt;
&lt;P&gt;WR2s1Jn 0 0 0.03 0.045 0.065 0 0 0 0 0.04 0 0 0.03 0.06&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;Proc cluster method=average;&lt;/P&gt;
&lt;P&gt;id station;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;Proc tree data=tree;&lt;/P&gt;
&lt;P&gt;id station;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set 2&lt;/P&gt;
&lt;P&gt;Data PAHcSta;&lt;/P&gt;
&lt;P&gt;Input station $13 Ace Ant Benzoaa Benzoap Benzobf Benzoghi Benzok Chry Bibenzo Fluora Fluore Indeno Phen Pyr;&lt;/P&gt;
&lt;P&gt;datalines;&lt;/P&gt;
&lt;P&gt;eWR24sJy 0 0 0 0 0.0083 0 0 0 0 0 0 0 0.00554 0&lt;/P&gt;
&lt;P&gt;eWR24sJy 0 0 0.00665 0.00665 0.0104 0 0.00475 0.00665 0 0.0152 0 0 0.0076 0.0133&lt;/P&gt;
&lt;P&gt;eWR26sJy 0 0 0.0112 0.0112 0.0168 0.0084 0.0056 0.00933 0.00653 0.0187 0 0.0112 0.0056 0.0187&lt;/P&gt;
&lt;P&gt;bWR27saJn 0 0 0 0.00527 0.0079 0 0 0.00527 0 0.00878 0 0 0.00439 0.00878&lt;/P&gt;
&lt;P&gt;bWR27sbJn 0 0 0 0 0.0125 0 0 0.00891 0 0.016 0 0 0.00891 0.016&lt;/P&gt;
&lt;P&gt;bWR27scJn 0 0 0.03 0.045 0.065 0 0 0 0 0.04 0 0 0.03 0.06&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;Proc cluster method=average;&lt;/P&gt;
&lt;P&gt;id station;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;Proc tree data=tree;&lt;/P&gt;
&lt;P&gt;id station;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 05:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779500#M248265</guid>
      <dc:creator>rjinks</dc:creator>
      <dc:date>2021-11-10T05:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a dendrogram to appear</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779529#M248284</link>
      <description>&lt;P&gt;Your second data set has two rows for which station="eWR24sJy".&amp;nbsp; The row identifiers must be unique.&amp;nbsp; You should see a WARNING In the log that says&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;WARNING: The DENDROGRAM will not be drawn because the NODEID&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;values are not unique.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 10:38:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779529#M248284</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-11-10T10:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a dendrogram to appear</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779540#M248289</link>
      <description>&lt;P&gt;In later versions of SAS, we added dendrograms directly to proc cluster. Do you even need proc tree?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 11:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779540#M248289</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2021-11-10T11:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a dendrogram to appear</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779541#M248290</link>
      <description>&lt;P&gt;Correct. With ODS GRAPHICS ON, the dendrogram is produced by PROC CLUSTER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll also mention that the second DATA step doesn't seem to work as posted.&lt;/P&gt;
&lt;P&gt;One way to fix it is to use a LENGTH statement and remove the $13 token from the INPUT statement:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;length station $13;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Input station Ace Ant&lt;/STRONG&gt;&amp;nbsp;...;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 11:48:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-a-dendrogram-to-appear/m-p/779541#M248290</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-11-10T11:48:32Z</dc:date>
    </item>
  </channel>
</rss>

