fixed or mixed effects model [BE/BA News]
❝ 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? 
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.
❝ 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
Dif-tor heh smusma 🖖🏼 Довге життя Україна!
![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
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:
- ICH M13A: Changes to Step 2
Helmut 2024-07-31 13:16
- ICH M13A: Changes to Step 2 Helmut 2024-07-31 14:19
- AUCres mittyri 2024-08-05 21:08
- ‘Percentage covered’ Helmut 2024-08-05 22:13
- ICH M13A: Changes to Step 2 BEQool 2024-09-09 05:48
- fixed or mixed effects model Helmut 2024-09-09 07:04
- fixed or mixed effects model BEQool 2024-09-09 10:18
- fixed or mixed effects modelHelmut 2024-09-09 11:13
- fixed or mixed effects model BEQool 2024-09-10 07:35
- fixed or mixed effects modelHelmut 2024-09-09 11:13
- fixed or mixed effects model Helmut 2024-09-10 08:12
- fixed or mixed effects model BEQool 2024-09-09 10:18
- fixed or mixed effects model Helmut 2024-09-09 07:04
- AUCres mittyri 2024-08-05 21:08
- ICH M13A: Changes to Step 2 Helmut 2024-08-05 12:53
- period within group and formulation mittyri 2024-08-05 20:42
- period within group and formulation Helmut 2024-08-05 22:29
- ICH M13A: Step 4 → 5 Helmut 2024-08-08 11:57
- Formal ICH Procedure Helmut 2024-08-09 09:45
- ICH M13A: Changes to Step 2 Helmut 2024-09-06 08:04
- ICH M13A: Changes to Step 2 Helmut 2024-07-31 14:19
