<?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 Plot statement in Proc Power in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Plot-statement-in-Proc-Power/m-p/33388#M1367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I think it all comes down to the granularity of the interpolation, so yes the precision differs depending on the option.&amp;nbsp; Rather than NPTS=, you might specify STEP= in the plot statement, for spacing on the X-axis for the interpolation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2012 11:53:54 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2012-03-16T11:53:54Z</dc:date>
    <item>
      <title>Plot statement in Proc Power</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plot-statement-in-Proc-Power/m-p/33387#M1366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm trying to draw a graph for the samplsize analysis with plot statement in power procedure,&lt;/P&gt;&lt;P&gt;and I find that the resut differss depending on the option of plot statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAS code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*PRG1*/&lt;BR /&gt;proc power;&lt;BR /&gt;&amp;nbsp; pairedmeans test=equiv_ratio dist=lognormal&lt;BR /&gt;&amp;nbsp; meanratio = 1.10&lt;BR /&gt;&amp;nbsp; alpha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.05 &lt;BR /&gt;&amp;nbsp; cv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.15&lt;BR /&gt;&amp;nbsp; corr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;BR /&gt;&amp;nbsp; lower&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.8&lt;BR /&gt;&amp;nbsp; upper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1.25&lt;BR /&gt;&amp;nbsp; npairs&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2 to 100 by 1&lt;BR /&gt;&amp;nbsp; power&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =. ;&lt;BR /&gt;&amp;nbsp; plot&amp;nbsp; min=2 max=100 yopts=(ref=0.9 crossref=yes);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*PRG2*/&lt;BR /&gt;proc power;&lt;BR /&gt;&amp;nbsp; pairedmeans test=equiv_ratio dist=lognormal&lt;BR /&gt;&amp;nbsp; meanratio = 1.10&lt;BR /&gt;&amp;nbsp; alpha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.05 &lt;BR /&gt;&amp;nbsp; cv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.15&lt;BR /&gt;&amp;nbsp; corr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;BR /&gt;&amp;nbsp; lower&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.8&lt;BR /&gt;&amp;nbsp; upper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1.25&lt;BR /&gt;&amp;nbsp; npairs&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2 to 100 by 1&lt;BR /&gt;&amp;nbsp; power&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =. ;&lt;BR /&gt;&amp;nbsp; plot&amp;nbsp; min=20 max=50 yopts=(ref=0.9 crossref=yes);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*PRG3*/&lt;BR /&gt;proc power;&lt;BR /&gt;&amp;nbsp; pairedmeans test=equiv_ratio dist=lognormal&lt;BR /&gt;&amp;nbsp; meanratio = 1.10&lt;BR /&gt;&amp;nbsp; alpha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.05 &lt;BR /&gt;&amp;nbsp; cv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.15&lt;BR /&gt;&amp;nbsp; corr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0&lt;BR /&gt;&amp;nbsp; lower&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.8&lt;BR /&gt;&amp;nbsp; upper&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1.25&lt;BR /&gt;&amp;nbsp; npairs&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2 to 100 by 1&lt;BR /&gt;&amp;nbsp; power&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =. ; &lt;BR /&gt;&amp;nbsp; plot&amp;nbsp; min=2 max=100 yopts=(ref=0.9 crossref=yes) NPTS=1000;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Where does the difference come from?&lt;/P&gt;&lt;P&gt;Does the precision of estimation differ depending on the option?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd appreciate it if someone would help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 04:36:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plot-statement-in-Proc-Power/m-p/33387#M1366</guid>
      <dc:creator>Yasu</dc:creator>
      <dc:date>2012-03-16T04:36:55Z</dc:date>
    </item>
    <item>
      <title>Plot statement in Proc Power</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plot-statement-in-Proc-Power/m-p/33388#M1367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I think it all comes down to the granularity of the interpolation, so yes the precision differs depending on the option.&amp;nbsp; Rather than NPTS=, you might specify STEP= in the plot statement, for spacing on the X-axis for the interpolation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 11:53:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plot-statement-in-Proc-Power/m-p/33388#M1367</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-03-16T11:53:54Z</dc:date>
    </item>
  </channel>
</rss>

