<?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 PROC MI: the listing order of the variables in var statement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/227195#M12003</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to multiple imputaton method and PROC MI procedure. I found that if the order of the variables change, the imputed values will change. In this case, how do you determine the order of the variables in var statement? Do I put the most important one first? Please find the following example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(SAS 9.4; Window 7)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data missingdata;&lt;BR /&gt;input id sex $ age ind1 ind2 ind3 $ ind4 score;&lt;BR /&gt;datalines;&lt;BR /&gt;1 F 35 17 . 1 3 98&lt;BR /&gt;17 M 50 14 5 . 2 80&lt;BR /&gt;33 F 45 6 7 0 . 75&lt;BR /&gt;49 M 24 . 5 0 8 75&lt;BR /&gt;65 F 44 11 9 . 5 88&lt;BR /&gt;81 M 34 9 5 1 7 .&lt;BR /&gt;2 F 40 . 3 1 9 46&lt;BR /&gt;18 F 47 3 . 0 1 76&lt;BR /&gt;34 F 58 16 8 0 2 .&lt;BR /&gt;50 M 63 18 1 . 3 83&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mi data = missingdata seed = 1 out = mi_data1 nimpute = 1 noprint;&lt;BR /&gt;class sex;&lt;BR /&gt;var sex ind4 score;&lt;BR /&gt;fcs reg(ind4);&lt;BR /&gt;fcs reg(score);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc mi data = missingdata seed = 1 out = mi_data2 nimpute = 1 noprint;&lt;BR /&gt;class sex;&lt;BR /&gt;var ind4 sex score;&lt;BR /&gt;fcs reg(ind4);&lt;BR /&gt;fcs reg(score);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mi data = missingdata seed = 1 out = mi_data3 nimpute = 1 noprint;&lt;BR /&gt;class sex;&lt;BR /&gt;var ind4 sex score;&lt;BR /&gt;fcs reg(ind4 = sex);&lt;BR /&gt;fcs reg(score);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;CY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2015 22:03:32 GMT</pubDate>
    <dc:creator>cywong</dc:creator>
    <dc:date>2015-09-24T22:03:32Z</dc:date>
    <item>
      <title>PROC MI: the listing order of the variables in var statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/227195#M12003</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to multiple imputaton method and PROC MI procedure. I found that if the order of the variables change, the imputed values will change. In this case, how do you determine the order of the variables in var statement? Do I put the most important one first? Please find the following example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(SAS 9.4; Window 7)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data missingdata;&lt;BR /&gt;input id sex $ age ind1 ind2 ind3 $ ind4 score;&lt;BR /&gt;datalines;&lt;BR /&gt;1 F 35 17 . 1 3 98&lt;BR /&gt;17 M 50 14 5 . 2 80&lt;BR /&gt;33 F 45 6 7 0 . 75&lt;BR /&gt;49 M 24 . 5 0 8 75&lt;BR /&gt;65 F 44 11 9 . 5 88&lt;BR /&gt;81 M 34 9 5 1 7 .&lt;BR /&gt;2 F 40 . 3 1 9 46&lt;BR /&gt;18 F 47 3 . 0 1 76&lt;BR /&gt;34 F 58 16 8 0 2 .&lt;BR /&gt;50 M 63 18 1 . 3 83&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mi data = missingdata seed = 1 out = mi_data1 nimpute = 1 noprint;&lt;BR /&gt;class sex;&lt;BR /&gt;var sex ind4 score;&lt;BR /&gt;fcs reg(ind4);&lt;BR /&gt;fcs reg(score);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc mi data = missingdata seed = 1 out = mi_data2 nimpute = 1 noprint;&lt;BR /&gt;class sex;&lt;BR /&gt;var ind4 sex score;&lt;BR /&gt;fcs reg(ind4);&lt;BR /&gt;fcs reg(score);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mi data = missingdata seed = 1 out = mi_data3 nimpute = 1 noprint;&lt;BR /&gt;class sex;&lt;BR /&gt;var ind4 sex score;&lt;BR /&gt;fcs reg(ind4 = sex);&lt;BR /&gt;fcs reg(score);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;CY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 22:03:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/227195#M12003</guid>
      <dc:creator>cywong</dc:creator>
      <dc:date>2015-09-24T22:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI: the listing order of the variables in var statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/228638#M12069</link>
      <description>&lt;P&gt;The key feature that distinguishes FCS imputation from MCMC imputation is that FCS imputes variables one at a time. In PROC MI with the FCS statement, the variables are imputed sequentially in the order specified in the VAR statement. Because the underlying algorithm relies on random sampling, changing the order of the variables changes which part of the random number stream is used to draw each new parameter and imputed value. So, changing the order of the variables on the VAR statement should always result in some change to the imputed data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for the ordering of the variables, the order should not have much impact on your pooled parameter estimates&amp;nbsp;if your number of iterations is large (van Buuren &amp;amp; Groothuis-Oudshoorn, 2011). Increasing the number of imputed data sets will further reduce the impact of the ordering of the variables on the results. However, the ordering of the variables will still effect the efficiency of the imputation process. It is generally recommended that you list the variables according to the number of missing observations for each (from most complete to least complete).&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 14:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/228638#M12069</guid>
      <dc:creator>StatsGeek</dc:creator>
      <dc:date>2015-10-06T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI: the listing order of the variables in var statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/374181#M19601</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for this useful discussion. I have a related question: do I have to put the dependent (outcome) variable first and then all independent variables? I mean, my (mianalyze) model is y = b1*x1 + b2*x2....&lt;/P&gt;&lt;P&gt;How proc mi could understand wich one is the dependent varaiable? Or how FCS is able to identify which one is the dependent/ouctome variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would anyone help please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rahid&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 17:32:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/374181#M19601</guid>
      <dc:creator>mahmood</dc:creator>
      <dc:date>2017-07-08T17:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI: the listing order of the variables in var statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/639020#M30583</link>
      <description>&lt;P&gt;Is there a good reference for the following answer you provided regarding the order of covariates, other than your answer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbd_0-1586538785255.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38180i80F5C3541AFF986B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbd_0-1586538785255.png" alt="hbd_0-1586538785255.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 17:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-the-listing-order-of-the-variables-in-var-statement/m-p/639020#M30583</guid>
      <dc:creator>hbd</dc:creator>
      <dc:date>2020-04-10T17:13:55Z</dc:date>
    </item>
  </channel>
</rss>

