<?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 MI -strange error message in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224919#M11879</link>
    <description>&lt;P&gt;Thanks for reply!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Provide the PROC MI code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc mi data=have out=want nimpute=1 seed=2015&lt;BR /&gt;min=. . . . . . . . . . . . . . . . . . . .&lt;BR /&gt;. . . . . . . . . . . . . . . . . . . . &lt;BR /&gt;37 90 45 75 153 3.3 134 &lt;STRONG&gt;0 &lt;/STRONG&gt;0.12 0.05 .&lt;BR /&gt;&lt;BR /&gt;max=. . . . . . . . . . . . . . . . . . . .&lt;BR /&gt;. . . . . . . . . . . . . . . . . . . . &lt;BR /&gt;. . . . . . . . . . .;&lt;BR /&gt;&lt;BR /&gt;class co_var1 co_var2 co_var5-co_var10 co_var15-co_var32 co_var36-co_var40 co_var51;&lt;BR /&gt;transform log (co_var49 co_var44-co_var48 co_var50); /*transforming skewed variables*/&lt;BR /&gt;fcs discrim (co_var38-co_var39 co_var51 co_var37/classeffects=include) nbiter=100;&amp;nbsp; /*binary varaibles*/&lt;BR /&gt;fcs logistic (co_var40/order=formatted); &lt;BR /&gt;fcs reg (co_var41-co_var50); /*continous variables I want to impute (mainly laboratory information)*/&lt;BR /&gt;&lt;BR /&gt;var co_var1-co_var51;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code above now works, but that because I put a zero instead of the min-value 53 in the min-statement (the zero marked in blod). When I instead put in 53 (which I want) I recieve the error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"ERROR: An imputed variable value is not in the specified range after 100 tries."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for help!&lt;/P&gt;
&lt;P&gt;/Thomas&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2015 09:17:39 GMT</pubDate>
    <dc:creator>bollibompa</dc:creator>
    <dc:date>2015-09-10T09:17:39Z</dc:date>
    <item>
      <title>Proc MI -strange error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224756#M11863</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am imputing missing data using PROC MI and the fcs procedure.&lt;/P&gt;
&lt;P&gt;My dataset contains 46 variables and 10 (9 continous and 1 binary) of them have missing data which I am trying to impute using FCS.&lt;/P&gt;
&lt;P&gt;I am using logistic, discim and regression and I specify&amp;nbsp; min and max values for each imputed variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The procedure works fine for 9 out of 10 variables but when I add the last variable to impute I recieve an error message "An imputed variable is not in the specified range after 100 tries". I have checked the specified min/max-values for that varaiable and they are ok.&lt;/P&gt;
&lt;P&gt;However, if I increase/decrease the max-value the process works. I think PROC MI dont want to impute values within my range beacuse it somehow think is is to narrow.&lt;/P&gt;
&lt;P&gt;Anyone have experience of this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Thomas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 14:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224756#M11863</guid>
      <dc:creator>bollibompa</dc:creator>
      <dc:date>2015-09-09T14:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI -strange error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224757#M11864</link>
      <description>Could you please post the code that doesn't work?</description>
      <pubDate>Wed, 09 Sep 2015 14:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224757#M11864</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-09-09T14:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI -strange error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224802#M11865</link>
      <description>&lt;P&gt;Also, please tell us something about the variables that you are trying to impute, and in particular about the ranges you want to the values to fall into.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 18:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224802#M11865</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-09-09T18:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI -strange error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224919#M11879</link>
      <description>&lt;P&gt;Thanks for reply!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Provide the PROC MI code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc mi data=have out=want nimpute=1 seed=2015&lt;BR /&gt;min=. . . . . . . . . . . . . . . . . . . .&lt;BR /&gt;. . . . . . . . . . . . . . . . . . . . &lt;BR /&gt;37 90 45 75 153 3.3 134 &lt;STRONG&gt;0 &lt;/STRONG&gt;0.12 0.05 .&lt;BR /&gt;&lt;BR /&gt;max=. . . . . . . . . . . . . . . . . . . .&lt;BR /&gt;. . . . . . . . . . . . . . . . . . . . &lt;BR /&gt;. . . . . . . . . . .;&lt;BR /&gt;&lt;BR /&gt;class co_var1 co_var2 co_var5-co_var10 co_var15-co_var32 co_var36-co_var40 co_var51;&lt;BR /&gt;transform log (co_var49 co_var44-co_var48 co_var50); /*transforming skewed variables*/&lt;BR /&gt;fcs discrim (co_var38-co_var39 co_var51 co_var37/classeffects=include) nbiter=100;&amp;nbsp; /*binary varaibles*/&lt;BR /&gt;fcs logistic (co_var40/order=formatted); &lt;BR /&gt;fcs reg (co_var41-co_var50); /*continous variables I want to impute (mainly laboratory information)*/&lt;BR /&gt;&lt;BR /&gt;var co_var1-co_var51;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code above now works, but that because I put a zero instead of the min-value 53 in the min-statement (the zero marked in blod). When I instead put in 53 (which I want) I recieve the error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"ERROR: An imputed variable value is not in the specified range after 100 tries."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for help!&lt;/P&gt;
&lt;P&gt;/Thomas&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 09:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224919#M11879</guid>
      <dc:creator>bollibompa</dc:creator>
      <dc:date>2015-09-10T09:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI -strange error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224942#M11881</link>
      <description>&lt;P&gt;Hmm, so 0 works and 53 doesn't. &amp;nbsp;When you look at the values obtained through imputation for this variable (and I'm not sure which one it is), what sort of imputed values do you get?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the feeling that there is something like quasi-separation going on, so that all the predicted values come out lower than expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 12:41:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224942#M11881</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-09-10T12:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI -strange error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224953#M11884</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;This variable is laboratory information. It seem that SAS think that my min-max interval is to narrow because if I set it to 0 it will impute values down to 20 (so it think that 53 is too high. However, 53 is the lowest observed value for that variable)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also have another continous variable with the same issue, but here PROC MI instead impute very high values. The range for this variable is 0-6 but PROC MI impute values up to 35 (without any min max set)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Thomas&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:23:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224953#M11884</guid>
      <dc:creator>bollibompa</dc:creator>
      <dc:date>2015-09-10T13:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI -strange error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224968#M11886</link>
      <description>&lt;P&gt;Well, if you have reason to believe that 53 is the absolutely lowest value that could be observed for that variable, then you could set all values less than 53 to 53.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it appears that predicting the value from the others in the study seems to indicate that the missing values are associated with predictors that, when factored together, result in a predicted value that is less than your limit. &amp;nbsp;Now comes the art of multiple imputation--are those imputed values reasonable in a sampling universe represented by your complete cases? &amp;nbsp;If so, then the limit you have set is arbitrarily too high. &amp;nbsp;If not, then truncate the distribution at the cutoff. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it becomes a mixture problem...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2015 14:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/224968#M11886</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-09-10T14:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI -strange error message</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/225359#M11919</link>
      <description>&lt;P&gt;Thanks for your input!&lt;/P&gt;
&lt;P&gt;These is something strange with this variable so I need to think of another way to handle this&lt;/P&gt;
&lt;P&gt;/Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2015 12:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-strange-error-message/m-p/225359#M11919</guid>
      <dc:creator>bollibompa</dc:creator>
      <dc:date>2015-09-14T12:28:29Z</dc:date>
    </item>
  </channel>
</rss>

