<?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: Proc lifetest with multiple imputation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887128#M43915</link>
    <description>&lt;P&gt;You should not put the _IMPUTATION_ variable on the STRATA statement.&amp;nbsp; It should appear on the BY statement so that each data set gets an independent analysis.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 16:18:19 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2023-07-31T16:18:19Z</dc:date>
    <item>
      <title>Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887115#M43910</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been trying to calculate survival estimates probabilities and standard error from a dataset where I performed multiple imputation.&lt;/P&gt;
&lt;P&gt;I wrote the following code, because, for each dataset imputed, I would like to obtain a survival curve for treated and another for untreated. Of course, Have is sorted by group.&lt;/P&gt;
&lt;P&gt;The problem is that, every time I run the code, SAS is not responding and I have to restart the software... Have you ever run something similar? I think that the problem is with the statement strata because, without it works fine.&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc lifetest data= Have outsurv=Want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; time followup*event(0);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; by group;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; strata _Imputation;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;weight sw;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 15:08:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887115#M43910</guid>
      <dc:creator>Haemoglobin17</dc:creator>
      <dc:date>2023-07-31T15:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887121#M43913</link>
      <description>&lt;P&gt;Have you tried "strata _imputation_" ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 15:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887121#M43913</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-07-31T15:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887127#M43914</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13540"&gt;@OsoGris&lt;/a&gt;, yes , this is just a typo!</description>
      <pubDate>Mon, 31 Jul 2023 16:12:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887127#M43914</guid>
      <dc:creator>Haemoglobin17</dc:creator>
      <dc:date>2023-07-31T16:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887128#M43915</link>
      <description>&lt;P&gt;You should not put the _IMPUTATION_ variable on the STRATA statement.&amp;nbsp; It should appear on the BY statement so that each data set gets an independent analysis.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 16:18:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887128#M43915</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2023-07-31T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887260#M43923</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If I put _Imputation_ in the by statement I will obtain five (in my case) survival curves, one for each imputed dataset, while I would like to obtain two curves for each imputed dataset, one for treated and the other for untreated, for each imputed dataset.&lt;/P&gt;
&lt;P&gt;I can divide the imputed dataset in 5 sub-dataset based on the value on _Imputation_ and apply the previous script without the strata statement.&lt;/P&gt;
&lt;P&gt;However, I was wondering if there is a faster way to obtain the same result without running 5 different proc lifetest..&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 09:40:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887260#M43923</guid>
      <dc:creator>Haemoglobin17</dc:creator>
      <dc:date>2023-08-01T09:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887486#M43945</link>
      <description>&lt;P&gt;If you want curves for treated (events?) and untreated (censored?) separately then it seems you would have to run two PROC LIFETEST steps for each imputed data set.&amp;nbsp; &amp;nbsp;That would mean 10 PROC LIFETEST steps. I don't see any other way around this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 13:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887486#M43945</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2023-08-02T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc lifetest with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887532#M43948</link>
      <description>&lt;P&gt;If you want two separate curves per imputed data set then you should place both variables on the BY statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BY _IMPUTATION_ GROUP;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 19:18:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-lifetest-with-multiple-imputation/m-p/887532#M43948</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2023-08-02T19:18:52Z</dc:date>
    </item>
  </channel>
</rss>

