<?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: steps to multiple imputation: proc mi in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/271416#M14282</link>
    <description>&lt;P&gt;Thanks PG Stats!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess what I am struggle is this: "The key idea is that M repetitions yield M completed data sets, each of which can be analyzed by standard complete-data methods just as if it were the real data set. The M complete-data analyses based on the M repeated imputations are then combined to create one repeated-imputation inference."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in this case, do I run proc reg 5 times for each imputed dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and proc mianalyze creates combines to create one inference?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for the clarification&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2016 14:16:45 GMT</pubDate>
    <dc:creator>kewong</dc:creator>
    <dc:date>2016-05-18T14:16:45Z</dc:date>
    <item>
      <title>steps to multiple imputation: proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/270796#M14253</link>
      <description>&lt;P&gt;Hi SAS experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a question on multiple imputation. &amp;nbsp;Variables with missing data are: stage_cancer(ordinal) and birthcountry (nominal).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After I impute this data with the following code - what's next? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mi data = data&amp;nbsp;nimpute=5 seed=9455 out=outmi;&lt;BR /&gt;class stage&lt;SPAN&gt;_cancer&lt;/SPAN&gt; birthcountry;&lt;BR /&gt;fcs discrim(stage&lt;SPAN&gt;_cancer&lt;/SPAN&gt; = sexn age &lt;SPAN&gt;birth&lt;/SPAN&gt;&lt;SPAN&gt;country&lt;/SPAN&gt;/classeffects=include);&lt;BR /&gt;fcs discrim(&lt;SPAN&gt;birth&lt;/SPAN&gt;&lt;SPAN&gt;country&lt;/SPAN&gt; = sexn age stage&lt;SPAN&gt;_cancer&lt;/SPAN&gt;/classeffects=include);&lt;BR /&gt;var sexn age stage&lt;SPAN&gt;_cancer&lt;/SPAN&gt; &lt;SPAN&gt;birth&lt;/SPAN&gt;&lt;SPAN&gt;country&lt;/SPAN&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure how to handle the 5 new imputed datasets&amp;nbsp;for the same subject, if lets say I want to run a regression - do i use the outmi dataset?&lt;/P&gt;
&lt;P&gt;proc reg data = data;&lt;/P&gt;
&lt;P&gt;model outcome = sexn age stage&lt;SPAN&gt;_cancer&lt;/SPAN&gt; birthcountry;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any advice would be much appreciated! Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 22:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/270796#M14253</guid>
      <dc:creator>kewong</dc:creator>
      <dc:date>2016-05-16T22:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: steps to multiple imputation: proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/270860#M14255</link>
      <description>&lt;P&gt;Look at proc MIANALYZE, something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc reg data=outmi outest=estmi;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;model outcome = sexn age stage_cancer birthcountry;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mianalyze data=estmi;&lt;BR /&gt;modeleffects ...;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 02:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/270860#M14255</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-05-17T02:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: steps to multiple imputation: proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/271416#M14282</link>
      <description>&lt;P&gt;Thanks PG Stats!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess what I am struggle is this: "The key idea is that M repetitions yield M completed data sets, each of which can be analyzed by standard complete-data methods just as if it were the real data set. The M complete-data analyses based on the M repeated imputations are then combined to create one repeated-imputation inference."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in this case, do I run proc reg 5 times for each imputed dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and proc mianalyze creates combines to create one inference?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for the clarification&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 14:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/271416#M14282</guid>
      <dc:creator>kewong</dc:creator>
      <dc:date>2016-05-18T14:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: steps to multiple imputation: proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/271457#M14283</link>
      <description>&lt;P&gt;You run &lt;STRONG&gt;proc reg&lt;/STRONG&gt; once with &lt;STRONG&gt;by _imputation_&lt;/STRONG&gt;. This performs 5 regressions and puts all the results in the same file (estmi) which is then fed to proc mianalyze.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 16:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/steps-to-multiple-imputation-proc-mi/m-p/271457#M14283</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-05-18T16:26:52Z</dc:date>
    </item>
  </channel>
</rss>

