Hi Gang,
Thank you for your reply!
Thank you for pointing out that my version of AFNI is outdated--I will request to update it. It is on a shared server so I cannot update it myself.
Yes, pain is between-subjects and stimulus is within-subject. We are trying to compare the HRF between chronic pain and healthy subjects when they are tasting a sweet drink (vs a tasteless control stimulus). We're trying to do something similar to Fig 5 in your 2023 paper, where you compare the HRF of BP patients to that of healthy controls during the selective attention task.