More obvious to discuss the model.... for me... [Software]
Hi all,
The mixed model is for our purposes
Now, in BE if we decide to fit the model with an intercept in
One the other hand, if we want to have separate variance estimates for A and B extracted directly from
I do not see any good arguments for fitting random effects with an intercept column in
The mixed model is for our purposes
Y= Xb + Zu + e
Z
is the design matrix for the random effects expressed in u
, typically the betweens.Now, in BE if we decide to fit the model with an intercept in
Z
then obviously we will get a column of ones followed by a column with indices for either treatment A or treatment B, but not both. Under this model specification we are thus estimating the intercept (whose interpretation is not so straightforward if you ask me, but see Pharm Cat's example above) along with the betweens for A or B (implementation-dependent), but not both.One the other hand, if we want to have separate variance estimates for A and B extracted directly from
u
once optimised, then we would make sure that the random effects are fit without intercept, implying Z
without a column of ones, and Bob's your uncle.I do not see any good arguments for fitting random effects with an intercept column in
Z
, but I do see arguments for doing it without. If the software takes care of everything from optimisation to generation of a CI behind the curtains, then there is no preference and software defaults will suffice whatever they are since the CI will be the same.—
Pass or fail!
ElMaestro
Pass or fail!
ElMaestro
Complete thread:
- Intercept in mixed effects model Imph 2022-10-25 09:47 [Software]
- Intercept in mixed effects model Helmut 2022-10-25 11:09
- Intercept in mixed effects model ElMaestro 2022-10-31 17:46
- Intercept in mixed effects model PharmCat 2022-11-03 15:02
- More obvious to discuss the model.... for me...ElMaestro 2022-11-10 00:34