<?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 Random slopes for indviduals nested in family in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936112#M46694</link>
    <description>&lt;P&gt;greetings everyone,&lt;BR /&gt;I just have a small question, I am in situation where i have r-family and have n-individuals belonging to these families (r&amp;lt;n), thus am to add a random effect (intercept) to my generalized linear mixed poison model to account for the design.&amp;nbsp; Additionaly, i have don't have repeated measurements, hence i was wondering whether to also include a&amp;nbsp; random slope, does this makes sense? and why?&amp;nbsp;&lt;BR /&gt;thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 23:34:47 GMT</pubDate>
    <dc:creator>Gilles-Protais</dc:creator>
    <dc:date>2024-07-17T23:34:47Z</dc:date>
    <item>
      <title>Random slopes for indviduals nested in family</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936112#M46694</link>
      <description>&lt;P&gt;greetings everyone,&lt;BR /&gt;I just have a small question, I am in situation where i have r-family and have n-individuals belonging to these families (r&amp;lt;n), thus am to add a random effect (intercept) to my generalized linear mixed poison model to account for the design.&amp;nbsp; Additionaly, i have don't have repeated measurements, hence i was wondering whether to also include a&amp;nbsp; random slope, does this makes sense? and why?&amp;nbsp;&lt;BR /&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 23:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936112#M46694</guid>
      <dc:creator>Gilles-Protais</dc:creator>
      <dc:date>2024-07-17T23:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Random slopes for indviduals nested in family</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936114#M46695</link>
      <description>It looks like a classical Mixed Model for SiteId and SubjectId. Like:&lt;BR /&gt;proc mixed .........&lt;BR /&gt;........&lt;BR /&gt;random int/subject=individual(family);&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Anyway , &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13758"&gt;@lvm&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt; could give you more useful information.</description>
      <pubDate>Thu, 18 Jul 2024 00:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936114#M46695</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-07-18T00:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Random slopes for indviduals nested in family</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936775#M46748</link>
      <description>&lt;P&gt;Some more information would help, especially regarding the repeat measurement issue mentioned by the OP. Are there multiple measurements per subject or not?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 14:22:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936775#M46748</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-07-23T14:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Random slopes for indviduals nested in family</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936894#M46751</link>
      <description>Yes there are multiple measurements per subject &lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2024 23:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/936894#M46751</guid>
      <dc:creator>Gilles-Protais</dc:creator>
      <dc:date>2024-07-23T23:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Random slopes for indviduals nested in family</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/937035#M46752</link>
      <description>&lt;P&gt;For a Poisson model with nested random effects, and repeated measures on the lowest level units, consider this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=yourdata method=quad;
class subject family time;
model response=time/dist=poisson s;
random intercept family/subject=subject type=chol;
random time/subject=subject(family) type=vc;
lsmeans time/diff ilink;
store out=glmm_store;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Provided that this converges, you should be able to compare counts at the various time points. If there are other factors in the model, they can be accommodated. This code will return least squares means for each time point, both on the log scale and the observed scale and differences on the log scale and associated ratios on the observed scale. The STORE creates a binary file that, in combination with PROC PLM and the %NLmeans macro, can be used to get the differences on the observed scale and the appropriate standard errors of the difference on the observed scale. Search&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;'s posts in this community for links to the use of the %NLmeans macro.&amp;nbsp; And speaking of&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp;, he may be able to point to the use of PROC GEE if you are interested in marginal results rather than the conditional results from GLIMMIX.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 17:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/937035#M46752</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-07-24T17:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Random slopes for indviduals nested in family</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/937066#M46761</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;&lt;BR /&gt;Since it is a repeated measure experiment, TIME should be R side random effect ,right?&lt;BR /&gt;random time/subject=subject(family) type=vc;&lt;BR /&gt;--&amp;gt;&lt;BR /&gt;random time/subject=subject(family) type=vc  residual ;</description>
      <pubDate>Thu, 25 Jul 2024 00:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-slopes-for-indviduals-nested-in-family/m-p/937066#M46761</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-07-25T00:28:26Z</dc:date>
    </item>
  </channel>
</rss>

