SPSS Macro's

Thanks to a great answer on stats.stackexchange.com by Penguin Knight, which should be appreciated despite the knee-jerk negativity they got for it (whether it makes sense to run multiple regressions depends on the situation, and being able to do things within SPSS rather than being forced to use Python might be handy).

Here follows an example derived from that answer.

DEFINE fESRTRegr
    (DV = !ENCLOSE("[","]")) .
!DO !I !IN (!DV)
REGRESSION
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT !I
  /METHOD=ENTER Sex Age
  /METHOD=ENTER ES_pm1_pp1_m
  /METHOD=ENTER ES_pm1_pp1_emo
  /METHOD=ENTER ES_pm1_pp1_CSI2v1 ES_pm1_pp1_CSI3v1 ES_pm1_pp1_CSI4v1
  /METHOD=ENTER ES_pm1_pp1_CSI2v1xEmo ES_pm1_pp1_CSI3v1xEmo ES_pm1_pp1_CSI4v1xEmo.
!DOEND.
!ENDDEFINE.

fESRTRegr DV = [PhysicalAggr VerbalAggr Anger Hostility Reexp Arousal STAI1].
EXECUTE.