Thursday, 9 December 2010

Really nice table

For the above, use this syntax:

CTABLES
/TABLE (Q11a +Q11b +A11c +Q11d +Q11e +Q11f +Q11g +Q11h +Q11i +Q11j) [COLPCT] [COUNT] BY cohort1
/SLABELS VISIBLE=NO
/CATEGORIES VARIABLES=cohort1 TOTAL=YES LABEL='Total Respondents'
/CATEGORIES VARIABLES= Q11a Q11b A11c Q11d Q11e Q11f Q11g Q11h Q11i Q11j [1, 2, 3, 4, SUBTOTAL, OTHERNM] EMPTY=INCLUDE POSITION=AFTER.
/TITLE TITLE = 'Ranking of abilities by students '+
'by cohort'
CAPTION= 'Report created at )TIME on )DATE' ')TABLE'.

No comments: