I would like to predict whether single Reaction-Times (RTs) in a computer task can predict subject performance on a comprehension task. For each subject, I have many RTs but only 1 comprehension score.
Example data structure (my_data):
Subject_ID | Trial | RT | Comperhension_Score |
---|---|---|---|
P001 | 1 | 250 | 20 |
P001 | 2 | 260 | 20 |
P001 | 3 | 245 | 20 |
... | ... | ... | ... |
P005 | 1 | 255 | 31 |
P005 | 2 | 270 | 31 |
P005 | 3 | 280 | 31 |
I'm using nlme
, my model is my_model <- lme(Comprehension_Score ~ RT, random = (~1|Subject_ID), data = my_data)
I want to analyse at the trial-level because my understanding is that this preserves information and can improve statistical power, but is it valid to repeat Comprehension_score participant-wise and run this model? Or should you always reduce the data so that all the measures are on the same scale.
Edit: Alternatively, is there a way to modify the model (e.g., adjusting random effects) to make it valid?
Thank you!