BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AmaraEzeamama
Calcite | Level 5

I am trying to run the following program for analysis of repeated measures multinomial data. 

 


proc gee data=ironstat4;
class tovid anemia_type baseline_anemia_type time_ ;
model anemia_type=baseline_anemia_type / dist=multinomial link=glogit;
repeated subject=tovid /within=time;
run;

 

subjects are uniquely identified via the variable "tovid".  I have three repeated assessments with periods of assessment represented by "time_).  I simply don't understand this error and/or what I can do to resolve it.  I'd appreciate any thoughts to help me move forward. 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Do you have duplicates within subject and time?

 

You can run a proc freq to check that.

 

proc freq data=ironstat4;
table tovid*time / out=check (where=(count>1));
run;

If the data set named CHECK is empty it's something else. If not, those records have duplicates for subject time. 

 


@AmaraEzeamama wrote:

I am trying to run the following program for analysis of repeated measures multinomial data. 

 


proc gee data=ironstat4;
class tovid anemia_type baseline_anemia_type time_ ;
model anemia_type=baseline_anemia_type / dist=multinomial link=glogit;
repeated subject=tovid /within=time;
run;

 

subjects are uniquely identified via the variable "tovid".  I have three repeated assessments with periods of assessment represented by "time_).  I simply don't understand this error and/or what I can do to resolve it.  I'd appreciate any thoughts to help me move forward. 


 

View solution in original post

2 REPLIES 2
Reeza
Super User

Do you have duplicates within subject and time?

 

You can run a proc freq to check that.

 

proc freq data=ironstat4;
table tovid*time / out=check (where=(count>1));
run;

If the data set named CHECK is empty it's something else. If not, those records have duplicates for subject time. 

 


@AmaraEzeamama wrote:

I am trying to run the following program for analysis of repeated measures multinomial data. 

 


proc gee data=ironstat4;
class tovid anemia_type baseline_anemia_type time_ ;
model anemia_type=baseline_anemia_type / dist=multinomial link=glogit;
repeated subject=tovid /within=time;
run;

 

subjects are uniquely identified via the variable "tovid".  I have three repeated assessments with periods of assessment represented by "time_).  I simply don't understand this error and/or what I can do to resolve it.  I'd appreciate any thoughts to help me move forward. 


 

AmaraEzeamama
Calcite | Level 5
Thank you Reeza: This check allowed me to solve the problem. So thankful for your assistance!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 2284 views
  • 2 likes
  • 2 in conversation