<?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 longitudinal, overdispersed, count data via PROC GLIMMIX in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Help-with-longitudinal-overdispersed-count-data-via-PROC-GLIMMIX/m-p/794675#M38984</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I posted this on a different SAS forum but was told my question was suited for this forum.&lt;/P&gt;&lt;P&gt;I'm relatively new to the world of SAS - I have some experience running PROC MIXED but have not needed to use SAS all too much throughout my graduate training. Here's a summary of my data that is being used for my dissertation:&lt;/P&gt;&lt;P&gt;- Approximately 50 youth, diagnosed with certain mental health disorders, who were a part of an intensive, 5-week treatment program&lt;/P&gt;&lt;P&gt;- The outcome of interest is aggression which is a continuous, non-negative, count variable and is&amp;nbsp;showing a negative binomial distribution (highly positively skewed with var &amp;gt; mean). This outcome was measured across the 5 weeks - thus, each child has a weekly aggression score&lt;/P&gt;&lt;P&gt;- This outcome is showing a highly skewed distribution across the 5 weeks&lt;/P&gt;&lt;P&gt;- I am interested in&amp;nbsp;whether certain pre-treatment affective states (e.g., irritability), measured continuously, predict changes in the intercept and slope/trajectory of aggression across the 5 treatment weeks&lt;/P&gt;&lt;P&gt;- Importantly, treatment did NOT differ across youth; they all received the same treatment&lt;/P&gt;&lt;P&gt;- Outside of a categorical covariate, the rest of my predictors are all continuous&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The various resources I have read online suggest PROC GLIMMIX to be the ideal approach but the issue I am running into is that every single resource/example implies that GLIMMIX is best suited for clustered data where participants are separated into various conditions. Again, that is not the case for my data. I have scores nested within youth but that is it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've consulted various resources and have piecemealed syntax that runs a converging model without errors (all predictors are continuous and have been centered hence the 'c'):&lt;/P&gt;&lt;P&gt;PROC GLIMMIX DATA = folder.data method=quad;&lt;BR /&gt;Class ID;&lt;BR /&gt;Model Y = cx1 cx2 cweek / s link=log dist=negbin;&lt;BR /&gt;Random intercept / sub = STPID;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the random effect of week from the RANDOM statement as that led to the estimated G matrix being not positive definite. I'd appreciate any/all feedback. Apologies for the long post and sorry for any elementary mistakes I've made in this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;P&gt;-Pev.&lt;/P&gt;</description>
    <pubDate>Sat, 05 Feb 2022 18:51:18 GMT</pubDate>
    <dc:creator>PSB</dc:creator>
    <dc:date>2022-02-05T18:51:18Z</dc:date>
    <item>
      <title>Help with longitudinal, overdispersed, count data via PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-with-longitudinal-overdispersed-count-data-via-PROC-GLIMMIX/m-p/794675#M38984</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I posted this on a different SAS forum but was told my question was suited for this forum.&lt;/P&gt;&lt;P&gt;I'm relatively new to the world of SAS - I have some experience running PROC MIXED but have not needed to use SAS all too much throughout my graduate training. Here's a summary of my data that is being used for my dissertation:&lt;/P&gt;&lt;P&gt;- Approximately 50 youth, diagnosed with certain mental health disorders, who were a part of an intensive, 5-week treatment program&lt;/P&gt;&lt;P&gt;- The outcome of interest is aggression which is a continuous, non-negative, count variable and is&amp;nbsp;showing a negative binomial distribution (highly positively skewed with var &amp;gt; mean). This outcome was measured across the 5 weeks - thus, each child has a weekly aggression score&lt;/P&gt;&lt;P&gt;- This outcome is showing a highly skewed distribution across the 5 weeks&lt;/P&gt;&lt;P&gt;- I am interested in&amp;nbsp;whether certain pre-treatment affective states (e.g., irritability), measured continuously, predict changes in the intercept and slope/trajectory of aggression across the 5 treatment weeks&lt;/P&gt;&lt;P&gt;- Importantly, treatment did NOT differ across youth; they all received the same treatment&lt;/P&gt;&lt;P&gt;- Outside of a categorical covariate, the rest of my predictors are all continuous&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The various resources I have read online suggest PROC GLIMMIX to be the ideal approach but the issue I am running into is that every single resource/example implies that GLIMMIX is best suited for clustered data where participants are separated into various conditions. Again, that is not the case for my data. I have scores nested within youth but that is it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've consulted various resources and have piecemealed syntax that runs a converging model without errors (all predictors are continuous and have been centered hence the 'c'):&lt;/P&gt;&lt;P&gt;PROC GLIMMIX DATA = folder.data method=quad;&lt;BR /&gt;Class ID;&lt;BR /&gt;Model Y = cx1 cx2 cweek / s link=log dist=negbin;&lt;BR /&gt;Random intercept / sub = STPID;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the random effect of week from the RANDOM statement as that led to the estimated G matrix being not positive definite. I'd appreciate any/all feedback. Apologies for the long post and sorry for any elementary mistakes I've made in this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;P&gt;-Pev.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Feb 2022 18:51:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-with-longitudinal-overdispersed-count-data-via-PROC-GLIMMIX/m-p/794675#M38984</guid>
      <dc:creator>PSB</dc:creator>
      <dc:date>2022-02-05T18:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with longitudinal, overdispersed, count data via PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-with-longitudinal-overdispersed-count-data-via-PROC-GLIMMIX/m-p/794684#M38988</link>
      <description>Since you want to assess whether the pre-treatment states affect the effect of time (week), then you probably want to include the interactions (cx1*cweek and cx2*cweek). If either is not significant then you can drop that interaction. Your model as it is assumes that cx1 and cx2 each affect the mean count linearly regardless of week. You could do similarly if any of the variables have higher-order effects (like quadratic, and so on).</description>
      <pubDate>Sat, 05 Feb 2022 22:31:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-with-longitudinal-overdispersed-count-data-via-PROC-GLIMMIX/m-p/794684#M38988</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-02-05T22:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with longitudinal, overdispersed, count data via PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-with-longitudinal-overdispersed-count-data-via-PROC-GLIMMIX/m-p/794847#M38996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks much for your reply, much appreciated; and thank you for the suggestions re: the interaction effects. I plan on adding those effects into later models. I have found additional resources that will let me decide which estimation procedures would be best for my model/data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again. I feel a bit more at ease knowing that the model I presented is not totally ineffective for my data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Pev.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 17:47:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-with-longitudinal-overdispersed-count-data-via-PROC-GLIMMIX/m-p/794847#M38996</guid>
      <dc:creator>PSB</dc:creator>
      <dc:date>2022-02-07T17:47:05Z</dc:date>
    </item>
  </channel>
</rss>

