SPSS, co-occurence measure ?

#1
Hi,

I want to see if two conditions always occur together, using SPSS. That is, I have some events that show a certain characteristic, let's call is 'X'. I want to check when this characteristic appears, and if it is bound to condition A or B. Furthermore, I want to know if it there is any order effect, for example 'X' occurs more likely if condition A precedes condition B.
My thoughts are: I should compare all X in condition A against all X in condition B and then do a follow-up that compares an order effect.

My problem is, I don't know how to do this in SPSS. Any help is appreciated!