estimate(test-ref) and lsmeans in bear [🇷 for BE/BA]
Dear mittyri,
Very sorry about the delay of this replied message.
That's correct.
These two values were simply obtained from
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.
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.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
All the best,
-- Yung-jin Lee
bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan https://www.pkpd168.com/bear
Download link (updated) -> here
Complete thread:
- PE vs GMR roman_max 2018-12-10 17:53 [🇷 for BE/BA]
- PE vs GMR Ohlbe 2018-12-11 00:28
- PE vs GMR roman_max 2018-12-12 16:31
- PE vs GMR in Bear mittyri 2018-12-12 17:40
- estimate(test-ref) in bear yjlee168 2018-12-12 18:58
- estimate(test-ref) and lsmeans in bear mittyri 2018-12-12 22:57
- estimate(test-ref) and lsmeans in bearyjlee168 2018-12-13 12:20
- estimate(test-ref) and lsmeans in bear mittyri 2018-12-12 22:57
- estimate(test-ref) in bear yjlee168 2018-12-12 18:58
- PE vs GMR in Bear mittyri 2018-12-12 17:40
- PE vs GMR roman_max 2018-12-12 16:31
- PE vs GMR mittyri 2018-12-11 16:30
- PE vs GMR roman_max 2018-12-12 16:41
- PE vs GMR ElMaestro 2018-12-12 21:39
- PE vs GMR roman_max 2018-12-13 23:11
- SPSS vs lm mittyri 2018-12-14 15:35
- SPSS vs lm roman_max 2018-12-15 13:37
- SPSS BE code mittyri 2018-12-15 22:07
- SPSS vs lm roman_max 2018-12-15 13:37
- PE vs GMR ElMaestro 2018-12-14 16:11
- SPSS vs lm mittyri 2018-12-14 15:35
- PE vs GMR roman_max 2018-12-13 23:11
- PE vs GMR Ohlbe 2018-12-11 00:28