<?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: Question about PROC POWER in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208033#M11192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since 250 and 0.6 is already used in the syntax, we may not want to repeat the information in the binomial (p ,n) option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the syntax with p = 50/130 and n = 130, power is &amp;gt;0.999.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because binomial is the distribution of smoking (exposure here), run the syntax with p = 120/250, n = 250, power is &lt;STRONG&gt;&amp;gt;0.999&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, run the following syntax, obtain a power of &lt;STRONG&gt;0.263&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc power;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;twosamplefreq&lt;/STRONG&gt; test=&lt;STRONG&gt;lrchi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oddsratio =1.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; refproportion = 0.2&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; groupns = (100 150)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; power = .;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theoretically, the LOGISTIC option and the TWOSAMPLEFREQ option in the PROC POWER should be equivalent. Not sure why the results are inconsistent!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 15:24:40 GMT</pubDate>
    <dc:creator>ZC</dc:creator>
    <dc:date>2015-07-22T15:24:40Z</dc:date>
    <item>
      <title>Question about PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208031#M11190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confused about PROC POWER logistic. For example, I am examine the association between smoking and cardiovascular disease. I have the following data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none; padding: 0 5.4pt 0 5.4pt;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD rowspan="2" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P style="margin-bottom: 10pt;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Smoking&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD colspan="2" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="312"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Cardiovascular disease&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD rowspan="2" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Total&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;No&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Yes&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P style="margin-bottom: 10pt;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;No&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;80&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;50&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;130&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P style="margin-bottom: 10pt;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Yes&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;20&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;100&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;120&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P style="margin-bottom: 10pt;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Total&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;100&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;150&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="156"&gt;&lt;P align="center" style="margin-bottom: 10pt; text-align: center;"&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;250&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use below the syntax:&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;PROC&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;POWER&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;LOGISTIC&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;vardist&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"smoking"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;) = binomial (&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="background: white none repeat scroll 0% 0%; font-size: 10pt; font-family: 'Courier New';"&gt;p&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background: white none repeat scroll 0% 0%;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="background: white none repeat scroll 0% 0%; font-size: 10pt; font-family: 'Courier New';"&gt;n&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;testpredictor&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;"smoking"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;responseprob&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;0.60&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;testoddsratio&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1.5&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;ntotal&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;250&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;power&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; = &lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;In SAS support, it says "&lt;/SPAN&gt;&lt;/P&gt;&lt;DL class="description"&gt;&lt;DT&gt;&lt;SPAN style="color: #000000;"&gt;BINOMIAL (&lt;EM&gt;p&lt;/EM&gt;, &lt;EM&gt;n&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/DT&gt;&lt;DD&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;is a binomial distribution with probability of success &lt;IMG alt="" class="math gen jiveImage" src="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/images/statug_power0035.png" /&gt; and number of independent Bernoulli trials &lt;IMG alt="" class="math gen jiveImage" src="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/images/statug_power0036.png" /&gt;. The value of &lt;IMG alt="" class="math gen jiveImage" src="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/images/statug_power0035.png" /&gt; must be greater than 0 and less than 1, and &lt;IMG alt="" class="math gen jiveImage" src="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/images/statug_power0036.png" /&gt; must be an integer greater than 0. "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;What &lt;SPAN style="color: #000000;"&gt;should th&lt;/SPAN&gt;e p and n be in this example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 21:49:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208031#M11190</guid>
      <dc:creator>ZC</dc:creator>
      <dc:date>2015-07-21T21:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Question about PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208032#M11191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are a couple of ways to go here, I think. Pick one of the two categories as the reference category.&amp;nbsp; For instance, if it is the SMOKING=NO category, the values would be p=50/130 and n would be 130.&amp;nbsp; Another would be to use the overall proportions, so that p=150/250=0.6 and n=250.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is untested, but since PROC POWER runs rapidly, I would start here and see what the results look like.&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>Wed, 22 Jul 2015 12:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208032#M11191</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-07-22T12:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Question about PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208033#M11192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since 250 and 0.6 is already used in the syntax, we may not want to repeat the information in the binomial (p ,n) option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the syntax with p = 50/130 and n = 130, power is &amp;gt;0.999.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because binomial is the distribution of smoking (exposure here), run the syntax with p = 120/250, n = 250, power is &lt;STRONG&gt;&amp;gt;0.999&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, run the following syntax, obtain a power of &lt;STRONG&gt;0.263&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc power;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;twosamplefreq&lt;/STRONG&gt; test=&lt;STRONG&gt;lrchi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oddsratio =1.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; refproportion = 0.2&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; groupns = (100 150)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; power = .;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theoretically, the LOGISTIC option and the TWOSAMPLEFREQ option in the PROC POWER should be equivalent. Not sure why the results are inconsistent!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 15:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208033#M11192</guid>
      <dc:creator>ZC</dc:creator>
      <dc:date>2015-07-22T15:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Question about PROC POWER</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208034#M11193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but the OR in this data is 8.&amp;nbsp; Plugging that into the twosamplefreq gives power&amp;gt;0.999, so I would guess that the two are returning roughly the same thing (although the twosamplefreq is probably comparing to an OR of 1, rather than the testoddsratio of 1.5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I think this design probably does have &amp;gt;.999 power to detect a difference in the OR of 8 vs 1.&amp;nbsp; Does that make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me, the next logical thing to do is to turn it inside-out, and calculate sample sizes for given OR, and I get some really weird results (N=15 for 80% power) but I think that might be for a unit change in the predictor, so I shifted to a standard deviation change (DEFAULTUNIT = SD), and now I get approximately 83% power to detect a shift from 1.5, or an N of 230 for 80% power.&amp;nbsp; I have to admit that I don't have a gut feel for sample sizes in logistic regression like I do for two sample comparisons, but this appears reasonable based on everything else here.&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>Wed, 22 Jul 2015 16:47:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-about-PROC-POWER/m-p/208034#M11193</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-07-22T16:47:42Z</dc:date>
    </item>
  </channel>
</rss>

