<?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: Getting output from Proc Power in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Getting-output-from-Proc-Power/m-p/229717#M54420</link>
    <description>&lt;P&gt;ODS Output PlotContent = want;&lt;/P&gt;
&lt;P&gt;In the Proc Power code should the data from plots. Note that the output in this set is not normally displayed as part of the proc tables displayer.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2015 15:00:48 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-10-13T15:00:48Z</dc:date>
    <item>
      <title>Getting output from Proc Power</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-output-from-Proc-Power/m-p/229698#M54418</link>
      <description>&lt;P&gt;Hello, I would like to get a range of both the power and totlaN output from proc power while using the current ntotal = 3514.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, I would like this output table:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;N &amp;nbsp; &amp;nbsp; &amp;nbsp; power&lt;/P&gt;
&lt;P&gt;100 &amp;nbsp; &amp;nbsp; &amp;nbsp; .10&lt;/P&gt;
&lt;P&gt;200 &amp;nbsp; &amp;nbsp; &amp;nbsp; .20&lt;/P&gt;
&lt;P&gt;300 &amp;nbsp; &amp;nbsp; &amp;nbsp; .30&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc power;&lt;BR /&gt; twosamplefreq test=pchi&lt;BR /&gt; sides = 2&lt;BR /&gt; alpha = 0.05&lt;BR /&gt; groupproportions = (0.0965, 0.0627)&lt;BR /&gt; ntotal = 3514&lt;BR /&gt; power = .;&lt;BR /&gt; title 'Cohort 1 / 35% RRR';&lt;BR /&gt; plot x =N min=200 max = 8000;&lt;BR /&gt; ods output output = power;&lt;BR /&gt; proc print data=Power;&lt;BR /&gt;var NTotal Power ;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this possible? I know I can create a graph with this range, but can I get the output from the graph?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Donald S.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 13:30:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-output-from-Proc-Power/m-p/229698#M54418</guid>
      <dc:creator>daszlosek</dc:creator>
      <dc:date>2015-10-13T13:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting output from Proc Power</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Getting-output-from-Proc-Power/m-p/229717#M54420</link>
      <description>&lt;P&gt;ODS Output PlotContent = want;&lt;/P&gt;
&lt;P&gt;In the Proc Power code should the data from plots. Note that the output in this set is not normally displayed as part of the proc tables displayer.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Getting-output-from-Proc-Power/m-p/229717#M54420</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-10-13T15:00:48Z</dc:date>
    </item>
  </channel>
</rss>

