Is it possible to repeat a regression through the syntax? In my database I have 24 pairs of variables, I use each of those pairs to explain one same variable. I'd like to be able to de 24 regressions without having to copy, past and modify the regression syntax each time.
/STATISTICS COEFF OUTS R ANOVA
/METHOD=ENTER spt1 drt1
Is there a way to tell SPSS to do this regression 24 times, changing "spt1" and "drt1" to "spt2" and "drt2" and so on?
Hope i made myself clear. Thanks