<?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: Power calculation in cohort study in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424587#M22320</link>
    <description>&lt;P&gt;What version of SAS/STAT do you have? If you're not sure, you can use the following code to check.&lt;/P&gt;
&lt;P&gt;It's possible that it's an earlier version and you don't have this feature yet &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 03 Jan 2018 15:06:22 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-01-03T15:06:22Z</dc:date>
    <item>
      <title>Power calculation in cohort study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424302#M22312</link>
      <description>&lt;P&gt;Hi! I am performing a prospective cohort study in an existing cohort study. The sample of participants I can use from this existing cohort is 190. I am using a Cox model to analyze the data and to get a Hazard ratio. But now I want to know what the power of the study is. How can I calculate it? I can't find it on the internet...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am doing a prospective survival analysis (in an existing cohort) of 190 participants, the exposure is divided either into three categories and continuous and the outcome is yes/no.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, I also want to calculate the power of the study when it is stratified for some covariates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS, so maybe there is an option in SAS for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope some of you can help me. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424302#M22312</guid>
      <dc:creator>hovliza</dc:creator>
      <dc:date>2018-01-02T12:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Power calculation in cohort study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424346#M22313</link>
      <description>&lt;P&gt;PROC POWER.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like survival analysis.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example to get you started.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_examples06.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_examples06.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/172388"&gt;@hovliza&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi! I am performing a prospective cohort study in an existing cohort study. The sample of participants I can use from this existing cohort is 190. I am using a Cox model to analyze the data and to get a Hazard ratio. But now I want to know what the power of the study is. How can I calculate it? I can't find it on the internet...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I am doing a prospective survival analysis (in an existing cohort) of 190 participants, the exposure is divided either into three categories and continuous and the outcome is yes/no.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that, I also want to calculate the power of the study when it is stratified for some covariates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS, so maybe there is an option in SAS for this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope some of you can help me. Thanks in advance!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 16:00:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424346#M22313</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-02T16:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Power calculation in cohort study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424532#M22319</link>
      <description>&lt;P&gt;Thanks for answering. When I do this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC POWER;
coxreg
      hazardratio = 1.4
      stddev = 1.2
      ntotal = 190
      eventprob = 0.25
      power = .
   ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;SAS says about the&amp;nbsp;'coxreg';&amp;nbsp;&amp;nbsp;180-322: Statement is not valid or it is used out of proper order. This nearly the same as in the example, what can I do? I am using SAS 9.4..&amp;nbsp;I think that is the problem? What else can I do?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 10:44:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424532#M22319</guid>
      <dc:creator>hovliza</dc:creator>
      <dc:date>2018-01-03T10:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Power calculation in cohort study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424587#M22320</link>
      <description>&lt;P&gt;What version of SAS/STAT do you have? If you're not sure, you can use the following code to check.&lt;/P&gt;
&lt;P&gt;It's possible that it's an earlier version and you don't have this feature yet &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Jan 2018 15:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424587#M22320</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-03T15:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Power calculation in cohort study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424709#M22334</link>
      <description>I am using SAS 9.4 so I think it is not possible? What could I do to calculate the power of my survival analysis? Because Ive three groups and in PROC POWER; twosamplesurvival you only have two groups right?</description>
      <pubDate>Wed, 03 Jan 2018 19:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424709#M22334</guid>
      <dc:creator>hovliza</dc:creator>
      <dc:date>2018-01-03T19:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Power calculation in cohort study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424712#M22335</link>
      <description>&lt;P&gt;I would probably simulate it then.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would run a whole bunch of simulations and determine the cutoff points.&amp;nbsp; I actually coded this about 5 years ago for a clinical trial protocol and to determine the number of obs and when we could terminate early &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I recall using a text book, I'll dig up the name and reference tonight, if someone else hasn't already answered this.&lt;/P&gt;
&lt;P&gt;You can also look up Rick Wicklin's book on simulating data with SAS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 19:46:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/424712#M22335</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-03T19:46:16Z</dc:date>
    </item>
  </channel>
</rss>

