<?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 Customizing axis and legend labels in a MACRO %KM_TTE_MIANALYZE in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Customizing-axis-and-legend-labels-in-a-MACRO-KM-TTE-MIANALYZE/m-p/953908#M47723</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have survival analysis data where I have imputed some missing values with PROC MI/PROC MIANALYZE. To produce a KM plot based on the imputed data, I am using the MACRO %KM_TTE_MIANALYZE. The macro works however it produces labels TREATMENT 1,0 and x and y axis labels I do not want for publication. I have tried to use the %ProvideSurvivalMacros that I use to customize standard KM plots produced using proc Lifetest but it does not work. In the macro I do not even see the works axis or label. I am wondering if anyone has any advice or could recommend a different MACRO or procedure to produce KM plots for multiple imputed dataset where labels and axiss can be edited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 19:57:59 GMT</pubDate>
    <dc:creator>kjmathes03</dc:creator>
    <dc:date>2024-12-17T19:57:59Z</dc:date>
    <item>
      <title>Customizing axis and legend labels in a MACRO %KM_TTE_MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Customizing-axis-and-legend-labels-in-a-MACRO-KM-TTE-MIANALYZE/m-p/953908#M47723</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have survival analysis data where I have imputed some missing values with PROC MI/PROC MIANALYZE. To produce a KM plot based on the imputed data, I am using the MACRO %KM_TTE_MIANALYZE. The macro works however it produces labels TREATMENT 1,0 and x and y axis labels I do not want for publication. I have tried to use the %ProvideSurvivalMacros that I use to customize standard KM plots produced using proc Lifetest but it does not work. In the macro I do not even see the works axis or label. I am wondering if anyone has any advice or could recommend a different MACRO or procedure to produce KM plots for multiple imputed dataset where labels and axiss can be edited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 19:57:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Customizing-axis-and-legend-labels-in-a-MACRO-KM-TTE-MIANALYZE/m-p/953908#M47723</guid>
      <dc:creator>kjmathes03</dc:creator>
      <dc:date>2024-12-17T19:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing axis and legend labels in a MACRO %KM_TTE_MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Customizing-axis-and-legend-labels-in-a-MACRO-KM-TTE-MIANALYZE/m-p/953922#M47725</link>
      <description>&lt;P&gt;At a guess you need to find the definition code for the PLOTSTEP macro called towards the end of the code:&lt;/P&gt;
&lt;PRE&gt;%if "&amp;amp;plot"="yes" %then %do;
			%plotstep(plotdata=_tmc_allsp, xvar=timelist, yvar=Survival_comb, by=%str(&amp;amp;by &amp;amp;strata), trtvar=&amp;amp;trtvar,
			outfname=&amp;amp;plotfname, outpath=&amp;amp;plotpath);
		%end;&lt;/PRE&gt;
&lt;P&gt;The name Plotstep coupled with the condition makes me think that contains the actual plot code. Since the macro appears to use a data set created for plotting the plot may well not involve Proc Lifetest at all. So the %KM macros may not affect other code. Or Plotstep has it's own calls to the %KM macro variables that would override anything set prior the execution of the Plotstep macro.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 20:51:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Customizing-axis-and-legend-labels-in-a-MACRO-KM-TTE-MIANALYZE/m-p/953922#M47725</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-12-17T20:51:09Z</dc:date>
    </item>
  </channel>
</rss>

