|
|
Dear Eins,
I think the syntax below does the job. If the new variable order is not of your liking, you can use MATCH FILES in order to adjust it. HTH, Ruben van den Berg Consultant Models & Methods TNS NIPO Email: [hidden email] Mobiel: +31 6 24641435 Telefoon: +31 20 522 5738 Internet: www.tns-nipo.com preserve. set decimal dot. data list free/ID (f2) Subject(a1) Grade (f2.1). begin data 1 X 2 1 Y 3 1 Z 2 1 W 2.5 2 X 4.0 2 Y 3.0 2 Z 4.0 2 W 4.0 3 X 4.0 3 Y 3.0 3 Z 3.0 3 W 3.0 end data. sort cases by id subject./*just in case... casestovars /id=id /index=subject. restore. Date: Thu, 10 Jun 2010 15:02:29 +0800 From: [hidden email] Subject: Restructuring Data To: [hidden email]
Express yourself instantly with MSN Messenger! MSN Messenger |
| Free forum by Nabble | Edit this page |
