Date: Tue, 9 Feb 1999 11:08:33 -0500
Reply-To: "Popovic, Jennifer, VBAVACO" <ormjpopo@VBA.VA.GOV>
Sender: "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From: "Popovic, Jennifer, VBAVACO" <ormjpopo@VBA.VA.GOV>
Subject: Re: SPSS
Content-Type: multipart/alternative;
try:
compute id=$casenum.
$casenum is an "internal" SPSS variable that is the row number of the case.
-jen
Jennifer R. Popovic
Statistician
Surveys and Research Staff
Veterans Benefits Administration
202.273.6463 (phone)
202.275.5947 (FAX)
ormjpopo@vba.va.gov
> ----------
> From: Shailendra Dobson[SMTP:sdobso00@UOGUELPH.CA]
> Sent: Tuesday, February 09, 1999 10:45 AM
> To: SPSSX-L@UGA.CC.UGA.EDU
> Subject: SPSS
>
> Is there any efficient way to compute a new variable, which would be the
> "id or case number" of my data in the data editor? The "id" would be the
> same as the row number. I have to filter/exclude some cases based on case
> number.
>
> Doing manually is boring and time consuming.
>
> Any suggestion is appreciated.
>
[text/html]
|