3dMVM error and question

Lauren,

If you're interested in comparing the sex difference of the EOF association with the voxel-level z-score, it’s crucial to clarify whether the sex difference in EOF is causal. If sex is a causal factor for differences in EOF, then EOF would serve as a mediator. In that case, centering EOF within each sex group is appropriate. If causality is not assumed (i.e., the observed sex difference in EOF is due to sampling), consider cross-sex centering for EOF. For a deeper dive into this subtlety, refer to this blog post.

For your model specification, you might try:

3dMVM ... \
  -bsVars "EOF*sex+age" \
  -qVars "EOF,age" \
  ...

Gang Chen