<?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: Autocorrelation in Repeated Measures Count Data with Overdispersion in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989732#M49482</link>
    <description>&lt;P&gt;1)Could you try&amp;nbsp;Generalized Estimating Equations model ? Like:&lt;/P&gt;
&lt;P&gt;PROC GENMOD&lt;/P&gt;
&lt;P&gt;PROC GEE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2)It looks like you want to do panel data analysis. Check:&lt;/P&gt;
&lt;P&gt;PROC PANEL&lt;/P&gt;
&lt;P&gt;PROC&amp;nbsp;&lt;SPAN&gt;COUNTREG&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;can be used for repeated count responses (panel data).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But they are all under SAS/ETS module , suggest you to post it at Forecasting Forum:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics" target="_blank"&gt;https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2026 07:10:53 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2026-06-17T07:10:53Z</dc:date>
    <item>
      <title>Autocorrelation in Repeated Measures Count Data with Overdispersion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989722#M49481</link>
      <description>&lt;P&gt;I am analyzing the effects of air pollution on daily respiratory symptoms in a sample of 47 families. All families included a participating mother and target child. 39 of the 47 families also included a participating father. Each family member completed an evening survey across 56 consecutive days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RespSx_Sum is my count outcome, representing the sum count of 5 respiratory symptoms endorsed (0=absent, 1=present) by an individual on a given day. I am estimating conditional GLMM’s via PROC GLIMMIX in SAS with random intercepts at the family and individual levels. I control for significant linear and quadratic trends in RespSx_Sum across study days (TIME, TIME2), weekday vs. weekend effects, as well as other meteorological covariates (RHMEAN, TEMPMEAN). My air pollution predictors are continuous and have the same values for all family members within a family on a given day; they are disaggregated to test within- (LAG0_COAQI_PMC) and between-family effects (COAQI_GMC).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let’s say I want to test whether increases in air pollution on a given day predict higher counts of respiratory symptoms that day and also whether sensitivity to air pollution differs across family roles (mother, father, child).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using a Poisson distribution in PROC GLIMMIX with LAPLACE approximation indicated mild overdispersion – Pearson X2/df was between 1 – 1.5 in the models. So, I used the following negative binomial model:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GLIMMIX data = DATA.ENVIRO_LONG NOCLPRINT NOITPRINT METHOD=LAPLACE;

&amp;nbsp;CLASS familyid ID ROLE (ref = "1") ; *Reference is mothers;

&amp;nbsp;MODEL RespSx_Sum = ROLE time time2 weekend RHMEAN_GMC TEMPMEAN_GMC LAG0_RHMEAN_PMC LAG0_TEMPMEAN_PMC

COAQI_GMC LAG0_COAQI_PMC LAG0_COAQI_PMC*ROLE / SOLUTION LINK=LOG DIST=NEGBINOMIAL CHISQ cl;

&amp;nbsp;random intercept / sub=familyid ;

&amp;nbsp;random intercept / sub=ID(familyid);

&amp;nbsp;covtest / wald;

&amp;nbsp;RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My question is:&lt;/STRONG&gt; how do I account for autocorrelation AR(1) between responses measured closer together in time at the within-person level? And how does this affect the scale parameter? I know I cannot use a repeated statement in this case, and I cannot use RESIDUAL on a random statement using LAPLACE approximation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your advice is MUCH appreciated!!!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 01:04:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989722#M49481</guid>
      <dc:creator>BridgetConsults</dc:creator>
      <dc:date>2026-06-17T01:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Autocorrelation in Repeated Measures Count Data with Overdispersion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989732#M49482</link>
      <description>&lt;P&gt;1)Could you try&amp;nbsp;Generalized Estimating Equations model ? Like:&lt;/P&gt;
&lt;P&gt;PROC GENMOD&lt;/P&gt;
&lt;P&gt;PROC GEE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2)It looks like you want to do panel data analysis. Check:&lt;/P&gt;
&lt;P&gt;PROC PANEL&lt;/P&gt;
&lt;P&gt;PROC&amp;nbsp;&lt;SPAN&gt;COUNTREG&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;can be used for repeated count responses (panel data).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But they are all under SAS/ETS module , suggest you to post it at Forecasting Forum:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics" target="_blank"&gt;https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/bd-p/forecasting_econometrics&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 07:10:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989732#M49482</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-06-17T07:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Autocorrelation in Repeated Measures Count Data with Overdispersion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989747#M49483</link>
      <description>&lt;P&gt;The short answer is, you might not model AR(1) with method=LAPLACE in PROC GLIMMIX.&lt;/P&gt;
&lt;P&gt;Alternatives:&lt;/P&gt;
&lt;P&gt;1. fit a random coefficients model including slopes, which indirectly models the correlation involving the time values. For example,&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;random intercept time / sub=ID(familyid) type=un;&lt;/LI-CODE&gt;
&lt;P&gt;for over-dispersion, you might add random _residual_; statement.&lt;/P&gt;
&lt;P&gt;2. Do not use the METHOD=LAPLACE option, use the default RSPL instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; then you might use something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp; random _residual_ / subject=ID(family) type=AR(1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I do not know the values for TIME, but be aware that AR(1) does not use the actual time values, rather the order of the time values in the computation of the parameters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For over dispersions, not sure if it is necessary in this case, because the variance in AR(1) might have taken care of that. Or, you might consider using ARH(1).&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;
&lt;P&gt;For over&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 14:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989747#M49483</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2026-06-17T14:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Autocorrelation in Repeated Measures Count Data with Overdispersion</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989943#M49495</link>
      <description>&lt;P&gt;Thank you for your detailed response. Adding a&amp;nbsp;&lt;SPAN&gt;random _residual_ / subject=ID(family) type=AR(1); to my GLMM model seemed to work. However, I'm wondering if this changes the inference space of my model from a conditional GLMM to a marginal quasi-GEE?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2026 19:41:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Autocorrelation-in-Repeated-Measures-Count-Data-with/m-p/989943#M49495</guid>
      <dc:creator>BridgetConsults</dc:creator>
      <dc:date>2026-06-21T19:41:16Z</dc:date>
    </item>
  </channel>
</rss>

