| Date: | Tue, 25 Jun 2002 11:23:18 -0600 |
| Reply-To: | Jose Benuzillo <Jose.Benuzillo@nurs.utah.edu> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | Jose Benuzillo <Jose.Benuzillo@nurs.utah.edu> |
| Subject: | Restructuring data |
| Content-Type: | text/plain; charset=US-ASCII |
Dear all,
Here's my situation:
I have four binary variables:
(1600 cases)
A B C D
1 1 1 1
1 1 1 0
1 1 0 0
1 0 0 0
0 1 1 1
0 0 1 0
0 0 0 1
I woulf like to have one variable with the next format:
newvar
1234
123
12
1
234
3
4
I would appreciate if someone could provide a way to automate this task.
Thanks in advance.
Jose Gerardo Benuzillo
|