fixed or mixed effects model [BE/BA News]

posted by Helmut Homepage – Vienna, Austria, 2024-09-09 13:13 (28 d 00:23 ago) – Posting: # 24194
Views: 1,232

Hi BEQool,

❝ thank you for a well-explained answer with specific examples.


Welcome. No big deal because I had the simulation-script already.

❝ Doesnt a model with subject as a fixed effect automatically exlude subjects with missing periods (in 2x2x2 design) from the analysis? Or am I wrong? :-D


Of course, you are right.

❝ If I am not wrong and if I understand correctly, based on your examples with incomplete data (periods missing), the difference between subject as a fixed effect and subject as a mixed effect is more than a slight difference (instead the difference is observed in the 1st decimal place)?


Yes. That’s why I wrote:

❝ ❝ There are differences for incomplete data (period missing) – not only for the CI but also the PE.

Note also that the width of CI by the mixed effect models is generally (a little bit) narrower than the one by the fixed effect model because some information is recovered. Peanuts.

❝ Yes I was most interested in these incomplete data. So basically if you have incomplete data set (just periods missing) you should exclude the subject from the analysis and then the result (PI and 90%CI) would be almost the same (regardless of subject as a fixed or mixed effect)? Furthermore, this result would again be almost the same as if we wouldnt exclude the subject from the analysis and just used subject as a fixed effect?


Yep.


P.S.: I modified the script in such a way that you can specify the number of dropouts and subjects with missings. Try this:

CV         <- 0.15
theta0     <- 0.975
target     <- 0.90
alpha      <- 0.05
per.effect <- 0
carryover  <- c(0, 0)
dropouts   <- 2
missings   <- 1

Interesting, isn’t it?

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,247 posts in 4,885 threads, 1,652 registered users;
74 visitors (0 registered, 74 guests [including 11 identified bots]).
Forum time: 13:37 CEST (Europe/Vienna)

The real struggle is not between the right and the left
but between the party of the thoughtful
and the party of the jerks.    Jimmy Wales

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