lmer / lme [General Statistics]
Hi Nastia,
» I still struggle to understand what is the difference between lmer and lme in this case...
The syntax of the formula for random effects is different.
The method to extract the PE and calculate the CI is also different. Hint: Lines 53–56 and 80–84 of the source-code of
» I still struggle to understand what is the difference between lmer and lme in this case...
The syntax of the formula for random effects is different.
mod <- lmer(logPK ~ sequence + period + treatment +
(1|subject),
data = data)
mod <- lme(log(PK) ~ sequence + period + treatment,
random = ~1|subject,
data = data, na.action = na.omit)
lme()
you have to use na.action = na.omit
because the default na.action = na.fail
would stop and throw an error.The method to extract the PE and calculate the CI is also different. Hint: Lines 53–56 and 80–84 of the source-code of
method.B.R
.—
Dif-tor heh smusma 🖖
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Dif-tor heh smusma 🖖
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Complete thread:
- Group by sequence interaction Mutasim 2019-08-07 13:16 [General Statistics]
- Group by sequence interaction, an urban myth? Helmut 2019-08-07 14:35
- pristine, genuine, holy, magnificent, inexplicable beautiful variation ElMaestro 2019-08-08 10:06
- I love your subject line! Helmut 2019-08-08 10:31
- Group effect, did you miss it? Astea 2019-12-21 14:12
- Group effect, did you miss it? PharmCat 2019-12-22 01:37
- Group effect: the endless story Helmut 2019-12-22 10:30
- Group effect: the endless river Astea 2019-12-22 21:23
- Group effect: the endless river PharmCat 2019-12-22 22:52
- replicateBE solution with interactions mittyri 2019-12-23 14:30
- replicateBE solution with interactions Astea 2019-12-23 17:26
- datasets issues mittyri 2019-12-24 10:53
- datasets Helmut 2019-12-24 11:03
- datasets Astea 2019-12-24 19:18
- lmer / lmeHelmut 2019-12-25 19:12
- datasets Astea 2019-12-24 19:18
- replicateBE solution with interactions Astea 2019-12-23 17:26
- Group effect: the endless river Astea 2019-12-22 21:23
- What do you mean exactly? Beholder 2019-12-27 13:44
- What do you mean exactly? Astea 2019-12-29 21:59
- ANOVA acc. to GL Helmut 2019-12-30 12:32
- What do you mean exactly? Astea 2019-12-29 21:59
- Group effect, did you miss it? Astea 2019-12-21 14:12
- I love your subject line! Helmut 2019-08-08 10:31
- pristine, genuine, holy, magnificent, inexplicable beautiful variation ElMaestro 2019-08-08 10:06
- Group by sequence interaction, an urban myth? Helmut 2019-08-07 14:35