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

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
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
  • 2074 views
  • 0 likes
  • 1 in conversation