If you are trying to estimate differences between the two groups across a range of time, then I'm guessing there is a significant interaction between week_number and status_flag. Otherwise, the average difference between the two groups would just be the beta for your status variable. (Of course, this assumes there is even an effect for status_flag...) I'm not sure that just one ESTIMATE statement can get you what you want. Even in this example about fitting a spline model, multiple ESTIMATE statements are used to obtain inferences about differences at regular intervals... https://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_glimmix_sect029.htm
... View more