<?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: sample size calcs - why do these produce different results in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216875#M11755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right, I know, I understand that.&amp;nbsp; But one is confidence interval estimation and the 'proc power' is hypothesis testing.&amp;nbsp; They should be more in agreement, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 20:55:31 GMT</pubDate>
    <dc:creator>msecic</dc:creator>
    <dc:date>2015-04-07T20:55:31Z</dc:date>
    <item>
      <title>sample size calcs - why do these produce different results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216873#M11753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data a;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input z p q e;&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;1.96 0.95 0.05 0.05&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;data b;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set a;&lt;/P&gt;&lt;P&gt;&amp;nbsp; n=(z*z*p*q)/(e*e);&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp; proc print; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc power;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; onesamplefreq test=z method=normal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sides&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alpha&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.05&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nullproportion = 0.90&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proportion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.95&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ntotal&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; power&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0.9;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 21:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216873#M11753</guid>
      <dc:creator>msecic</dc:creator>
      <dc:date>2015-04-06T21:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calcs - why do these produce different results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216874#M11754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because your formula is not the one used by POWER. See the details at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_power_a0000000996.htm" title="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_power_a0000000996.htm"&gt;SAS/STAT(R) 9.3 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 20:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216874#M11754</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2015-04-07T20:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calcs - why do these produce different results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216875#M11755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right, I know, I understand that.&amp;nbsp; But one is confidence interval estimation and the 'proc power' is hypothesis testing.&amp;nbsp; They should be more in agreement, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 20:55:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216875#M11755</guid>
      <dc:creator>msecic</dc:creator>
      <dc:date>2015-04-07T20:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calcs - why do these produce different results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216876#M11756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not necessarily. These are different things.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 20:58:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216876#M11756</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2015-04-07T20:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: sample size calcs - why do these produce different results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216877#M11757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;POWER is involved with Type II error. The other approach is not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-size-calcs-why-do-these-produce-different-results/m-p/216877#M11757</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-08T16:02:26Z</dc:date>
    </item>
  </channel>
</rss>

