<?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: Proc power for a case control study with a continuous exposure in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-power-for-a-case-control-study-with-a-continuous-exposure/m-p/723659#M224595</link>
    <description>&lt;P&gt;Thanks for your reply. I don't see how the types of analysis correspond to study designs. For example, you can use a logistic regression in a case-control or cohort study. I would like to find the min and max ORs my case-control study has the power to detect with a logistic regression. I can't see how to do that though, so I wrote code to get the N needed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc power; logistic alpha=0.05 power=0.80 ntotal=. vardist("exposure")=normal(2,13) testpredictor="exposure" testregcoeff=-0.0896 intercept=-0.0725;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It says I need 36 people so something isn't right... The regression coefficient and intercept are from a logistic regression in the study - this is a post hoc calculation requested by a reviewer. Nowhere in this code though have I put in the number of controls per case (1:1 here) which I would think it would need.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 21:31:19 GMT</pubDate>
    <dc:creator>kpberger</dc:creator>
    <dc:date>2021-03-04T21:31:19Z</dc:date>
    <item>
      <title>Proc power for a case control study with a continuous exposure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-power-for-a-case-control-study-with-a-continuous-exposure/m-p/723597#M224555</link>
      <description>&lt;P&gt;Hi all. Can proc power do calculations for case-control studies with a continuous exposure? I haven't found any examples online. There doesn't seem to be a place where you tell the program what kind of study you have. Does anyone know? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 20:01:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-power-for-a-case-control-study-with-a-continuous-exposure/m-p/723597#M224555</guid>
      <dc:creator>kpberger</dc:creator>
      <dc:date>2021-03-04T20:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc power for a case control study with a continuous exposure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-power-for-a-case-control-study-with-a-continuous-exposure/m-p/723638#M224581</link>
      <description>&lt;P&gt;The syntax for proc power except for the Plot statement, basically does use the 'study you have'. Look at the names of the statements:&lt;/P&gt;
&lt;P&gt;Coxreg&lt;/P&gt;
&lt;P&gt;logistic&lt;/P&gt;
&lt;P&gt;multreg&lt;/P&gt;
&lt;P&gt;onecorr&lt;/P&gt;
&lt;P&gt;onesamplefreq&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cox regression, logistic regression , multiple regression, simple and partial Pearson correlation, single proportion and so forth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What exact test will you be performing on the data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may have to provide more details on how "continuous exposure" is involved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 20:54:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-power-for-a-case-control-study-with-a-continuous-exposure/m-p/723638#M224581</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-03-04T20:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc power for a case control study with a continuous exposure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-power-for-a-case-control-study-with-a-continuous-exposure/m-p/723659#M224595</link>
      <description>&lt;P&gt;Thanks for your reply. I don't see how the types of analysis correspond to study designs. For example, you can use a logistic regression in a case-control or cohort study. I would like to find the min and max ORs my case-control study has the power to detect with a logistic regression. I can't see how to do that though, so I wrote code to get the N needed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc power; logistic alpha=0.05 power=0.80 ntotal=. vardist("exposure")=normal(2,13) testpredictor="exposure" testregcoeff=-0.0896 intercept=-0.0725;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It says I need 36 people so something isn't right... The regression coefficient and intercept are from a logistic regression in the study - this is a post hoc calculation requested by a reviewer. Nowhere in this code though have I put in the number of controls per case (1:1 here) which I would think it would need.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 21:31:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-power-for-a-case-control-study-with-a-continuous-exposure/m-p/723659#M224595</guid>
      <dc:creator>kpberger</dc:creator>
      <dc:date>2021-03-04T21:31:19Z</dc:date>
    </item>
  </channel>
</rss>

