<?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 Modeling Longitidunal Proportional Data in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Modeling-Longitidunal-Proportional-Data/m-p/39450#M1256</link>
    <description>I am dealing with a problem to model longitudinal proportional data using both GEE (M1) and GLMM (M2). I am not sure if my syntax is correct especially for GEE since most SAS books only cover longitudinal "binary" data. I am even not sure if PROC GENMOD can handle GEE modeling for "repeated proportions". Both proportional and binary data belong to binomial distribution but the former one is in group level while the latter one individual level. Hope any one can share experience or opinion with me.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Jacob&lt;BR /&gt;
&lt;BR /&gt;
===================================&lt;BR /&gt;
M1: GEE&lt;BR /&gt;
proc genmod data=dsn;&lt;BR /&gt;
class ID group;&lt;BR /&gt;
model num/den = time group / link=logit dist=binomial type3;&lt;BR /&gt;
repeated subject=ID/type=ar(1);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
M2: GLMM&lt;BR /&gt;
proc glimmix data=dsn;&lt;BR /&gt;
class ID group;&lt;BR /&gt;
model num/den = time group / link=logit dist=binomial solution;&lt;BR /&gt;
random int time/subject=ID type=un;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ID         time     num     den      rate      group&lt;BR /&gt;
1          1          4          5          0.8       A&lt;BR /&gt;
1          2          3          4          0.75     A&lt;BR /&gt;
1          3          3          3          1          A&lt;BR /&gt;
2          1          6          10        0.6       B&lt;BR /&gt;
2          2          5          5          1          B&lt;BR /&gt;
2          3          8          10        0.8       B&lt;BR /&gt;
3          1          1          2          0.5       A&lt;BR /&gt;
3          2          2          5          0.4       A&lt;BR /&gt;
3          3          3          5          0.6       A&lt;BR /&gt;
&lt;BR /&gt;
Note that rate = num / den</description>
    <pubDate>Sat, 16 Aug 2008 12:38:42 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-08-16T12:38:42Z</dc:date>
    <item>
      <title>Modeling Longitidunal Proportional Data</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Modeling-Longitidunal-Proportional-Data/m-p/39450#M1256</link>
      <description>I am dealing with a problem to model longitudinal proportional data using both GEE (M1) and GLMM (M2). I am not sure if my syntax is correct especially for GEE since most SAS books only cover longitudinal "binary" data. I am even not sure if PROC GENMOD can handle GEE modeling for "repeated proportions". Both proportional and binary data belong to binomial distribution but the former one is in group level while the latter one individual level. Hope any one can share experience or opinion with me.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Jacob&lt;BR /&gt;
&lt;BR /&gt;
===================================&lt;BR /&gt;
M1: GEE&lt;BR /&gt;
proc genmod data=dsn;&lt;BR /&gt;
class ID group;&lt;BR /&gt;
model num/den = time group / link=logit dist=binomial type3;&lt;BR /&gt;
repeated subject=ID/type=ar(1);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
M2: GLMM&lt;BR /&gt;
proc glimmix data=dsn;&lt;BR /&gt;
class ID group;&lt;BR /&gt;
model num/den = time group / link=logit dist=binomial solution;&lt;BR /&gt;
random int time/subject=ID type=un;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ID         time     num     den      rate      group&lt;BR /&gt;
1          1          4          5          0.8       A&lt;BR /&gt;
1          2          3          4          0.75     A&lt;BR /&gt;
1          3          3          3          1          A&lt;BR /&gt;
2          1          6          10        0.6       B&lt;BR /&gt;
2          2          5          5          1          B&lt;BR /&gt;
2          3          8          10        0.8       B&lt;BR /&gt;
3          1          1          2          0.5       A&lt;BR /&gt;
3          2          2          5          0.4       A&lt;BR /&gt;
3          3          3          5          0.6       A&lt;BR /&gt;
&lt;BR /&gt;
Note that rate = num / den</description>
      <pubDate>Sat, 16 Aug 2008 12:38:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Modeling-Longitidunal-Proportional-Data/m-p/39450#M1256</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-08-16T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Modeling Longitidunal Proportional Data</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Modeling-Longitidunal-Proportional-Data/m-p/39451#M1257</link>
      <description>I do not know where is the binary data, it is not 0/1 coded, it multinormal data I think</description>
      <pubDate>Sun, 17 Aug 2008 02:47:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Modeling-Longitidunal-Proportional-Data/m-p/39451#M1257</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-08-17T02:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Modeling Longitidunal Proportional Data</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Modeling-Longitidunal-Proportional-Data/m-p/39452#M1258</link>
      <description>I don't think this is multinomial (you wrote multinormal - I don't know what that is), but he has clearly specified the model correctly.  For each class he has the number of trials and the number of observed events, and he is assuming that the number of events is a binomial distribution with probability p_{class}.</description>
      <pubDate>Wed, 20 Aug 2008 14:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Modeling-Longitidunal-Proportional-Data/m-p/39452#M1258</guid>
      <dc:creator>mftuchman</dc:creator>
      <dc:date>2008-08-20T14:56:40Z</dc:date>
    </item>
  </channel>
</rss>

