Date: Thu, 14 Jan 2010 12:27:55 -0800
Reply-To: dadrivr <dadrivr@GMAIL.COM>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: dadrivr <dadrivr@GMAIL.COM>
Subject: Restructuring Cases into Variables
Content-Type: text/plain; charset=us-ascii
Hi all. Really need help here. My data set is structured like this:
coder rating
1 ##
1 ##
1 ##
2 ##
2 ##
2 ##
I need the data file to be structured like this:
coder 1 coder 2
## ##
## ##
## ##
I have tried restructuring using Cases to Variables, but I get the following
error:
"The INDEX values for case 2 have occurred before in the cases with the same
ID values."
I assume the error is because some of the lines are duplicates (both coder
gives many ratings to each of a large number of people). Here is the syntax
I am using:
SORT CASES BY coder rating.
CASESTOVARS
/ID=rating
/INDEX=coder
/GROUPBY=INDEX.
I would really appreciate your help. Thanks so much!
--
View this message in context: http://old.nabble.com/Restructuring-Cases-into-Variables-tp27167594p27167594.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD