Age Sample Code
Note: This page is from an older version of the Data Dictionary and may therefore contain information that is now out of date. It is included here for reference only.
1 The following SPSS code is provided to illustrate the Age data definition
L_AGE
2 The following SPSS code illustrates how to derive L_AGE.
L_AGEB
3 The following SPSS code illustrates how to derive L_AGEB.
RECODE L_AGE (SYSMIS=9) (0 thru 15=1) (16 thru 18=2) (19 thru 20=3) (21 thru 24=4) (25 thru 59=5) (60 thru 120=6) (else=9) into L_AGEB.
VARIABLE LABELS L_AGE 'DV - Age of the learner as at 31 August relevant academic year' /L_AGEB 'DV - Age of the learner as at 31 August relevant academic year banded'.
VALUE LABELS L_AGEB 1 'Under 16' 2 '16-18' 3 '19-20' 4 '21-24' 5 '25-59' 6 '60 and over' 9 'missing age'. |
A_AGEST
4 The following SPSS code illustrates how to derive A_AGEST.
A_AGESTB
5 The following SPSS code illustrates how to derive A_AGESTB.
RECODE A_AGEST (SYSMIS=9) (0 thru 15=1) (16 thru 18=2) (19 thru 20=3) (21 thru 24=4) (25 thru 59=5) (60 thru 120=6) (else=9) into A_AGESTB.
VARIABLE LABELS A_AGEST 'DV - Age of the learner as at the start date of aim' /A_AGESTB 'DV - Age of the learner as at the start date of aim banded'.
VALUE LABELS A_AGESTB 1 'Under 16' 2 '16-18' 3 '19-20' 4 '21-24' 5 '25-59' 6 '60 and over' 9 'missing age'. |
Last Modified: 26 Jan 06