<?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 Problems with running PROC GENMOD  ERROR: Error in parameter estimate covariance computation. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Problems-with-running-PROC-GENMOD-ERROR-Error-in-parameter/m-p/408973#M21340</link>
    <description>&lt;P&gt;Hi all- relatively new to SAS, and I'm running some GEE models (with repeated measures).&amp;nbsp; &amp;nbsp;Some are successful, but on the following U am having problems:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My log reads:&lt;/P&gt;&lt;DIV class="sasWarning"&gt;WARNING: The negative of the Hessian is not positive definite. The convergence is questionable.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The procedure is continuing but the validity of the model fit is questionable.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The specified model did not converge.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: Negative of Hessian not positive definite.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The generalized Hessian matrix is not positive definite. Iteration will be terminated.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Error in parameter estimate covariance computation.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Error in estimation routine.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data=work.opioid27;&lt;BR /&gt;class BJH_MedRec countx (ref="1") racex (ref="1") agegrp (ref="2") narcanx (ref="1") alcoholx (ref="1") moodx (ref="1") sudx (ref="1") yr (ref="2005") suicidex (ref="1") / param=glm;&lt;BR /&gt;model psychx=countx racex agegrp narcanx alcoholx moodx sudx suicidex yr / dist=bin link=logit;&lt;BR /&gt;repeated subject=BJH_MedRec / type=cs;&lt;BR /&gt;lsmeans countx racex agegrp narcanx alcoholx moodx sudx suicidex yr /diff oddsratio cl;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be an issue with the dependent variable because whenever I remove any predictors the same thing happens.&amp;nbsp; &amp;nbsp;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2017 04:04:15 GMT</pubDate>
    <dc:creator>bsriv</dc:creator>
    <dc:date>2017-10-31T04:04:15Z</dc:date>
    <item>
      <title>Problems with running PROC GENMOD  ERROR: Error in parameter estimate covariance computation.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problems-with-running-PROC-GENMOD-ERROR-Error-in-parameter/m-p/408973#M21340</link>
      <description>&lt;P&gt;Hi all- relatively new to SAS, and I'm running some GEE models (with repeated measures).&amp;nbsp; &amp;nbsp;Some are successful, but on the following U am having problems:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My log reads:&lt;/P&gt;&lt;DIV class="sasWarning"&gt;WARNING: The negative of the Hessian is not positive definite. The convergence is questionable.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The procedure is continuing but the validity of the model fit is questionable.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The specified model did not converge.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: Negative of Hessian not positive definite.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The generalized Hessian matrix is not positive definite. Iteration will be terminated.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Error in parameter estimate covariance computation.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Error in estimation routine.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data=work.opioid27;&lt;BR /&gt;class BJH_MedRec countx (ref="1") racex (ref="1") agegrp (ref="2") narcanx (ref="1") alcoholx (ref="1") moodx (ref="1") sudx (ref="1") yr (ref="2005") suicidex (ref="1") / param=glm;&lt;BR /&gt;model psychx=countx racex agegrp narcanx alcoholx moodx sudx suicidex yr / dist=bin link=logit;&lt;BR /&gt;repeated subject=BJH_MedRec / type=cs;&lt;BR /&gt;lsmeans countx racex agegrp narcanx alcoholx moodx sudx suicidex yr /diff oddsratio cl;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be an issue with the dependent variable because whenever I remove any predictors the same thing happens.&amp;nbsp; &amp;nbsp;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 04:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problems-with-running-PROC-GENMOD-ERROR-Error-in-parameter/m-p/408973#M21340</guid>
      <dc:creator>bsriv</dc:creator>
      <dc:date>2017-10-31T04:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with running PROC GENMOD  ERROR: Error in parameter estimate covariance computation.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problems-with-running-PROC-GENMOD-ERROR-Error-in-parameter/m-p/409105#M21344</link>
      <description>&lt;P&gt;
Often this issues indicates a model that does not fit the data. The poor fit can be due to many reasons, and it is impossible to say more without seeing your data, Some reasons include collinearity and over-specified models.

&lt;/P&gt;&lt;P&gt;

See also &lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/proc-GENMOD-repeated-measures-WARNING-The-generalized-Hessian/td-p/241843" target="_blank"&gt;Steve Denham's answer to a similar question.&lt;/A&gt;
&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 13:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problems-with-running-PROC-GENMOD-ERROR-Error-in-parameter/m-p/409105#M21344</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-10-31T13:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with running PROC GENMOD  ERROR: Error in parameter estimate covariance computation.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problems-with-running-PROC-GENMOD-ERROR-Error-in-parameter/m-p/409111#M21346</link>
      <description>Unfortunately, convergence can never be guaranteed for any iterative estimation algorithm such as maximum likelihood or Generalized Estimating Equations. Nonconvergence can happen for many reasons, but just as with ordinary logistic models, sparseness is very often the cause of such problems since it can result in some model parameters actually being infinite. Generally, as model complexity increases and sample size decreases, the problem becomes more sparse and more likely to result in convergence problems. Starting with a simple model (that is, one with fewer parameters to estimate) and only adding variables as they can be supported is often a good strategy.</description>
      <pubDate>Tue, 31 Oct 2017 13:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problems-with-running-PROC-GENMOD-ERROR-Error-in-parameter/m-p/409111#M21346</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2017-10-31T13:57:44Z</dc:date>
    </item>
  </channel>
</rss>

