<?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 Control the Output of Proc HP split? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Control-the-Output-of-Proc-HP-split/m-p/781284#M249010</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to use ODS SELECT statement before (just in front of) PROC HPSPLIT to define the output objects you want to have in the displayed output.&lt;/P&gt;
&lt;P&gt;You can also use the ODS EXCLUDE statement to suppress some.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you want to know about the ODS Table Names of your output objects, go to the&lt;/P&gt;
&lt;P&gt;documentation of the PROC &amp;gt; Details &amp;gt; ODS Table Names, or put :&lt;/P&gt;
&lt;P&gt;ODS TRACE ON; (ODS Table Names are then published in the LOG) --&amp;gt; then run your PROC.&lt;BR /&gt;Pick the Names you want and put them in your ODS SELECT open-code statement before PROC HPSPLIT.&lt;BR /&gt;The opposite is:&lt;BR /&gt;ODS TRACE OFF;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 15:41:33 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2021-11-19T15:41:33Z</dc:date>
    <item>
      <title>How to Control the Output of Proc HP split?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Control-the-Output-of-Proc-HP-split/m-p/781244#M248998</link>
      <description>&lt;P&gt;Hi, I am trying to produce decision trees using proc SGSplit. For each tree I would like ONLY the zoomed decision tree and the nodes=summary table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like the tree image on 1 tab and the nodes=summary table on the next tab in the excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem is, HPSplit produces a load of tables and graphs i dont want output into excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found a way of exporting only the zoomed tree graph (plots(only)=zoomedtree) however I cant find a way of exporting/printing just the 1 table i am interested in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any advice? I have started playing with ods exclude and output options but am not having any luck so far!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods excel file="xyz.xlsx";



/*ods EXCLUDE all;*/
ods graphics on / width=1000px;

proc hpsplit data=Tree1 seed=52892 assignmissing=branch nodes=summary plots(only)=zoomedtree;
   class x y z;
   model x (event='1') =
      x y z a b c;
   grow chisquare;
   prune costcomplexity;
/*ods ouput summary;*/
run;
&lt;BR /&gt;

ods excel close;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Nov 2021 13:35:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Control-the-Output-of-Proc-HP-split/m-p/781244#M248998</guid>
      <dc:creator>EC27556</dc:creator>
      <dc:date>2021-11-19T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Control the Output of Proc HP split?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Control-the-Output-of-Proc-HP-split/m-p/781284#M249010</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to use ODS SELECT statement before (just in front of) PROC HPSPLIT to define the output objects you want to have in the displayed output.&lt;/P&gt;
&lt;P&gt;You can also use the ODS EXCLUDE statement to suppress some.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you want to know about the ODS Table Names of your output objects, go to the&lt;/P&gt;
&lt;P&gt;documentation of the PROC &amp;gt; Details &amp;gt; ODS Table Names, or put :&lt;/P&gt;
&lt;P&gt;ODS TRACE ON; (ODS Table Names are then published in the LOG) --&amp;gt; then run your PROC.&lt;BR /&gt;Pick the Names you want and put them in your ODS SELECT open-code statement before PROC HPSPLIT.&lt;BR /&gt;The opposite is:&lt;BR /&gt;ODS TRACE OFF;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 15:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Control-the-Output-of-Proc-HP-split/m-p/781284#M249010</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-19T15:41:33Z</dc:date>
    </item>
  </channel>
</rss>

