BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am fitting a repeated measures model using proc mixed, data are from randomized parallel clinical trials with three treatment groups, patients are followed for a few weeks with measurement at each week after baseline. A big percentage of the patients discontiued before the end of the study (dropped out at different visits). Below is the model I try to fit:

Proc mixed;
Class treatment visit patientid;
Model change = baseline_score treatment visit treatment*visit /s;
Repeated visit / subject=patientid type=un;
lsmeans treatment*visit;

I am very puzzled that the lsmeans by visit and treatment from this model fitting are quite different from the raw means, with almost all (except one visit for one group) bigger than the raw means, which is odd. Could someone offer any insight how is this possible (because of the inbalance re discontinuation)? Or something wrong with my proc mixed model? I thought this is a pretty straightforward model.

Any response will be appreciated.

Best,

John
2 REPLIES 2
sullivan0822
Calcite | Level 5
What happens when you take the baseline_score out of the model?
deleted_user
Not applicable
When baseline is out, the LSmeans at least are not always higher than the raw mean and differences are not that great. But since this is a randomized trial, the baseline for each treatment group is pretty close. Thank you in advance for any insight.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 759 views
  • 0 likes
  • 2 in conversation