<?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 error with proc mianalyze with multinomial logistic regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/error-with-proc-mianalyze-with-multinomial-logistic-regression/m-p/437379#M23077</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently trying to get pooled results for my multipley imputed and bootstrapped data for a multinomial regression (see code below), but I get the error &lt;SPAN&gt;&amp;nbsp;"ERROR: Within-imputation COV matrix is not symmetric for _Imputation_= 1 in the input DATA= data set" when I run my Proc MIANALYZE step. It doesn't seem that my variable names are too long in character so I don't think that's the issue. Any guidance on how to trouble-shoot would be much appreciated.&amp;nbsp; I have been using the code described on MI for multinomial (nominal) logistic regression here:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="http://support.sas.com/kb/49/579.html" target="_blank"&gt;http://support.sas.com/kb/49/579.html&lt;/A&gt;. &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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*CRUDE MODEL*/&lt;BR /&gt;PROC LOGISTIC DATA= final.out_ipw_all outest = final.parms covout descending;&lt;BR /&gt;BY _imputation_ replicate;&lt;BR /&gt;WHERE sp2=1;&lt;BR /&gt;CLASS style(REF='2') income(REF='1') / PARAM=REF;&lt;BR /&gt;MODEL style=income/ link = glogit;&lt;BR /&gt;WEIGHT ipw_trim;&lt;BR /&gt;ODS OUTPUT ParameterEstimates=final.out_crude;&lt;BR /&gt;RUN;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;/*proc mianalyze*/&lt;BR /&gt;proc mianalyze data = final.parms edf = 550;&lt;BR /&gt;modeleffects income2_3 income2_1 income3_3 income3_1 intercept_1 intercept_3;&lt;BR /&gt;run; &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2018 00:22:55 GMT</pubDate>
    <dc:creator>estul</dc:creator>
    <dc:date>2018-02-15T00:22:55Z</dc:date>
    <item>
      <title>error with proc mianalyze with multinomial logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-with-proc-mianalyze-with-multinomial-logistic-regression/m-p/437379#M23077</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently trying to get pooled results for my multipley imputed and bootstrapped data for a multinomial regression (see code below), but I get the error &lt;SPAN&gt;&amp;nbsp;"ERROR: Within-imputation COV matrix is not symmetric for _Imputation_= 1 in the input DATA= data set" when I run my Proc MIANALYZE step. It doesn't seem that my variable names are too long in character so I don't think that's the issue. Any guidance on how to trouble-shoot would be much appreciated.&amp;nbsp; I have been using the code described on MI for multinomial (nominal) logistic regression here:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="http://support.sas.com/kb/49/579.html" target="_blank"&gt;http://support.sas.com/kb/49/579.html&lt;/A&gt;. &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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*CRUDE MODEL*/&lt;BR /&gt;PROC LOGISTIC DATA= final.out_ipw_all outest = final.parms covout descending;&lt;BR /&gt;BY _imputation_ replicate;&lt;BR /&gt;WHERE sp2=1;&lt;BR /&gt;CLASS style(REF='2') income(REF='1') / PARAM=REF;&lt;BR /&gt;MODEL style=income/ link = glogit;&lt;BR /&gt;WEIGHT ipw_trim;&lt;BR /&gt;ODS OUTPUT ParameterEstimates=final.out_crude;&lt;BR /&gt;RUN;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;/*proc mianalyze*/&lt;BR /&gt;proc mianalyze data = final.parms edf = 550;&lt;BR /&gt;modeleffects income2_3 income2_1 income3_3 income3_1 intercept_1 intercept_3;&lt;BR /&gt;run; &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 00:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-with-proc-mianalyze-with-multinomial-logistic-regression/m-p/437379#M23077</guid>
      <dc:creator>estul</dc:creator>
      <dc:date>2018-02-15T00:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: error with proc mianalyze with multinomial logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/error-with-proc-mianalyze-with-multinomial-logistic-regression/m-p/437554#M23082</link>
      <description>&lt;P&gt;I suspect it has something to do with the BY statement in Proc LOGISTIC.&amp;nbsp; I noticed that you are not only doing it BY _IMPUTATION_ but also REPLICATE.&amp;nbsp; You would need a corresponding BY statement in MIANALYZE to take into account that second variable.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 13:08:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/error-with-proc-mianalyze-with-multinomial-logistic-regression/m-p/437554#M23082</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2018-02-15T13:08:33Z</dc:date>
    </item>
  </channel>
</rss>

