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 (October 2002)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 17 Oct 2002 13:44:15 +0200
Reply-To:     tassoukis@iza.org
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Georgios Tassoukis <tassoukis@iza.org>
Subject:      Re: IDs
Comments: cc: hans.vandensteen@acred.be
In-Reply-To:  <275B00304561D31192A600508B449FFC06F91902@S92R7995.gbank.be>
Content-Type: text/plain; charset="iso-8859-1"

Dear Hans Van Den Steen,

GREAT! Many many many many thanks ... !

Georgios

> -----Original Message----- > From: SPSSX(r) Discussion [mailto:SPSSX-L@listserv.uga.edu]On Behalf Of > Hans Van Den Steen > Sent: Thursday, October 17, 2002 1:40 PM > To: SPSSX-L@listserv.uga.edu > Subject: FW: IDs > > > Hello everyone, > > > -----Original Message----- > > From: Georgios Tassoukis [SMTP:tassoukis@iza.org] > > Sent: Thursday, October 17, 2002 1:22 PM > > To: SPSSX-L@LISTSERV.UGA.EDU > > Subject: IDs > > > > Dear list members, > > > > please imagine following file: > > v1 id1 > > e 1 > > e 1 > > f 2 > > g 3 > > g 3 > > g 3 > > h 4 > > > [HANS] > Will this do what you want ? > > *////////////////////////////. > COMP id1=1. > SORT CASES BY v1. > DO IF ($CASENUM GT 1 AND v1=LAG(v1)). > COMP id1=LAG(id1). > ELSE IF $CASENUM GT 1. > COMP id1=LAG(id1)+1. > END IF. > EXE. > *////////////////////////////. > > Hans Van Den Steen > MIS Officer > Alpha Credit Belgium > Mailto:hans.vandensteen@acred.be > > > > id1 should beocme a grouped identifier for identical persons with > > different > > status. > > Id1 must reiterate: id1 must become lag+1 for a new person. > > Any idea is highly appreciated. > > > > Thanks for your help. > > > > Best regards, > > Georgios Tassoukis, Database Manager > > ----------------------------------------------------- > > IZA, P.O. Box 7240, D-53072 Bonn, Germany > > Phone : +49-228-3894-503 Fax: +49-228-3894-180 > > E-mail: tassoukis@iza.org Web: http://www.iza.org/ > > Office: Schaumburg-Lippe-Str. 7, D-53113 Bonn > > _____________________________________________________ >


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