<?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 HPSPLIT in SAS9.4 in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548605#M27386</link>
    <description>I've linked to the latest version of SAS/STAT but you should check the version you need. You can find it by running: 'proc product_status;run;' and it will be in the log - you're looking for SAS/STAT 14.3 or something like that.</description>
    <pubDate>Thu, 04 Apr 2019 18:15:55 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-04-04T18:15:55Z</dc:date>
    <item>
      <title>PROC HPSPLIT in SAS9.4</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548597#M27383</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am trying to create a decision tree in SAS v9.4 (TS1M1) using PROC HPSPLIT. This is an entirely new procedure for me and it's a little daunting.&amp;nbsp; Any help is greatly appreciated!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My outcome is a binary group, and I have a few binary predictors. The model will run, but the output is not what I expected. I get&amp;nbsp; line-by-line output, with nodes all out of order. I am struggling to make sense of it. I was expecting a nice decision tree. Is it because of the version of SAS I am using?&lt;/P&gt;&lt;P&gt;Also - is there a way to get sensitivity, specificity from this procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC HPSPLIT DATA=ads plots=all maxdepth=7 maxbranch=2 ;&lt;BR /&gt;CLASS group race_white asa12 anes_type_gen surg_type male ;&lt;BR /&gt;MODEL group= race_white asa12 anes_type_gen surg_type male;&lt;BR /&gt;grow gini;&lt;BR /&gt;prune gini;&lt;BR /&gt;rules file='&amp;amp;path.\test.rtf';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 17:57:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548597#M27383</guid>
      <dc:creator>tka726</dc:creator>
      <dc:date>2019-04-04T17:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HPSPLIT in SAS9.4</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548604#M27385</link>
      <description>&lt;P&gt;Have you already tried the examples in the documentation?&lt;/P&gt;
&lt;P&gt;I would suggest working through the examples in the documentation first and understand what's happening there and then working on your own data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most PROCs have a decent example section:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_hpsplit_examples.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_hpsplit_examples.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code specifically:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/api/docsets/statug/15.1/content/statug_code_hpsplex1.htm?locale=en" target="_blank"&gt;https://documentation.sas.com/api/docsets/statug/15.1/content/statug_code_hpsplex1.htm?locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/203948"&gt;@tka726&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I am trying to create a decision tree in SAS v9.4 (TS1M1) using PROC HPSPLIT. This is an entirely new procedure for me and it's a little daunting.&amp;nbsp; Any help is greatly appreciated!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My outcome is a binary group, and I have a few binary predictors. The model will run, but the output is not what I expected. I get&amp;nbsp; line-by-line output, with nodes all out of order. I am struggling to make sense of it. I was expecting a nice decision tree. Is it because of the version of SAS I am using?&lt;/P&gt;
&lt;P&gt;Also - is there a way to get sensitivity, specificity from this procedure?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC HPSPLIT DATA=ads plots=all maxdepth=7 maxbranch=2 ;&lt;BR /&gt;CLASS group race_white asa12 anes_type_gen surg_type male ;&lt;BR /&gt;MODEL group= race_white asa12 anes_type_gen surg_type male;&lt;BR /&gt;grow gini;&lt;BR /&gt;prune gini;&lt;BR /&gt;rules file='&amp;amp;path.\test.rtf';&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 18:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548604#M27385</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-04-04T18:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HPSPLIT in SAS9.4</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548605#M27386</link>
      <description>I've linked to the latest version of SAS/STAT but you should check the version you need. You can find it by running: 'proc product_status;run;' and it will be in the log - you're looking for SAS/STAT 14.3 or something like that.</description>
      <pubDate>Thu, 04 Apr 2019 18:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548605#M27386</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-04-04T18:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HPSPLIT in SAS9.4</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548680#M27387</link>
      <description>&lt;P&gt;It is really worth upgrading to a more recent version of HPSPLIT. Especially for the graphs.If I recall correctly, the version you are using doesn't produce any graph. Check out the most recent doc to see what it does now.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 02:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-HPSPLIT-in-SAS9-4/m-p/548680#M27387</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-04-05T02:26:33Z</dc:date>
    </item>
  </channel>
</rss>

