Date: Mon, 4 Mar 2002 19:18:57 +0800
Reply-To: Vincent Toh <vincent04@PACIFIC.NET.SG>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Vincent Toh <vincent04@PACIFIC.NET.SG>
Subject: sort mean scores
Content-Type: text/plain; charset="iso-8859-1"
Dear List,
I was wondering if it is possible to sort the means scores in either
ascending or descending values upon generation of general tables.
Please view my syntax to have a better idea of what I mean.
DATA LIST LIST /question(A8) mean(f3.2).
BEGIN DATA
q1 2.2
q2 2.3
q3 2.1
q4 2.5
q5 2.9
q6 3.2
q7 4.1
END DATA.
LIST.
* General Tables.
TABLES
/FORMAT BLANK MISSING('.')
/OBSERVATION= mean
/GBASE=CASES
/TABLE=question BY mean
/STATISTICS
mean( mean( F7.2 )) /TITLE 'Highest Responses' ''.
Thank you very much and would appreciate any enriching advise.
Thanks in advance!
Vincent