Date: Tue, 29 Oct 2002 10:17:02 -0500
Reply-To: "Feinstein, Zachary" <ZFeinstein@HarrisInteractive.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Feinstein, Zachary" <ZFeinstein@HarrisInteractive.com>
Subject: Searching for Ties Across Variables, Not Cases
Content-Type: text/plain; charset="iso-8859-1"
When searching for ties across variables (for single records) is there an
easier way to do the procedure? The following is what I wrote, but I cannot
think of a good way to modularize it or make it easier.
COMPUTE tie1 = ANY(t18ai2, t18ai3, t18ai10).
COMPUTE tie2 = ANY(t18ai3, t18ai2, t18ai10).
COMPUTE tie3 = ANY(t18ai10, t18ai2, t18ai3).
COMPUTE tie4 = ANY(t20ac2, t20ap1, t20at1, t20as4, t20anew1).
COMPUTE tie5 = ANY(t20ap1, t20ac2, t20at1, t20as4, t20anew1).
COMPUTE tie6 = ANY(t20at1, t20ac2, t20ap1, t20as4, t20anew1).
COMPUTE tie7 = ANY(t20as4, t20ac2, t20ap1, t20at1, t20anew1).
COMPUTE tie8 = ANY(t20anew1, t20ac2, t20ap1, t20at1, t20as4).
EXECUTE.
Thanks in advance.
Zachary
zfeinstein@harrisinteractive.com
(952) 541-7161
|