<?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: Plotting survival sample size calculation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Plotting-survival-sample-size-calculation/m-p/813092#M40102</link>
    <description>&lt;P&gt;That is not a "problem". That is an ERROR.&lt;/P&gt;
&lt;P&gt;Running your code:&lt;/P&gt;
&lt;PRE&gt;115     proc power;
116     twosamplesurvival test=logrank
117        curve("Standard") = 90 : 0.7
118        curve("Proposed") = (10 to 90 by 10):(0.95 0.9 0.85 0.8 0.75 0.7 0.65 0.60 0.55)
119        groupsurvival = "Standard" | "Proposed"
120        accrualtime = 0
121        followuptime = 90
122         power = 0.8
123        npergroup = .;
124     plot x=effect min=0 max=90;
125  run;

ERROR: X=EFFECT is invalid for this analysis.
&lt;/PRE&gt;
&lt;P&gt;With Twosamplesurvival the effect supported is Hazard ratio &lt;STRONG&gt;if used&lt;/STRONG&gt;. Which means a Hazardratio paremeter or list is required. The Hazardratio is incompatible with Groupsurvival. So to get plots you need to rephrase your approach. I don't know enough about the survival stuff to make a viable suggestion.&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 21:24:57 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-05-12T21:24:57Z</dc:date>
    <item>
      <title>Plotting survival sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plotting-survival-sample-size-calculation/m-p/813059#M40101</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, I need help plotting this survival sample size calculation. The problem is with the plot x=effect. Please, what is the right thing?&lt;/P&gt;
&lt;P&gt;Below is my code.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing style=htmlbluecml;
ods graphics on;
   proc power;
   twosamplesurvival test=logrank
      curve("Standard") = 90 : 0.7
      curve("Proposed") = (10 to 90 by 10):(0.95 0.9 0.85 0.8 0.75 0.7 0.65 0.60 0.55)
      groupsurvival = "Standard" | "Proposed"
      accrualtime = 0
      followuptime = 90
       power = 0.8
      npergroup = .;
   plot x=effect min=0 max=90;run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 May 2022 18:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plotting-survival-sample-size-calculation/m-p/813059#M40101</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-05-12T18:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting survival sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plotting-survival-sample-size-calculation/m-p/813092#M40102</link>
      <description>&lt;P&gt;That is not a "problem". That is an ERROR.&lt;/P&gt;
&lt;P&gt;Running your code:&lt;/P&gt;
&lt;PRE&gt;115     proc power;
116     twosamplesurvival test=logrank
117        curve("Standard") = 90 : 0.7
118        curve("Proposed") = (10 to 90 by 10):(0.95 0.9 0.85 0.8 0.75 0.7 0.65 0.60 0.55)
119        groupsurvival = "Standard" | "Proposed"
120        accrualtime = 0
121        followuptime = 90
122         power = 0.8
123        npergroup = .;
124     plot x=effect min=0 max=90;
125  run;

ERROR: X=EFFECT is invalid for this analysis.
&lt;/PRE&gt;
&lt;P&gt;With Twosamplesurvival the effect supported is Hazard ratio &lt;STRONG&gt;if used&lt;/STRONG&gt;. Which means a Hazardratio paremeter or list is required. The Hazardratio is incompatible with Groupsurvival. So to get plots you need to rephrase your approach. I don't know enough about the survival stuff to make a viable suggestion.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 21:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plotting-survival-sample-size-calculation/m-p/813092#M40102</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-05-12T21:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting survival sample size calculation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Plotting-survival-sample-size-calculation/m-p/813460#M40112</link>
      <description>&lt;P&gt;ods listing style=htmlbluecml;&lt;BR /&gt;ods graphics on;&lt;BR /&gt;proc power;&lt;BR /&gt;twosamplesurvival test=logrank&lt;BR /&gt;curve("Standard") = 90 : 0.7&lt;BR /&gt;curve("Proposed") = (10 to 90 by 10):(0.95 0.9 0.85 0.8 0.75 0.7 0.65 0.60 0.55)&lt;BR /&gt;groupsurvival = "Standard" | "Proposed"&lt;BR /&gt;accrualtime = 0&lt;BR /&gt;followuptime = 90&lt;BR /&gt;power = 0.8&lt;BR /&gt;npergroup = .;&lt;BR /&gt;plot x=power min=0 max=1;run;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 13:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Plotting-survival-sample-size-calculation/m-p/813460#M40112</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-05-16T13:50:49Z</dc:date>
    </item>
  </channel>
</rss>

