BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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 here.

Thanks

Jacob

===================================
M1: GEE
proc genmod data=dsn;
class ID group;
model num/den = time group / link=logit dist=binomial type3;
repeated subject=ID/type=ar(1);
run;

M2: GLMM
proc glimmix data=dsn;
class ID group;
model num/den = time group / link=logit dist=binomial solution;
random int time/subject=ID type=un;
run;

ID time num den rate group
1 1 4 5 0.8 A
1 2 3 4 0.75 A
1 3 3 3 1 A
2 1 6 10 0.6 B
2 2 5 5 1 B
2 3 8 10 0.8 B
3 1 1 2 0.5 A
3 2 2 5 0.4 A
3 3 3 5 0.6 A

Note that rate = num / den

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 0 replies
  • 814 views
  • 0 likes
  • 1 in conversation