> My research question primarily revolves around the peer-computer contrast, but I want to account for the
> other factor in the analysis because I would expect an interaction between partner and reply type.
The most straightforward approach is to obtain the contrast of peer-computer from each subject, and then directly run BayesianGroupAna.py with the contrast from each subject as input:
beta ~ 1 + (1 | Subj) + (1 | ROI)
For the contrast of peer-computer, you need to average across the two questions (agree and away).
Gang