<?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 Help with MIAnalyze procedure after proc logistic in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Help-with-MIAnalyze-procedure-after-proc-logistic/m-p/162603#M8477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;I was wondering if anyone could help point me in the right direction with a problem I'm having with the MIAnalyze procedure. I created a multiple imputations data set with 5 imputations and now would like to combine the results using MIAnalyze. I first ran a proc logistic with a class statement (as all my covariates are categorical) and then ran the MIanalyze procedure. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I keep getting an error message that "the variable cat_matchage is not in the covb= data set." I think the reason is that the new data set now has broken down cat_matchage into the various levels (i.e. cat_matchage1, cat_matchage2, etc.). Code below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;DIV&gt;proc logistic data=reach.matrixmi;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class &lt;/P&gt;&lt;P&gt;infection (PARAM=REF REF='0')&lt;/P&gt;&lt;P&gt;cat_matchage(PARAM=REF REF='1')&lt;/P&gt;&lt;P&gt;mrace(PARAM=REF REF='White Non Hispanic')&lt;/P&gt;&lt;P&gt;meduc (PARAM=REF REF='&amp;lt;High School')&lt;/P&gt;&lt;P&gt;fincome(PARAM=REF REF='&amp;lt;$35,000')&lt;/P&gt;&lt;P&gt;msmokmo(PARAM=REF REF='NA')&lt;/P&gt;&lt;P&gt;momAgeBirth(PARAM=REF REF='&amp;lt;25');&amp;nbsp; &lt;/P&gt;&lt;P&gt; model uni_regout(event="1")= infection cat_matchage mrace&amp;nbsp; fincome meduc msmokmo momagebirth/ covb;&lt;/P&gt;&lt;P&gt; by _imputation_;&lt;/P&gt;&lt;P&gt;format meduc feduc educationnewf.&amp;nbsp; fincome&amp;nbsp; mincome incomenewf.;&lt;/P&gt;&lt;P&gt;where reachdata=2;&lt;/P&gt;&lt;P&gt;ods output parameterestimates=MI.infection covB=MI.covbinfection;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;proc mianalyze parms=mi.infection1 covb=mi.covbinfection1;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modeleffects intercept cat_matchage mrace meduc fincome msmokmo momAgeBirth;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be much appreciated thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2014 19:22:15 GMT</pubDate>
    <dc:creator>negs</dc:creator>
    <dc:date>2014-07-01T19:22:15Z</dc:date>
    <item>
      <title>Help with MIAnalyze procedure after proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-with-MIAnalyze-procedure-after-proc-logistic/m-p/162603#M8477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;I was wondering if anyone could help point me in the right direction with a problem I'm having with the MIAnalyze procedure. I created a multiple imputations data set with 5 imputations and now would like to combine the results using MIAnalyze. I first ran a proc logistic with a class statement (as all my covariates are categorical) and then ran the MIanalyze procedure. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I keep getting an error message that "the variable cat_matchage is not in the covb= data set." I think the reason is that the new data set now has broken down cat_matchage into the various levels (i.e. cat_matchage1, cat_matchage2, etc.). Code below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;DIV&gt;proc logistic data=reach.matrixmi;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class &lt;/P&gt;&lt;P&gt;infection (PARAM=REF REF='0')&lt;/P&gt;&lt;P&gt;cat_matchage(PARAM=REF REF='1')&lt;/P&gt;&lt;P&gt;mrace(PARAM=REF REF='White Non Hispanic')&lt;/P&gt;&lt;P&gt;meduc (PARAM=REF REF='&amp;lt;High School')&lt;/P&gt;&lt;P&gt;fincome(PARAM=REF REF='&amp;lt;$35,000')&lt;/P&gt;&lt;P&gt;msmokmo(PARAM=REF REF='NA')&lt;/P&gt;&lt;P&gt;momAgeBirth(PARAM=REF REF='&amp;lt;25');&amp;nbsp; &lt;/P&gt;&lt;P&gt; model uni_regout(event="1")= infection cat_matchage mrace&amp;nbsp; fincome meduc msmokmo momagebirth/ covb;&lt;/P&gt;&lt;P&gt; by _imputation_;&lt;/P&gt;&lt;P&gt;format meduc feduc educationnewf.&amp;nbsp; fincome&amp;nbsp; mincome incomenewf.;&lt;/P&gt;&lt;P&gt;where reachdata=2;&lt;/P&gt;&lt;P&gt;ods output parameterestimates=MI.infection covB=MI.covbinfection;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;proc mianalyze parms=mi.infection1 covb=mi.covbinfection1;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modeleffects intercept cat_matchage mrace meduc fincome msmokmo momAgeBirth;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be much appreciated thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 19:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-with-MIAnalyze-procedure-after-proc-logistic/m-p/162603#M8477</guid>
      <dc:creator>negs</dc:creator>
      <dc:date>2014-07-01T19:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with MIAnalyze procedure after proc logistic</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-with-MIAnalyze-procedure-after-proc-logistic/m-p/162604#M8478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to me that this situation comes up on a fairly regular basis, and it has to do with the structure of the covb matrix, especially with CLASS variables.&amp;nbsp; I think an answer was presented, but basically MIANALYZE does not play well with covariance matrices with categorical values.&amp;nbsp; I think an answer from Tech Support made its way on here about six months ago, but I cannot google it out today.&amp;nbsp; So, I would recommend opening a ticket with Tech Support, and when a satisfactory result is obtained, please post it back here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 18:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-with-MIAnalyze-procedure-after-proc-logistic/m-p/162604#M8478</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-07-02T18:46:52Z</dc:date>
    </item>
  </channel>
</rss>

