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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register 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
  • 1783 views
  • 0 likes
  • 1 in conversation