Hi everyone,
I am working on a power calculation for a mixed effects model and am not sure whether I have formulated the model correctly. I will share what I have in the hope that someone on this list could confirm whether I am going about this in an appropriate way.
The power calculation concerns a study where we know the following:
1. A small number of subjects will be recruited in the study (perhaps 20 or 30) - these will actually be volunteers;
2. All workers are shift workers, who have 4 types of shifts: day, evening, night and off.
3. A sequence of 35 calendar days will be selected for the study (which will cover a combination of the 4 shifts), during which the workers will be administered a cognition test, whose outcomes will be a) completion time and b) total test score.
4. During each shift, the workers will be asked to take the cognition test at the beginning and end of the shift (at least), though the exact times when the test is taken may differ among workers.
5. Other information collected on each worker includes: Age, Gender, Stress Level.
6. It is expected that cognitive function will decline as the shift progresses. Interest lies in testing differences between shifts as well as differences between genders with respect to the rate of decline in cognitive function.
In considering the above, it seems to me that this is a 3-level mixed effects model (though I am not sure, as I don't work with mixed effects models all that often). Is what I am proposing below reasonable?
Level 3 Subject 1 Subject n
Level 2 Day 1 Day 2 .... Day 35 Day 1 Day 2 ... Day 35
Level 1 T1 T2 T1 T2 ... T1 T2 T1 T2 T1 T2 ... T1 T2
Test occasions (denoted by T1 and T2) would represent the first level of nesting, followed by calendar days (the second level of nesting), followed by subject (the third level of nesting). T1 and T2 could perhaps be represented as hour of day (?) or "Beginning" and "End" (?).
Calendar Day would be treated as a random factor and "Shift Type" (factor with 4 levels) would be treated as a level-2 predictor (?). But does it make sense to treat calendar day as a random factors when the days are chosen to that a particular sequence of day, afternoon, evening and off shifts are captured? On the other hand, with only 20-30 subjects, maybe this is not unreasonable.
Subject would be treated as a random factor (?). If the subjects are volunteers, how reasonable is this? Age, Gender and Stress Level would be treated as level-3 predictors (?).
Subject and Calendar Day would be treated as crossed factors (?), as the same set of Calendar Days is used for each subject.
For power calculations, would it be reasonable to just consider the simplest model possible - say, one which includes a random effect for subject and no interactions?
Thank you in advance for any insights you may be able to share.
Isabella
------------------------------
Isabella Ghement
Ghement Statistical Consulting Company Ltd.
------------------------------