my SPSS-dataset includes variables, that have been collected for different time measurement points. I would like to inverse my variables with a loop for the different time measurement points (t1, t2, t3 and so on...).
Is there a way to repeat the same command for the different time measurement points, e.g. by replacing the X with t1, t2, t3 etc. in a loop?
COMPUTE variable_1_X_inv = 5-variable_1_X
EXE.
Thanks for your help!