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 2006)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 28 Sep 2006 05:53:36 +0530
Reply-To:   Manmit Shrimali <MShrimali@marketrx.com>
Sender:   "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:   Manmit Shrimali <MShrimali@marketrx.com>
Subject:   Frequency across the records
Content-Type:   text/plain; charset="us-ascii"

Hello Team:

I have very tricky situation. The data looks as below. If respondent selects the product the data will be captured as 1 and if not it will be 0.

ProductA ProductB ProductC ProductD 0 0 0 1 1 1 1 0 0 0 1 1 1 0 0 0 1 0 0 0

I want an output that produces the count of 1 across product combination. So based on above example, following should be the output:

Combination Count ProductD 1 ProductA,B,C 1 ProductCD 1 ProductA 2

Your inputs are highly appreciated.

Thanks

Manmit


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