Date: Thu, 4 Nov 2004 08:37:37 -0500
Reply-To: mchandle@uwindsor.ca
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Mathew Chandler <mchandle@uwindsor.ca>
Subject: Adding frequency variable
In-Reply-To: <OF60CC2FBF.1111075B-ON85256EBB.0061C873-85256EBB.00625549@LocalDomain>
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?
Mathew Chandler
Associate Computing Consultant-Client Support & Services
I.T. Services
University of Windsor
Windsor, Ontario, Canada
N9B 3P4
(519) 253-3000 ext. 2768
mchandle@uwindsor.ca
|