<?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 variable list in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-MI-variable-list/m-p/282787#M59207</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use PROC MI to impute values in a data set, there are not many missing values in the data set, but a fair number of variables. &amp;nbsp;When I just use PROC MI without the VAR statement, it doesn't appear to analyze all the variables. &amp;nbsp;When I specify the variables, I'm fine specifying up to 8, but when I add the ninth variable, I get an error "&lt;SPAN&gt;Variable att9 should either be numeric in the CLASS list" &amp;nbsp;Is there a parameter that I need to add to expand the variable list? &amp;nbsp;I'm using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc mi data=newdata seed=33333 out=midata; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var att1 att2 att3 att4 att5 att6 att7 att8 att9; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2016 20:23:17 GMT</pubDate>
    <dc:creator>Rebecca1</dc:creator>
    <dc:date>2016-07-07T20:23:17Z</dc:date>
    <item>
      <title>Proc MI variable list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-MI-variable-list/m-p/282787#M59207</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use PROC MI to impute values in a data set, there are not many missing values in the data set, but a fair number of variables. &amp;nbsp;When I just use PROC MI without the VAR statement, it doesn't appear to analyze all the variables. &amp;nbsp;When I specify the variables, I'm fine specifying up to 8, but when I add the ninth variable, I get an error "&lt;SPAN&gt;Variable att9 should either be numeric in the CLASS list" &amp;nbsp;Is there a parameter that I need to add to expand the variable list? &amp;nbsp;I'm using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc mi data=newdata seed=33333 out=midata; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var att1 att2 att3 att4 att5 att6 att7 att8 att9; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 20:23:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-MI-variable-list/m-p/282787#M59207</guid>
      <dc:creator>Rebecca1</dc:creator>
      <dc:date>2016-07-07T20:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI variable list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-MI-variable-list/m-p/282808#M59208</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add a CLASS statement to your PROC MI call, like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mi...;&lt;/P&gt;
&lt;P&gt;CLASS att9;&lt;/P&gt;
&lt;P&gt;var...&lt;/P&gt;
&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually, all categorical variables should be included in the CLASS statement, whether they are character or numeric.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may also need to add an FCS or MONOTONE statement. I haven't used MI in a while so please consult the&amp;nbsp;examples here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_mi_sect041.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_mi_sect041.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ray&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 21:25:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-MI-variable-list/m-p/282808#M59208</guid>
      <dc:creator>rayIII</dc:creator>
      <dc:date>2016-07-07T21:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MI variable list</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-MI-variable-list/m-p/282914#M59213</link>
      <description>&lt;P&gt;In this case, all of the variables are continuous, not categorical. I thought it might be something about the variable that was generating&amp;nbsp;the message, but the ninth variable seems to generate the error&amp;nbsp;regardless of which variable I have in that position. &amp;nbsp;I tried the other options, but didn't have any success. &amp;nbsp;Any other suggestions? &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 11:48:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-MI-variable-list/m-p/282914#M59213</guid>
      <dc:creator>Rebecca1</dc:creator>
      <dc:date>2016-07-08T11:48:36Z</dc:date>
    </item>
  </channel>
</rss>

