<?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 Re: PROC GENMOD Error Interpretation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Error-Interpretation/m-p/886361#M43859</link>
    <description>A good introduction to proc genmod is this 'old' paper: &lt;A href="https://www.lexjansen.com/nesug/nesug99/po/po140.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug99/po/po140.pdf&lt;/A&gt;</description>
    <pubDate>Wed, 26 Jul 2023 09:15:40 GMT</pubDate>
    <dc:creator>JosvanderVelden</dc:creator>
    <dc:date>2023-07-26T09:15:40Z</dc:date>
    <item>
      <title>PROC GENMOD Error Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Error-Interpretation/m-p/886341#M43858</link>
      <description>&lt;P&gt;This is my first time using PROC GENMOD or&amp;nbsp;hierarchical regression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc genmod data=Procedure descending;
	class asa3lev (ref="1") gender (ref="F") pay_cat (ref="01") pls_abbr (ref="ENG") race_grp (ref="1") orgID;
	model Event(event="1") = MedAff01 ageAtProc_10 anesthesia01 asa3lev BMI_val30 BMI_val2530 closure01 diabetes01 numBeds01 
						     procDurationMin_10 scope01 swClass01 trauma01
						     gender homeless pay_cat pls_abbr race_grp HPI_hpl_percentile HPI_pt_percentile
						     /link=logit dist=bin;
	repeated subject=orgID;
run;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I got an following error:&lt;/P&gt;&lt;P&gt;NOTE: Class levels for some variables were not printed due to excessive size.&lt;BR /&gt;NOTE: PROC GENMOD is modeling the probability that Event='1'.&lt;BR /&gt;NOTE: Algorithm converged.&lt;BR /&gt;WARNING: The generalized Hessian matrix is not positive definite. Iteration will be&lt;BR /&gt;terminated.&lt;BR /&gt;ERROR: Error in parameter estimate covariance computation.&lt;BR /&gt;ERROR: Error in estimation routine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to make this work or understand what this error means...&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 03:49:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Error-Interpretation/m-p/886341#M43858</guid>
      <dc:creator>orchid_sugar</dc:creator>
      <dc:date>2023-07-26T03:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD Error Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Error-Interpretation/m-p/886361#M43859</link>
      <description>A good introduction to proc genmod is this 'old' paper: &lt;A href="https://www.lexjansen.com/nesug/nesug99/po/po140.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug99/po/po140.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 26 Jul 2023 09:15:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Error-Interpretation/m-p/886361#M43859</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-07-26T09:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD Error Interpretation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Error-Interpretation/m-p/886419#M43862</link>
      <description>&lt;P&gt;Convergence problems are quite common with models fit by iterative optimization methods such as maximum likelihood or GEE (as in this case) and such problems can happen in many possible ways which depend on the data and model. Convergence of models fit by iterative methods can never be guaranteed. The cause in any particular case cannot typically be determined from examining the model specification or data. A solution often must be found by experimentation. The most helpful strategy is usually to simplify the model (that is, reduce the number of model parameters) in some acceptable way such as by removing higher-order effects such as interactions, removing predictors, or by dropping or merging categories of CLASS variables. In general, the more parameters there are in the model, the more likely convergence problems become.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In categorical response models like this, sparseness of the data is common and can cause various fitting errors, though this is not the only possible cause. Generally, as model complexity increases and sample size decreases, the problem becomes more sparse and more likely to result in convergence problems. So again, model simplification is generally required. Starting with a simple model and adding variables as they can be supported is often a good strategy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that GEE models can also be fit in the newer PROC GEE using similar syntax. You could try it since any variation in the fitting algorithm of an iterative method like GEE can potentially affect convergence. PROC GEE is a newer procedure specifically for fitting the GEE model and is the recommended procedure when fitting that model. It adds support for nominal multinomial response data and data that are missing at random and might perform better in some respects.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 13:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GENMOD-Error-Interpretation/m-p/886419#M43862</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-07-26T13:56:04Z</dc:date>
    </item>
  </channel>
</rss>

