How to convert discrete choice modeling ASCII data in SPSS.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to convert discrete choice modeling ASCII data in SPSS.

Abdus Salam
Dear Experts,


I have a discrete choice ASCII Data like:

7 0 5 5 1  -line1
4  -line2
1 3 3 1 2
4 2 2 3 1
3 1 1 3 3
2 4 4 2 4
4 0 -line7
4
3 2 3 2 4
2 4 1 1 1
1 3 2 2 3
4 1 4 3 2
3 0
4
3 4 2 3 2
4 3 1 2 1
1 2 4 1 3
2 1 3 1 4
2 0
4
2 2 2 2 2
4 1 3 2 3
1 4 1 3 4
3 3 4 1 1
4 0
4
3 4 4 3 1
1 2 1 2 2
4 1 2 1 4
2 3 3 3 3
1 0


Where in line1: 7-Id No. 5: Is the number of attributes, 5: is the number of Choice task ,and 1 is for none option & in line 2: 4 is for number of concepts per task.Also in line 7 presents that respondents choose 4 rth concept in 1st task. that's why I need to convert the data like:


7 6 5 5 1
4
1 3 3 1 2 0
4 2 2 3 1 0
3 1 1 3 3 0
2 4 4 2 4 1
4
3 2 3 2 4 0
2 4 1 1 1 0
1 3 2 2 3 1
4 1 4 3 2 0
4
3 4 2 3 2 0
4 3 1 2 1 1
1 2 4 1 3 0
2 1 3 1 4 0
4
2 2 2 2 2 0
4 1 3 2 3 0
1 4 1 3 4 0
3 3 4 1 1 1
4
3 4 4 3 1 1
1 2 1 2 2 0
4 1 2 1 4 0
2 3 3 3 3 0

Is it possible in SPSS. Any quick help would be highly appreciated.


Thanks!
Syada.


      ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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