BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,
I am using proc genmod for binary longitudinal data. SAS code and error message listed below. Does this means I need exclude all the subjects which have missing measurements at any time point? Thanks for your help.

proc genmod data=ee descending;
class subjID sex time group;
model response_var=Sex group Weight /dist=bin link=logit;
repeated subject=subjID / withinsubject=time logor=exch;
run;

ERROR: There seems to be a problem in the WITHINSUBJECT effect data. Check to see that there are at least as many levels of the WITHINSUBJECT effect as there are measurements for each subject.
1 REPLY 1
deleted_user
Not applicable
I was lucky because a search at support.sas.com pointed me to http://support.sas.com/kb/8/504.html

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1704 views
  • 0 likes
  • 1 in conversation