Date: Mon, 3 May 2004 09:28:36 +0200
Reply-To: Mark Webb <targetlk@iafrica.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Mark Webb <targetlk@iafrica.com>
Subject: Counting Unique Occurrences Across Variables
Content-Type: text/plain; charset="iso-8859-1"
The COUNT command counts the number of occurrences across variables. Is
there a command that reports the number of unique occurrence across
variables. An example will be demonstrate what I'm after.
V1 V2 V3 Desired Answer
1 2 3 3
1 2 1 2 i.e. the '1' is only counted once.
Any suggestions will be appreciated.
Mark Webb
TargetLink Research
P O Box 13040 Mowbray 7705
1st Floor, Standard Bank Building
37 Main Rd, Mowbray, Cape Town
Phone 021-689-8848
Fax 021-686-9493
Cell 072 199 1000
e-mail targetlk@iafrica.com
|