<?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 variables specification problem in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-variables-specification-problem/m-p/916754#M45478</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to impute 3 variables in my dataset: Country and Smoke (both binary variables) and bmi (categorical with 4 levels).&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mi data= Have nimpute=5 out=Want seed=54321;&lt;BR /&gt;class Age AR Group bmi Country Smoke;&lt;BR /&gt;var Age AR Group bmi Country Smoke;&lt;BR /&gt;fcs logistic(Country= Age AR Group );&lt;BR /&gt;fcs logistic(Smoke=Age AR Group Country);&lt;BR /&gt;fcs discrim(bmi=Age AR Group Country Smoke/CLASSEFFECTS=INCLUDE);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason, it gives me error. Here's the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mi data= Have nimpute=5 out=Want seed=54321;&lt;BR /&gt;3307 class Age AR Group bmi Country Smoke;&lt;BR /&gt;3308 var Age AR Group bmi Country Smoke;&lt;BR /&gt;3309 fcs logistic(Country= Age AR Group );&lt;BR /&gt;3310 fcs logistic(Smoke=Age AR Group Country);&lt;BR /&gt;3311 fcs discrim(bmi=Ag AR Group Country Smoke/CLASSEFFECTS=INCLUDE);&lt;BR /&gt;3312 run;&lt;/P&gt;
&lt;P&gt;WARNING: The covariates are not specified in an FCS discriminant method for variable Group,&lt;BR /&gt;only remaining continuous variables will be used as covariates with the default&lt;BR /&gt;CLASSEFFECTS=EXCLUDE option.&lt;BR /&gt;ERROR: There are no continuous variables in the VAR list to impute the variable Group with&lt;BR /&gt;an FCS discriminant method and the default CLASSEFFECTS=EXCLUDE option.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.MI_MVN may be incomplete. When this step was stopped there were 0&lt;BR /&gt;observations and 94 variables.&lt;BR /&gt;WARNING: Data set WORK.Want was not replaced because this step was stopped.&lt;BR /&gt;NOTE: PROCEDURE MI used (Total process time):&lt;BR /&gt;real time 9.00 seconds&lt;BR /&gt;cpu time 1.67 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Important, I don't want to impute Group, because it doesn't have missing. I just want to use it to compute the 3 variables above. Do you have any idea on how to solve this problem? Thank you in advance&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2024 09:16:38 GMT</pubDate>
    <dc:creator>Haemoglobin17</dc:creator>
    <dc:date>2024-02-19T09:16:38Z</dc:date>
    <item>
      <title>Proc MI variables specification problem</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-variables-specification-problem/m-p/916754#M45478</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to impute 3 variables in my dataset: Country and Smoke (both binary variables) and bmi (categorical with 4 levels).&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mi data= Have nimpute=5 out=Want seed=54321;&lt;BR /&gt;class Age AR Group bmi Country Smoke;&lt;BR /&gt;var Age AR Group bmi Country Smoke;&lt;BR /&gt;fcs logistic(Country= Age AR Group );&lt;BR /&gt;fcs logistic(Smoke=Age AR Group Country);&lt;BR /&gt;fcs discrim(bmi=Age AR Group Country Smoke/CLASSEFFECTS=INCLUDE);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason, it gives me error. Here's the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc mi data= Have nimpute=5 out=Want seed=54321;&lt;BR /&gt;3307 class Age AR Group bmi Country Smoke;&lt;BR /&gt;3308 var Age AR Group bmi Country Smoke;&lt;BR /&gt;3309 fcs logistic(Country= Age AR Group );&lt;BR /&gt;3310 fcs logistic(Smoke=Age AR Group Country);&lt;BR /&gt;3311 fcs discrim(bmi=Ag AR Group Country Smoke/CLASSEFFECTS=INCLUDE);&lt;BR /&gt;3312 run;&lt;/P&gt;
&lt;P&gt;WARNING: The covariates are not specified in an FCS discriminant method for variable Group,&lt;BR /&gt;only remaining continuous variables will be used as covariates with the default&lt;BR /&gt;CLASSEFFECTS=EXCLUDE option.&lt;BR /&gt;ERROR: There are no continuous variables in the VAR list to impute the variable Group with&lt;BR /&gt;an FCS discriminant method and the default CLASSEFFECTS=EXCLUDE option.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.MI_MVN may be incomplete. When this step was stopped there were 0&lt;BR /&gt;observations and 94 variables.&lt;BR /&gt;WARNING: Data set WORK.Want was not replaced because this step was stopped.&lt;BR /&gt;NOTE: PROCEDURE MI used (Total process time):&lt;BR /&gt;real time 9.00 seconds&lt;BR /&gt;cpu time 1.67 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Important, I don't want to impute Group, because it doesn't have missing. I just want to use it to compute the 3 variables above. Do you have any idea on how to solve this problem? Thank you in advance&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 09:16:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MI-variables-specification-problem/m-p/916754#M45478</guid>
      <dc:creator>Haemoglobin17</dc:creator>
      <dc:date>2024-02-19T09:16:38Z</dc:date>
    </item>
  </channel>
</rss>

