[R-sig-ME] Question about random-effects

Jorge Teixeira jorgemmtte|xe|r@ @end|ng |rom gm@||@com
Sat Feb 4 13:35:41 CET 2023


Hi everyone.

Context: Two groups (A and B) performed 30 treatment sessions. Each session
has 4 periods.

However, the wo groups did the intervention 6-months apart, with no overlap.

The model fit of both models is equal, but theoretically, one should make
more sense.

Q1: Is m2 or m22 that captures this the best?

Q2: the fact that I have fixed effect for group makes the previous question
irrelevant somehow?

Thanks!


m2 <- lmer(dp ~ session + period + group + (1 | id) + (1 | date /  session
/  period), data = dat_long )

summary(m22)

m22 <- lmer(dp ~ session + period + group + (1 | id) + (1 | session / date
/ period), data = dat_long )

summary(m22)

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list