Fw: identifying missing cases

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fw: identifying missing cases

John F Hall
Got bounced when server went down.
 
----- Original Message -----
Sent: Sunday, August 01, 2010 10:02 PM
Subject: Re: identifying missing cases

Try
 
count xx = v1 v45 v63 v78 v126 v154 (missing) .
recode xx (1 thru hi = 1) .
freq xx .
----- Original Message -----
Sent: Sunday, August 01, 2010 8:36 PM
Subject: identifying missing cases

Hi SPSSers,
 
I am trying combine the "If (Any," command with they key word missing but have only succeeded in generating error messages. So, I resorted to the following:
 
IF  (MISSING (v1) OR MISSING (v45) OR MISSING (v63) OR MISSING (v78)
OR MISSING (v126) OR MISSING (v154))  Miss=1.
 
But it's cumbersome, and I have a lot more than 6 variables. Can anyone tell me how to simplify this?
 
Thanks in advance.
 
    Best,
        Lisa