Date: Tue, 19 May 2009 09:22:34 -0300
Reply-To: Carlos Renato <estatistico.org@gmail.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Carlos Renato <estatistico.org@gmail.com>
Subject: Transform cases in variables
Content-Type: multipart/alternative;
Dear friends of the list
I have a problem that consists in transform each n-cases in
v-variables from a variable that contains all information.
For example, supose de follow dataset:
Var1
(age person 1)
(sex person 1)
(eye color person 1)
(age person 2)
(sex person 2)
(eye color person 2)
(age person 3)
(sex person 3)
(sex person 1)
.
.
.
Then, I want to transform this dataset in a new dataset with the
format below:
Age sex eye
(age person 1) (sex person 1) (eye color person 1)
(age person 2) (sex person 2) (eye color person 2)
(age person 3) (sex person 3) (eye color person 3)
Thanks for all.
Carlos Renato
Statistician
[text/html]
|