Hi, I'm new to this forum. I have little statistical knowledge and a conference deadline Monday. I need to analyze a simple data-set. I have variable A (with a condition same for all cases), a moderator variable B and the outcome variable C. I'm trying to see if variable A condition and variable C conditions are present, to what extent variable B mediates variable C? I've tried to write a simple syntax to compute two variables: New_Variable_1 (variable A if Moderator Variable B >0, & Variable 3) and New_Variable_2 (variable A if Moderator Variable B =0 & variable 3). So then I could compare them to variable 3. But when I run descriptives for new variables it gives me N of cases same for both new variables, 1 and 2 (( What am I doing wrong?? And is it even the right way to approach this problem?

I can also share more details, or a syntax file if anyone is willing to help...

Thank you!!

P.S. I'll be taking the statistical analysis class next quarter...