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!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1823 views
  • 2 likes
  • 2 in conversation