<?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 Calculation for Cox (Proportional Hazards) Regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419386#M22072</link>
    <description>&lt;P&gt;What version of SAS/STAT do you have?&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;
&lt;P&gt;&amp;nbsp;Or how about the demo code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
   coxreg
      hazardratio = 1.4
      rsquare = 0.15
      stddev = 1.2
      ntotal = 80
      eventprob = 0.8
      power = .
   ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 Dec 2017 22:12:09 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-12-07T22:12:09Z</dc:date>
    <item>
      <title>Sample Size Calculation for Cox (Proportional Hazards) Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419367#M22069</link>
      <description>&lt;P&gt;I am having trouble understanding why the 'coxreg' option in proc power doesn't work for me. Everything I have read said to use that option to in order to determine the number of events needed, when I have an estimate for the HR and power that I want the study/analysis to have. Is it available anymore? If not, what other options are there in SAS to calculate this? I am using SAS 9.4 TRS Level 1M2. Windows Version 6.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
     coxreg;
run;

proc power;
     onesamplefreq;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Obviously the code above is not complete, but in my program 'coxreg' from the first example is red (meaning it's not recognized, unlike the 'onesamplefreq' option below it).&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 21:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419367#M22069</guid>
      <dc:creator>shakabra09</dc:creator>
      <dc:date>2017-12-07T21:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Calculation for Cox (Proportional Hazards) Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419370#M22070</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;program 'coxreg' from the first example is red (meaning it's not recognized, unlike the 'onesamplefreq' option below it).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That's not necessarily true. The editors just not smart enough sometimes.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 21:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419370#M22070</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-12-07T21:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Calculation for Cox (Proportional Hazards) Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419377#M22071</link>
      <description>&lt;P&gt;From my log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 proc power;&lt;BR /&gt;NOTE: Writing HTML Body file: sashtml.htm&lt;BR /&gt;2 coxreg&lt;BR /&gt;------&lt;BR /&gt;180&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should have included this in my original post...&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 22:02:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419377#M22071</guid>
      <dc:creator>shakabra09</dc:creator>
      <dc:date>2017-12-07T22:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Calculation for Cox (Proportional Hazards) Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419386#M22072</link>
      <description>&lt;P&gt;What version of SAS/STAT do you have?&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;
&lt;P&gt;&amp;nbsp;Or how about the demo code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
   coxreg
      hazardratio = 1.4
      rsquare = 0.15
      stddev = 1.2
      ntotal = 80
      eventprob = 0.8
      power = .
   ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Dec 2017 22:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419386#M22072</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-12-07T22:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Calculation for Cox (Proportional Hazards) Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419393#M22073</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;What version of SAS/STAT do you have?&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;&lt;P&gt;13.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Or how about the demo code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc power;
   coxreg
      hazardratio = 1.4
      rsquare = 0.15
      stddev = 1.2
      ntotal = 80
      eventprob = 0.8
      power = .
   ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;10   proc power;
11      coxreg
        ------
        180
ERROR 180-322: Statement is not valid or it is used out of proper order.

12         hazardratio = 1.4
13         rsquare = 0.15
14         stddev = 1.2
15         ntotal = 80
16         eventprob = 0.8
17         power = .
18      ;
19   run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Dec 2017 22:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419393#M22073</guid>
      <dc:creator>shakabra09</dc:creator>
      <dc:date>2017-12-07T22:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Calculation for Cox (Proportional Hazards) Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419396#M22074</link>
      <description>&lt;P&gt;It looks like that is my problem, SAS/STAT 13.2 doesn't support coxreg. I need to make sure I use that User's Guide. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 22:30:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419396#M22074</guid>
      <dc:creator>shakabra09</dc:creator>
      <dc:date>2017-12-07T22:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Calculation for Cox (Proportional Hazards) Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419398#M22075</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/67523/HTML/default/viewer.htm#statug_power_toc.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/67523/HTML/default/viewer.htm#statug_power_toc.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately SAS / STAT 13.2 doesn't have COXREG as an option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a valid maintenance license, upgrades are free.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 22:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Calculation-for-Cox-Proportional-Hazards-Regression/m-p/419398#M22075</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-12-07T22:31:56Z</dc:date>
    </item>
  </channel>
</rss>

