<?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: proc tree in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300516#M60529</link>
    <description>&lt;P&gt;Assuming that you have used &lt;STRONG&gt;OUTTREE=procClusterOuttree&lt;/STRONG&gt; with&amp;nbsp;&lt;STRONG&gt;proc cluster&lt;/STRONG&gt;, get the cluster membership for, say, 3 clusters with :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc tree data=procClusterOuttree noprint nclusters=3 out=Clusters;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc sort data=Clusters; by CLUSTER; run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc print data=Clusters; run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Sep 2016 03:14:21 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2016-09-24T03:14:21Z</dc:date>
    <item>
      <title>proc tree</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300504#M60524</link>
      <description>&lt;P&gt;what is the syntax for proc list in proc tree that will list members of each cluster&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 23:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300504#M60524</guid>
      <dc:creator>niyi</dc:creator>
      <dc:date>2016-09-23T23:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc tree</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300505#M60525</link>
      <description>&lt;P&gt;"The TREE procedure creates tree diagrams from a SAS data set containing the tree structure. You can create this type of data set with the CLUSTER or VARCLUS procedure." &amp;nbsp;(quoted from SAS 9.2 O.L. Doc);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you are looking for a list and not a diagram, I guess that, maybe, &lt;STRONG&gt;proc print&lt;/STRONG&gt; may help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please display what output you expect.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 01:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300505#M60525</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-09-24T01:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: proc tree</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300506#M60526</link>
      <description>i want to see the list of individual members of each cluster in a tree</description>
      <pubDate>Sat, 24 Sep 2016 01:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300506#M60526</guid>
      <dc:creator>niyi</dc:creator>
      <dc:date>2016-09-24T01:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc tree</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300508#M60527</link>
      <description>&lt;P&gt;I have very little experience with proc tree and using SAS UE I have no access to SAS Stat.&lt;/P&gt;&lt;P&gt;Anyhow, I guess that sorting your data by cluster and printing it may help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=have out=temp; by &amp;lt;cluster variable&amp;gt;; run;&lt;/P&gt;&lt;P&gt;proc print data=temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;by &amp;lt;cluster variable&amp;gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 02:12:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300508#M60527</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-09-24T02:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc tree</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300515#M60528</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/88384"&gt;@Shmuel﻿&lt;/a&gt;&amp;nbsp;SAS UE supports SAS/STAT procedures.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83425"&gt;@niyi﻿&lt;/a&gt;&amp;nbsp;Can you post your current Proc tree code and/or any preceding code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 03:12:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300515#M60528</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-24T03:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: proc tree</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300516#M60529</link>
      <description>&lt;P&gt;Assuming that you have used &lt;STRONG&gt;OUTTREE=procClusterOuttree&lt;/STRONG&gt; with&amp;nbsp;&lt;STRONG&gt;proc cluster&lt;/STRONG&gt;, get the cluster membership for, say, 3 clusters with :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc tree data=procClusterOuttree noprint nclusters=3 out=Clusters;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc sort data=Clusters; by CLUSTER; run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc print data=Clusters; run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 03:14:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300516#M60529</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-09-24T03:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: proc tree</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300519#M60530</link>
      <description>&lt;P&gt;Thanks samuel see below&lt;/P&gt;&lt;P&gt;proc cluster data=outmean out=outff&lt;BR /&gt;outtree=tree method=average pseudo;&lt;BR /&gt;&amp;nbsp; id Acces_Number;&lt;BR /&gt;run;&lt;BR /&gt;proc fastclus data=outmean&lt;BR /&gt;out=outff outstat=outstat MAXCLUSTERS=5;&lt;BR /&gt;id Acces_Number;&lt;BR /&gt;run;&lt;BR /&gt;proc freq data=outff ;&lt;BR /&gt;tables cluster*Acces_Number/list&lt;BR /&gt;nofreq nopercent norow nocol;&lt;BR /&gt;run;&lt;BR /&gt;options text=10pct title=5pct;&lt;BR /&gt;proc tree data=tree HPAGES=3;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; id Acces_Number;&lt;BR /&gt;height _rsq_;&lt;BR /&gt;run;&lt;BR /&gt;PROC CLUSTER DATA=Wildvig_Oyatomi METHOD=ward pseudo standardize;&lt;BR /&gt;VAR TERMLLT--SEEDPPD;&lt;BR /&gt;id Acces_Number;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC TREE;&lt;BR /&gt;id Acces_Number;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 04:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300519#M60530</guid>
      <dc:creator>niyi</dc:creator>
      <dc:date>2016-09-24T04:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc tree</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300520#M60531</link>
      <description>proc cluster data=outmean out=outff&lt;BR /&gt;outtree=tree method=average pseudo;&lt;BR /&gt;id Acces_Number;&lt;BR /&gt;run;&lt;BR /&gt;proc fastclus data=outmean&lt;BR /&gt;out=outff outstat=outstat MAXCLUSTERS=5;&lt;BR /&gt;id Acces_Number;&lt;BR /&gt;run;&lt;BR /&gt;proc freq data=outff ;&lt;BR /&gt;tables cluster*Acces_Number/list&lt;BR /&gt;nofreq nopercent norow nocol;&lt;BR /&gt;run;&lt;BR /&gt;options text=10pct title=5pct;&lt;BR /&gt;proc tree data=tree HPAGES=3;&lt;BR /&gt;id Acces_Number;&lt;BR /&gt;height _rsq_;&lt;BR /&gt;run;&lt;BR /&gt;PROC CLUSTER DATA=Wildvig_Oyatomi METHOD=ward pseudo standardize;&lt;BR /&gt;VAR TERMLLT--SEEDPPD;&lt;BR /&gt;id Acces_Number;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC TREE;&lt;BR /&gt;id Acces_Number;&lt;BR /&gt;RUN;</description>
      <pubDate>Sat, 24 Sep 2016 04:51:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-tree/m-p/300520#M60531</guid>
      <dc:creator>niyi</dc:creator>
      <dc:date>2016-09-24T04:51:58Z</dc:date>
    </item>
  </channel>
</rss>

