Least Square Means (LSM) for incomplete data [Software]

posted by ElMaestro  – Denmark, 2011-10-07 23:00 (5008 d 09:54 ago) – Posting: # 7446
Views: 7,159

Hi Yicaoting,

that's an interesting post.

❝ For dataset 3, results from WNL:

LSM_R: 82.5594 (WNL)  vs  82.5594 (SAS)

LSM_T: 79.6926 (WNL)  vs  79.2074 (SAS)


❝ Obviously, the results are different. So my question are:

❝ 1) which is reliable?

❝ 2) for dataset3, how to manually calc LSM_T to obtain WNL's 79.6926 or SAS's 79.2074, I tried several methods, all were failed.

❝ 3) for dataset3, how to manually obtain WNL's R-T PE's SE=3.7492?


Hrmmmmmmmfff... very good questions. I don't have a lot of insight.
It is common in the linear BE model to disregard all data from any subject that has a missing value. That's why SAS treats dataset2 and dataset3 equally. I get the same result in R with the function call lm.

However, there is -at least in theory- an alternative when one value is missing for a period in one (or more) subject(s) and that is to try a maximum likelihood approach where you specify subject as random in the mixed model and trt+seq+per all fixed. When I do that in R, I actually can reproduce your values from WNL (but I do not have WNL on my machine so cannot play around). It could thus be that WNL actually uses a mixed model to obtain the estimates? Someone, go read the manual?! If this is indeed the case then I am pretty sure you can't obtain easily the treatment effects (they shouldn't be called LSM's if obtained by REML). At least from a theoretical perspective one can argue that the REML-based estimates are more credible, I think. But am no expert at all.

I am still struggling with the SE's. Will get back to you if I manage to figure out something.

EM.

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,673 registered users;
40 visitors (0 registered, 40 guests [including 23 identified bots]).
Forum time: 08:55 CEST (Europe/Vienna)

I have had my results for a long time:
but I do not yet know how I am to arrive
at them.    Carl Friedrich Gauß

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5