<?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: Performing power analysis to find sample size for cox regression analysis experiment in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Performing-power-analysis-to-find-sample-size-for-cox-regression/m-p/912491#M45297</link>
    <description>&lt;P&gt;Your description does not match the code shown: You show " I calculated that Eventprob=0.115 (=[23.1/1000][5 years])." in the text but the code contains Eventprob = 0.023.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure what a CVD=23% translates too in&amp;nbsp; this but it appears that you might have used that as the STDDEV and is likely a very small STDDEV. I might suggest trying a list of values for one of those parameters and see the impact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use STDDEV= 2 1 0.23 then the Ntotals are 1249, 4996 and 94435 respectively. Changing the Eventprob to 0.115 drops those to 250, 1000 and 18887 respectively.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2024 16:03:40 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-01-22T16:03:40Z</dc:date>
    <item>
      <title>Performing power analysis to find sample size for cox regression analysis experiment</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Performing-power-analysis-to-find-sample-size-for-cox-regression/m-p/912399#M45295</link>
      <description>&lt;P&gt;I'm trying to calculate the sample size for a fictional experiment for class. The experiment is similar to measuring cholesterol until time of first CVD incident, and we would analyze it with cox regression analysis. We would have two groups of subjects that exercise and a group that does not.&amp;nbsp;When I try to calculate the sample size I get high numbers, I think because I'm misunderstanding something about the variables. I wasn't told to do coxreg, so I might be mistaken about that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A paper I looked at found that rate of CVD for subjects similar to mine was 23.1 person-years. So I calculated that&amp;nbsp;Eventprob=0.115 (=[23.1/1000][5 years]).&lt;/P&gt;&lt;P&gt;Another paper I found suggested that exercise decreased rate of cvd by 23%, so I used HAZARDRATIO=0.77.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wasn't sure what to put for stddev.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc power;
coxreg
power=0.8
ntotal=.
Eventprob=0.023
HAZARDRATIO=0.77
STDDEV= 0.23;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 00:13:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Performing-power-analysis-to-find-sample-size-for-cox-regression/m-p/912399#M45295</guid>
      <dc:creator>errrrram</dc:creator>
      <dc:date>2024-01-22T00:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Performing power analysis to find sample size for cox regression analysis experiment</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Performing-power-analysis-to-find-sample-size-for-cox-regression/m-p/912491#M45297</link>
      <description>&lt;P&gt;Your description does not match the code shown: You show " I calculated that Eventprob=0.115 (=[23.1/1000][5 years])." in the text but the code contains Eventprob = 0.023.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure what a CVD=23% translates too in&amp;nbsp; this but it appears that you might have used that as the STDDEV and is likely a very small STDDEV. I might suggest trying a list of values for one of those parameters and see the impact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use STDDEV= 2 1 0.23 then the Ntotals are 1249, 4996 and 94435 respectively. Changing the Eventprob to 0.115 drops those to 250, 1000 and 18887 respectively.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 16:03:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Performing-power-analysis-to-find-sample-size-for-cox-regression/m-p/912491#M45297</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-01-22T16:03:40Z</dc:date>
    </item>
  </channel>
</rss>

