<?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: base control imputation using proc mi in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931033#M46389</link>
    <description>&lt;P&gt;There is a known issue in Proc MI that will be fixed in an upcoming release that requires you also include the MODELOBS= variable in the MIN/MAX= list.&amp;nbsp; It appends it to the beginning of the variable list on the VAR statement.&amp;nbsp; Try this code instead:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mi data=widegrp1_2 seed=93538001 nimpute=50 out=newgrp1_2  noprint

    minimum= . .  0  0  maximum=.  .  14   14  minmaxiter=600 ;

  class TRT01PN CSIRSTR ;

  fcs nbiter=50 reg(BASE = CSIRSTR);

  fcs nbiter=50 reg(W2 = CSIRSTR BASE); /*[MESURE]='DD'*/

  MNAR model(W2/ modelobs=(TRT01PN = '3'));

  var CSIRSTR  BASE W2;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 19:46:17 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2024-06-05T19:46:17Z</dc:date>
    <item>
      <title>base control imputation using proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931020#M46388</link>
      <description>&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;mi&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=widegrp1_2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;seed=&lt;STRONG&gt;93538001&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;nimpute=&lt;STRONG&gt;50&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;out=newgrp1_2&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;noprint&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;minimum=&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;maximum=&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;.&amp;nbsp; 14&amp;nbsp; &amp;nbsp;14&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;minmaxiter=&lt;STRONG&gt;600&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;class&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CSIRSTR TRT01PN ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fcs&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;nbiter=&lt;STRONG&gt;50&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;reg(BASE = CSIRSTR);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fcs&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;nbiter=&lt;STRONG&gt;50&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;reg(W2 = CSIRSTR BASE);&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/*[MESURE]='DD'*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;MNAR&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;model(W2/&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;modelobs=(TRT01PN =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'3'));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;var&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CSIRSTR&amp;nbsp; BASE W2;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the above code, even after I specify minimum and maximum value for all variable listed inn VAR statment, I still get the following WARNING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: The specified nonmissing MINIMUM= 0 option for the CLASS variable CSIRSTR is not allowed. This option will be ignored.&lt;/P&gt;&lt;P&gt;WARNING: The specified nonmissing MAXIMUM= 14 option for the CLASS variable CSIRSTR is not allowed. This option will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to avoid these WARNING ? Should I modify MNAR statement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 19:01:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931020#M46388</guid>
      <dc:creator>ndang3188</dc:creator>
      <dc:date>2024-06-05T19:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: base control imputation using proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931033#M46389</link>
      <description>&lt;P&gt;There is a known issue in Proc MI that will be fixed in an upcoming release that requires you also include the MODELOBS= variable in the MIN/MAX= list.&amp;nbsp; It appends it to the beginning of the variable list on the VAR statement.&amp;nbsp; Try this code instead:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mi data=widegrp1_2 seed=93538001 nimpute=50 out=newgrp1_2  noprint

    minimum= . .  0  0  maximum=.  .  14   14  minmaxiter=600 ;

  class TRT01PN CSIRSTR ;

  fcs nbiter=50 reg(BASE = CSIRSTR);

  fcs nbiter=50 reg(W2 = CSIRSTR BASE); /*[MESURE]='DD'*/

  MNAR model(W2/ modelobs=(TRT01PN = '3'));

  var CSIRSTR  BASE W2;

run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 19:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931033#M46389</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2024-06-05T19:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: base control imputation using proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931036#M46390</link>
      <description>&lt;P&gt;Thank you for your quick reply. I tried the code and now the imputed result for BASE &amp;gt; 14, which is out of range. Is there any other way to fix this.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:04:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931036#M46390</guid>
      <dc:creator>ndang3188</dc:creator>
      <dc:date>2024-06-05T20:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: base control imputation using proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931039#M46391</link>
      <description>&lt;P&gt;You could try the suggestions in the usage note below.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/kb/24/475.html" target="_blank"&gt;24475 - Handling the ERROR: "An imputed variable value is not in the specified range after 100 tries" (sas.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:10:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931039#M46391</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2024-06-05T20:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: base control imputation using proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931041#M46392</link>
      <description>&lt;P&gt;Thank you. I think the issue is with the extra dot in minimum and maximum option. Somehow it assigns no limit to BASE variable. Therefore, there is no error reported in SAS. I should just keep the original code. Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:17:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931041#M46392</guid>
      <dc:creator>ndang3188</dc:creator>
      <dc:date>2024-06-05T20:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: base control imputation using proc mi</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931047#M46393</link>
      <description>&lt;P&gt;I sincerely apologize. I implemented your approach in the wrong SAS code, that is why it gave the wrong results. This should be implemented for proc mi with MNAR statement. Thank you so much for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 20:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/base-control-imputation-using-proc-mi/m-p/931047#M46393</guid>
      <dc:creator>ndang3188</dc:creator>
      <dc:date>2024-06-05T20:27:56Z</dc:date>
    </item>
  </channel>
</rss>

