LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 23 Sep 2008 11:29:41 -0400
Reply-To:     Gene Maguin <emaguin@buffalo.edu>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Gene Maguin <emaguin@buffalo.edu>
Subject:      Re: selecting cases
In-Reply-To:  <001201c91d84$43b40690$cb1c13b0$@nl>
Content-Type: text/plain; charset="us-ascii"

Leo,

It sounds like your selection problem is quite complex and that the any(2770,diag1 to diag50)' is just one part. To get the correct selection, you will need to combine several parts. For instance,

Compute diag2770=any(2770,diag1 to diag50). Compute diag2700=any(2700,diag1 to diag50). Compute diag3900=any(3900,diag1 to diag50).

Compute anydiag=any(1,diag2700,diag2770,diag3900).

With this syntax you can also do crosstabs to see the overlap in your diagnosis criteria variables.

Gene Maguin

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page