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

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2018-12-13 12:20 (1089 d 02:30 ago) – Posting: # 19689
Views: 7,099

(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.9.0:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here

Complete thread:

Activity
 Admin contact
21,788 posts in 4,557 threads, 1,548 registered users;
online 5 (0 registered, 5 guests [including 4 identified bots]).
Forum time: Monday 14:50 CET (Europe/Vienna)

The history of statistics is like a telephone directory:
the plot is boring, full of numbers and the cast is endless.    Stephen Senn

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