Postby silaarts » Fri Sep 13, 2013 8:41 am
I want to count 'a variabele'. That is, I want to count how many missing there are in one variabele.
Of course, this is easy by using 'frequencies variables age' (for exmaple).
However, I want a syntax that can say a smuch as 'if frequencies variables >99 then analysis....'.
Hence, I only want to conduct an analysis if the N of the sample (i.e. the frequences without the missings) is at least 100.
I think I should use lag or loop. However, I can not get SPSS to count for me in one variable and provide me the total of that variabele in, for example, another variabele.
If so, then I could use 'If (var1 >99) then regression...'.