<?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 Convergence Problem in GENMOD in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Convergence-Problem-in-GENMOD/m-p/678925#M32619</link>
    <description>&lt;P&gt;I'm having problems with the following GENMOD code:&lt;/P&gt;&lt;P&gt;proc genmod descending data=dat1;&lt;BR /&gt;where DV ne .;&lt;BR /&gt;class subjectid timepoint / param=glm;&lt;BR /&gt;model vitalstatus = DV&amp;nbsp; timepoint DV*timepoint / d=b type3 maxiter=100;&lt;BR /&gt;repeated subject=subjectid / type=cs corrw ;&lt;BR /&gt;estimate 'at time 0' intercept 0 &amp;amp;v 1 timepoint 0 0 0 0 0 0 0 0 &amp;amp;v*timepoint 1 0 0 0 0 0 0 0 / exp;&lt;BR /&gt;...&lt;BR /&gt;estimate 'at time 72' intercept 0 &amp;amp;v 1 timepoint 0 0 0 0 0 0 0 0 &amp;amp;v*timepoint 0 0 0 0 0 0 0 1 / exp;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My continuous dependent variable is measured at 8 time points per subject, and is highly correlated across time.&amp;nbsp; The Pearson coefficients for timepoint pairs are all in the range 0.6-0.8.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even with a type = cs correlation structure, I cannot get this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I ignore the repeated measure aspects, this works just fine.&amp;nbsp; But what's the problem with even a simple CS structure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have ideas?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 16:43:06 GMT</pubDate>
    <dc:creator>oakHILLS68</dc:creator>
    <dc:date>2020-08-24T16:43:06Z</dc:date>
    <item>
      <title>Convergence Problem in GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Convergence-Problem-in-GENMOD/m-p/678925#M32619</link>
      <description>&lt;P&gt;I'm having problems with the following GENMOD code:&lt;/P&gt;&lt;P&gt;proc genmod descending data=dat1;&lt;BR /&gt;where DV ne .;&lt;BR /&gt;class subjectid timepoint / param=glm;&lt;BR /&gt;model vitalstatus = DV&amp;nbsp; timepoint DV*timepoint / d=b type3 maxiter=100;&lt;BR /&gt;repeated subject=subjectid / type=cs corrw ;&lt;BR /&gt;estimate 'at time 0' intercept 0 &amp;amp;v 1 timepoint 0 0 0 0 0 0 0 0 &amp;amp;v*timepoint 1 0 0 0 0 0 0 0 / exp;&lt;BR /&gt;...&lt;BR /&gt;estimate 'at time 72' intercept 0 &amp;amp;v 1 timepoint 0 0 0 0 0 0 0 0 &amp;amp;v*timepoint 0 0 0 0 0 0 0 1 / exp;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My continuous dependent variable is measured at 8 time points per subject, and is highly correlated across time.&amp;nbsp; The Pearson coefficients for timepoint pairs are all in the range 0.6-0.8.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even with a type = cs correlation structure, I cannot get this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I ignore the repeated measure aspects, this works just fine.&amp;nbsp; But what's the problem with even a simple CS structure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Convergence-Problem-in-GENMOD/m-p/678925#M32619</guid>
      <dc:creator>oakHILLS68</dc:creator>
      <dc:date>2020-08-24T16:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convergence Problem in GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Convergence-Problem-in-GENMOD/m-p/678942#M32620</link>
      <description>&lt;P&gt;Wild guess: You have missing values at different timepoints.&amp;nbsp; If that is the case, add withinsubject=timepoint as an option to your REPEATED statement. You probably ought to analyze using PROC GEE as it is better equipped for handling missingness.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wild guess 2: You have multiple measurements at the same timepoints.&amp;nbsp; Actually, this should cause a full stop of GENMOD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not so wild guess: Something other than this that we don't have enough information to go on. Things like NOTES, WARNINGS, ERRORS from the log file.&amp;nbsp; Dataset size (number of records per DV). Messages in the output file. Possible complete or quasi-separation (always something to look out for with a binomial distribution).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something that might help: Get the parameter estimates from the model without the repeated measures aspect, and use those as starting values by specifying them in an INITIAL= and INTERCEPT= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 17:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Convergence-Problem-in-GENMOD/m-p/678942#M32620</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-08-24T17:17:03Z</dc:date>
    </item>
  </channel>
</rss>

