<?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 survival analysis with multiple imputation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/survival-analysis-with-multiple-imputation/m-p/870436#M43087</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I am using SAS to do a multiple imputation, and I am having trouble figuring out proc MI. I am looking at a comparison of a control with 126 observations to the cases with 63 observations. The missing data is specifically only in the PercentUsed variable. This is what I have so far. Really appreciate any help.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;proc mi data=FinalMod nimpute=126 seed=12345 out=imputed;
var days case sleep exercise age PercentUsed  ;  
run;

PROC PHREG data= FinalMod;
MODEL days*case(0) =  sleep exercise age PercentUsed/ RISKLIMITS=BOTH
TYPE3(ALL);
RUN;

proc mianalyze data=imputed;
  modeleffects est=phreg;
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am expecting results that look similar to the original proc phreg, but slightly different for the PercentUsed variable&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 18 Apr 2023 20:30:12 GMT</pubDate>
    <dc:creator>smoore3790</dc:creator>
    <dc:date>2023-04-18T20:30:12Z</dc:date>
    <item>
      <title>survival analysis with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/survival-analysis-with-multiple-imputation/m-p/870436#M43087</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I am using SAS to do a multiple imputation, and I am having trouble figuring out proc MI. I am looking at a comparison of a control with 126 observations to the cases with 63 observations. The missing data is specifically only in the PercentUsed variable. This is what I have so far. Really appreciate any help.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;proc mi data=FinalMod nimpute=126 seed=12345 out=imputed;
var days case sleep exercise age PercentUsed  ;  
run;

PROC PHREG data= FinalMod;
MODEL days*case(0) =  sleep exercise age PercentUsed/ RISKLIMITS=BOTH
TYPE3(ALL);
RUN;

proc mianalyze data=imputed;
  modeleffects est=phreg;
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am expecting results that look similar to the original proc phreg, but slightly different for the PercentUsed variable&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Apr 2023 20:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/survival-analysis-with-multiple-imputation/m-p/870436#M43087</guid>
      <dc:creator>smoore3790</dc:creator>
      <dc:date>2023-04-18T20:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: survival analysis with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/survival-analysis-with-multiple-imputation/m-p/870797#M43103</link>
      <description>&lt;P&gt;It isn't clear exactly what your question is.&amp;nbsp; You will not get any output from the code you sent, at least with respect to the multiple imputation modeling and combining of estimates.&lt;/P&gt;
&lt;P&gt;The PHREG step is on the wrong data set and needs to be done BY _IMPUTATION_ and the syntax in the MIANALYZE step is not valid.&amp;nbsp; You should run this instead:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;PROC PHREG data= imputed;&lt;BR /&gt;by _imputation_;
MODEL days*case(0) =  sleep exercise age PercentUsed/ RISKLIMITS=BOTH
TYPE3(ALL);&lt;BR /&gt;ods output ParameterEstimates=phreg_parms:
RUN;

proc mianalyze parms=phreg_parms:
  modeleffects&amp;nbsp;sleep exercise age PercentUsed;&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 14:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/survival-analysis-with-multiple-imputation/m-p/870797#M43103</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2023-04-20T14:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: survival analysis with multiple imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/survival-analysis-with-multiple-imputation/m-p/870847#M43104</link>
      <description>&lt;P&gt;Thanks so much for the help, I really appreciate it. This worked perfectly and completely fixed my issue!!!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 17:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/survival-analysis-with-multiple-imputation/m-p/870847#M43104</guid>
      <dc:creator>smoore3790</dc:creator>
      <dc:date>2023-04-20T17:08:31Z</dc:date>
    </item>
  </channel>
</rss>

