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 (July 2006)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
=========================================================================
Date:         Tue, 11 Jul 2006 10:20:39 -0400
Reply-To:     Monica Perry <mperry@pitt.k12.nc.us>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Monica Perry <mperry@pitt.k12.nc.us>
Subject:      Re: Easy problem
Comments: To: Lou <charl_bean@YAHOO.CO.UK>
Content-Type: text/plain; charset=US-ASCII

Hi Lou, If you're not looking for syntax (or want to use GUI to go through the steps and then paste the syntax), you can use identify duplicate cases.

Identify duplicate cases can be used if you have a common identification number for each individual, such as student/patient ID or social security number.

As you go through the steps select "Sequential count of matching case in each group" under Variables To Create. This will number all occurances of the same ID number, as 1, 2, 3...if an ID number does not have a match, it will be given a zero (but this really means there is only 1 case).

Monica Perry Title 1 Program Specialist Pitt County Schools, Greenville NC (252) 752-0124

>>> Lou <charl_bean@YAHOO.CO.UK> 07/11/06 9:55 AM >>>

Hi list,

I have an easy problem (I reckon). I need to generate a variable which basically repeats the numbers 1, 2, 3. In other words, I have a data file in which each individual has three records (cases) and I just need to mark up the different records as 1, 2, 3. Could someone tell me how to do this please?

Thanks,


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