I have an outcome variable painRating
which represents how painful a participant found a sensation. I can reasonably expect ratings to be affected by a painful stimulation. Thus I would like to run a mixed-effects model (lme4) to test that.
In my experiment I have various stimulation levels which were acquired individually for each participant ** but following a predetermined protocol **, thus I have limited and influenced the stimulation levels. Let's call my painful stimulation variable stimulationValue
. It is continuous numerical variable that ranges between 5 and 15.
In my understanding, stimulationValue
could be:
A) a random effect because the actual value of the stimulation is due to a participant variability (another random effect participant
) and whether or not a participant held a diagnosis (diagnosis
). So my model could look like:
painRating ~ diagnosis + (1 | stimulationValue) + (1 | diagnosis/participant)
B) a fixed effect because despite participant variability, I have limited the actual value to a range:
painRating ~ diagnosis + stimulationValue + (1 | diagnosis/participant)
Question: Am I wrong that 'stimulationValue' could be both a RE and a FE? If not, is there one way that I should choose over the other?
** If needed clarification - Before the experiment, I determined 6 various stimulation levels based on each participant's pain threshold and pain tolerance. Both measures differ between participants thus the resulting stimulation levels also differ.
StimVal
is continuous is a red herring. And I wonder about its importance to others who may read your report. It seems its a categorical variable with six levels, calibrated for individual patients to run from 'barely noticeable', to 'limit of toleration'. Would other researchers, possibly seeking to confirm your work, be able to understand and administer your 'predetermined protocol'. // Seems as if the take-away msg from your study might be thatpainrating
increases withStimVal
. Without clear set standards for both variables, it's hard to know what to say. $\endgroup$stimulationValue
of 10 represents weakest stimulation level, for another it may be the strongest. On the note of takeaway message, it would not be as simple either unfortunately (or fortunately!). I expect painRating to be mediated by several factors. $\endgroup$