estimate(test-ref) and lsmeans in bear [R for BE/BA]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2018-12-13 12:20 (581 d 04:54 ago) – Posting: # 19689
Views: 4,930

(edited by yjlee168 on 2018-12-13 14:19)

Dear mittyri,

Very sorry about the delay of this replied message.

» In your example the dataset is balanced.

That's correct.

» The question is how do you obtain LSMeans or what do you output as
» MEAN-ref = 7.32951
» MEAN-test = 7.40146

These two values were simply obtained from mean(LnCmax). So they were geometric means as defined. Since only balanced crossover studies will be analyzed in bear, so lsmeans are the same as arithmetic means.

» » please browse "[link=nk]" for more details (the explanations for the coefficient x32). Does anyone know the name of this coefficient in statistics? Thanks.
» That is called as a contrast.

Ok, thanks a lot. And also I will try your codes later with my test dataset. Your codes show and clarify the differences in calculation of lsmeans and geometric means for an unbalanced crossover study, as well as the contrast is equal to lnPE(I don't know that before!). Please correct me if I do not interpret your codes correctly. Thanks again.

All the best,
-- Yung-jin Lee
bear v2.8.8:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan
Download link (updated) -> here

Complete thread:

 Admin contact
20,861 posts in 4,361 threads, 1,451 registered users;
online 18 (2 registered, 16 guests [including 7 identified bots]).
Forum time: 18:14 CEST (Europe/Vienna)

The interpretation of facts in a certain way
stimulates other scientists’ thoughts.    Róbert Bárány

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