<?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 how to create custom table from results in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-custom-table-from-results/m-p/786246#M251002</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to pick out certain parts of your results and send to a new table? for example, in the solution for fixed effects below, I want just the estimate p- value and confidence interval in a new table but want to exclude the rest of the results :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schatr2_0-1639608786715.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66781i2F9910CA00CED83A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schatr2_0-1639608786715.png" alt="schatr2_0-1639608786715.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;what i want:&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="width: 100%;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;estimate&lt;/TD&gt;
&lt;TD width="25%"&gt;p value&lt;/TD&gt;
&lt;TD width="25%"&gt;lower&lt;/TD&gt;
&lt;TD width="25%"&gt;upper&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;-2.598&lt;/TD&gt;
&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;TD&gt;-2.95&lt;/TD&gt;
&lt;TD&gt;-2.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate the help!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 22:56:36 GMT</pubDate>
    <dc:creator>393310</dc:creator>
    <dc:date>2021-12-15T22:56:36Z</dc:date>
    <item>
      <title>how to create custom table from results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-custom-table-from-results/m-p/786246#M251002</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to pick out certain parts of your results and send to a new table? for example, in the solution for fixed effects below, I want just the estimate p- value and confidence interval in a new table but want to exclude the rest of the results :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schatr2_0-1639608786715.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66781i2F9910CA00CED83A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schatr2_0-1639608786715.png" alt="schatr2_0-1639608786715.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;what i want:&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="width: 100%;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;estimate&lt;/TD&gt;
&lt;TD width="25%"&gt;p value&lt;/TD&gt;
&lt;TD width="25%"&gt;lower&lt;/TD&gt;
&lt;TD width="25%"&gt;upper&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;-2.598&lt;/TD&gt;
&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;TD&gt;-2.95&lt;/TD&gt;
&lt;TD&gt;-2.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate the help!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 22:56:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-custom-table-from-results/m-p/786246#M251002</guid>
      <dc:creator>393310</dc:creator>
      <dc:date>2021-12-15T22:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to create custom table from results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-custom-table-from-results/m-p/786247#M251003</link>
      <description>&lt;P&gt;Here's some instructions and explanations on how to capture output that is shown. &lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods-output-statement/" target="_blank"&gt;https://blogs.sas.com/content/sastraining/2017/03/31/capturing-output-from-any-procedure-with-an-ods-output-statement/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't specify the procedure so cannot help you with code but you can easily capture the table with an ODS statement and then filter out only the variables you want. It will likely look like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output fixedEstimates = want (keep = estimtae pvalue lower upper);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/393310"&gt;@393310&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to pick out certain parts of your results and send to a new table? for example, in the solution for fixed effects below, I want just the estimate p- value and confidence interval in a new table but want to exclude the rest of the results :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schatr2_0-1639608786715.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66781i2F9910CA00CED83A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="schatr2_0-1639608786715.png" alt="schatr2_0-1639608786715.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;what i want:&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="width: 100%;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%"&gt;estimate&lt;/TD&gt;
&lt;TD width="25%"&gt;p value&lt;/TD&gt;
&lt;TD width="25%"&gt;lower&lt;/TD&gt;
&lt;TD width="25%"&gt;upper&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;-2.598&lt;/TD&gt;
&lt;TD&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;TD&gt;-2.95&lt;/TD&gt;
&lt;TD&gt;-2.2&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate the help!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 23:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-custom-table-from-results/m-p/786247#M251003</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-15T23:00:27Z</dc:date>
    </item>
  </channel>
</rss>

