I would create a variable in SPSS and add it in the existing dataset. Particularly this variable should be: x-y if x>y and 0 if x<=y (x and y are variables in the dataset). How can I do?
I'm interested to learn this both writing the syntax of the script as using the guided tool "compute variable".
thanks in advance