Date: Thu, 4 Nov 2004 08:37:37 -0500
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Mathew Chandler <firstname.lastname@example.org>
Subject: Adding frequency variable
Content-Type: text/plain; charset="US-ASCII"
I have a variable in a dataset that shows the year and month of a study
done. I want to add a new variable to every case that shows the number of
records that have the same year and month.
For example, record 1 has year and month of Dec 98 in the variable of
interest and of the hundreds of thousands of records, there are 1052
records total that have the value Dec 98, so the value of the new variable
for record one would be 1052.
Is there any easy way to do this?
Associate Computing Consultant-Client Support & Services
University of Windsor
Windsor, Ontario, Canada
(519) 253-3000 ext. 2768