<?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 with _PROPOR_ as height + graph not working in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409681#M21393</link>
    <description>&lt;P&gt;I can't answer your question off of the top of my head, but I can say you are using old technology.&amp;nbsp; If you enable ODS Graphics, PROC CLUSTER will create dendrograms.&amp;nbsp; Also, PROC SGPLOT is more modern than PROC GPLOT.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 23:53:13 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2017-11-01T23:53:13Z</dc:date>
    <item>
      <title>PROC TREE with _PROPOR_ as height + graph not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409667#M21392</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm doing a cluster analysis as part of an assignment, and I want the output tree to have as the height not the standard "number of clusters", but the proportion of variance explained. I'm using the code I found &lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.3&amp;amp;docsetTarget=statug_tree_gettingstarted.htm&amp;amp;locale=en" target="_self"&gt;here&lt;/A&gt;, but I can't get it to work and I keep getting only the number of clusters tree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moreover, as I want to perform different types of hierarchical clustering in order to compare the results, I put in some code to get a&amp;nbsp;plot&amp;nbsp;of the Rsquared against the number of clusters and get a curve for each of the methods used, but I can't get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I getting wrong? My code is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA sports;
INPUT SPORT$ END STR PWR SPD AGI FLX NER DUR HAN ANA;
DATALINES;
Soccer 2.88 4.5 3.13 1.13 1.63 2.63 2.75 2.13 6.63 3.25
Curling 5.88 3.5 2.63 1.63 2.75 1.75 9.88 4.38 8 7.5
(...)
;
PROC PRINT DATA=sports;
PROC UNIVARIATE;
PROC CLUSTER SIMPLE NOEIGEN METHOD=SIMPLE RMSSTD RSQUARE NONORM OUTTREE=singleout;
id SPORT;
var END STR PWR SPD AGI FLX NER DUR HAN ANA;
proc sort; by _ncl_;
PROC CLUSTER COMPLETE NOEIGEN METHOD=COMPLETE RMSSTD RSQUARE NONORM OUTTREE=completeout;
id SPORT;
var END STR PWR SPD AGI FLX NER DUR HAN ANA;
proc sort; by _ncl_;
PROC CLUSTER CENTROID NOEIGEN METHOD=CENTROID RMSSTD RSQUARE NONORM OUTTREE=centroidout;
id SPORT;
var END STR PWR SPD AGI FLX NER DUR HAN ANA;
proc sort; by _ncl_;
PROC CLUSTER WARD NOEIGEN METHOD=WARD RMSSTD RSQUARE NONORM OUTTREE=wardout;
id SPORT;
var END STR PWR SPD AGI FLX NER DUR HAN ANA;
proc sort; by _ncl_;
PROC TREE DATA=singleout; height _propor_;
PROC TREE DATA=completeout; height _propor_;
PROC TREE DATA=centroidout; height _propor_;
PROC TREE DATA=wardout; height _propor_;
DATA SINGLEOUT; SET SINGLEOUT; SINGLE=_RSQ_;
DATA COMPLETEOUT; SET COMPLETEOUT; COMPLETE=_RSQ_;
DATA CENTROIDOUT; SET CENTROIDOUT; CENTROID=_RSQ_;
DATA WARDOUT; SET WARDOUT; WARD=_RSQ_;
DATA OUTPUTS; MERGE SINGLEOUT COMPLETEOUT CENTROIDOUT WARDOUT; BY _NCL_;
DATA OUTPUTS; SET OUTPUTS; IF _NCL_&amp;lt;11;
SYMBOL1 I=JOIN V=S L=15 C=BLACK;
SYMBOL2 I=JOIN V=P L=10 C=RED;
SYMBOL3 I=JOIN V=C L=2 C=BLUE;
SYMBOL4 I=JOIN V=W L=1 C=GREEN;
PROC GPLOT DATA=OUTPUTS;
PLOT SINGLE*_NCL_=1 COMPLETE*_NCL_=2 CENTROID*_NCL_=3 WARD*_NCL_=4 /OVERLAY LEGEND;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Nov 2017 22:39:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409667#M21392</guid>
      <dc:creator>LunaMinerva</dc:creator>
      <dc:date>2017-11-01T22:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TREE with _PROPOR_ as height + graph not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409681#M21393</link>
      <description>&lt;P&gt;I can't answer your question off of the top of my head, but I can say you are using old technology.&amp;nbsp; If you enable ODS Graphics, PROC CLUSTER will create dendrograms.&amp;nbsp; Also, PROC SGPLOT is more modern than PROC GPLOT.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 23:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409681#M21393</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-11-01T23:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TREE with _PROPOR_ as height + graph not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409684#M21394</link>
      <description>&lt;P&gt;Can I do those things with the SAS Studio I'm using with a virtual machine? To be honest I'm just following the code examples we were given by the professor...&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 00:12:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409684#M21394</guid>
      <dc:creator>LunaMinerva</dc:creator>
      <dc:date>2017-11-02T00:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TREE with _PROPOR_ as height + graph not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409685#M21395</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; Your professor is not up on the latest developments in SAS software.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 00:15:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/409685#M21395</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-11-02T00:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TREE with _PROPOR_ as height + graph not working</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/410115#M21424</link>
      <description>&lt;P&gt;So can anyone weigh in on the actual code and help me sort out any errors? I really don't care if my procedures are outdated, it's a university course and this is the procedures the professor taught us; for the time being I just want to learn how to use SAS in general terms, I will have time to care about up-to-date procedures if I will end up using SAS in my work in the future.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 08:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-TREE-with-PROPOR-as-height-graph-not-working/m-p/410115#M21424</guid>
      <dc:creator>LunaMinerva</dc:creator>
      <dc:date>2017-11-03T08:31:47Z</dc:date>
    </item>
  </channel>
</rss>

