Leave Period Data Definition 2008/2009
A_LEAVEP, E_LEAVEP
DATA DEFINITION
1. Indicates the period a learner left the aim.
PURPOSE
2. To identify the monthly period that an aim ended in.
RELEVANT COLLECTIONS
SOURCE DATA
3. The following variables are used as source data for the calculation of Period a Learner Left the Aim.
| Field Name | Label | Dataset |
|---|
| A31 | A31 Learning Actual End Date | Aims Standard File |
| E10 | E10 Date Ended ESF Co-Financing | ESF Standard File |
DERIVED VARIABLES AND DATASETS
4. The definition produces the following derived variable(s)
| Field Name | Label | Dataset |
|---|
| A_LEAVEP | A_LEAVEP Period Left in | ER Aims Standard File |
| E_LEAVEP | E_LEAVEP Period Left in | ESF Standard File |
VALUES
5. The table below outlines the values for A_LEAVEP, E_LEAVEP
A_LEAVEP Values | Label |
|---|
| -99 | Before 1 August 2008 |
| 1 | Period 1 |
| 2 | Period 2 |
| 3 | Period 3 |
| 4 | Period 4 |
| 5 | Period 5 |
| 6 | Period 6 |
| 7 | Period 7 |
| 8 | Period 8 |
| 9 | Period 9 |
| 10 | Period 10 |
| 11 | Period 11 |
| 12 | Period 12 |
| 99 | After 31 July 2009 |
DETAILED DEFINITION
6. If the Learning Actual End Date (A31) or Date Ended ESF Co-Financing (E10) of the aim occurs during the period, then that period is determined to be the period that the aim ended in.
Leave Period Sample Code
1. The following SPSS code is provided to illustrate the Leave Period data definition.
A_LEAVEP
2. The following table shows the steps required to derive A_LEAVEP
| Step | Condition | Action/Action if true | Action if false |
|---|
| 1 | Is A31< 1 Aug Current Academic year | Set A_LEAVEP to -99 | Go to 2 |
| 2 | Is A31> 31 Jul Current Academic year + 1 | Set A_LEAVEP to 99 | Go to 3 |
| 3 | Is the month of A31 = Aug | Set A_ LEAVEP to 1 | Go to 4 |
| 4 | Is the month of A31 = Sep | Set A_ LEAVEP to 2 | Go to 5 |
| 5 | Is the month of A31 = Oct | Set A_ LEAVEP to 3 | Go to 6 |
| 6 | Is the month of A31 = Nov | Set A_ LEAVEP to 4 | Go to 7 |
| 7 | Is the month of A31 = Dec | Set A_ LEAVEP to 5 | Go to 8 |
| 8 | Is the month of A31 = Jan | Set A_ LEAVEP to 6 | Go to 9 |
| 9 | Is the month of A31 = Feb | Set A_ LEAVEP to 7 | Go to 10 |
| 10 | Is the month of A31 = Mar | Set A_ LEAVEP to 8 | Go to 11 |
| 11 | Is the month of A31 = Apr | Set A_ LEAVEP to 9 | Go to 12 |
| 12 | Is the month of A31 = May | Set A_ LEAVEP to 10 | Go to 13 |
| 13 | Is the month of A31 = Jun | Set A_ LEAVEP to 11 | Go to 14 |
| 14 | Is the month of A31 = Jul | Set A_ LEAVEP to 12 | Go to 15 |
| 15 | Else | Set A_ LEAVEP to 50 | |
| Step | Condition | Action/Action if true | Action if false |
|---|
| 1 | Does A_ LEAVEP contain a value | None | Set A_ LEAVEP = -1 |
3. The following SPSS code illustrates how to derive A_LEAVEP.
GET FILE=’……….Aims dataset’. DO IF XDATE.YEAR(A31)=current academic year. IF XDATE.MON(A31)=8 A_LEAVEP=1. IF XDATE.MON(A31)=9 A_LEAVEP=2. IF XDATE.MON(A31)=10 A_LEAVEP=3. IF XDATE.MON(A31)=11 A_LEAVEP=4. IF XDATE.MON(A31)=12 A_LEAVEP=5. ELSE IF XDATE.YEAR(A31)=current academic year+1. IF XDATE.MON(A31)=1 A_LEAVEP=6. IF XDATE.MON(A31)=2 A_LEAVEP=7. IF XDATE.MON(A31)=3 A_LEAVEP=8. IF XDATE.MON(A31)=4 A_LEAVEP=9. IF XDATE.MON(A31)=5 A_LEAVEP=10. IF XDATE.MON(A31)=6 A_LEAVEP=11. IF XDATE.MON(A31)=7 A_LEAVEP=12. END IF. IF MISSING(A31) A_LEAVEP=50. IF A31<DATE.DMY(1,8,current academic year) A_LEAVEP=-99. IF A31>DATE.DMY(31,7,current academic year+1) A_LEAVEP=99. VARIABLE LABELS A_LEAVEP "A_LEAVEP Period Left in" VALUE LABELS A_LEAVEP -99 "Before 1 August current academic year" 1 "Period 1" 2 "Period 2" 3 "Period 3" 4 "Period 4" 5 "Period 5" 6 "Period 6" 7 "Period 7" 8 "Period 8" 9 "Period 9" 10 "Period 10" 11 "Period 11" 12 "Period 12" 50 "Continuing" 99 "After 31 July current academic year". |
E_LEAVEP
4. The following table shows the steps required to derive E_LEAVEP
| Step | Condition | Action/Action if true | Action if false |
|---|
| 1 | Is E10< 1 Aug Current Academic year | Set E_LEAVEP to -99 | Go to 2 |
| 2 | Is E10> 31 Jul Current Academic year + 1 | Set E_LEAVEP to 99 | Go to 3 |
| 3 | Is the month of E10 = Aug | Set E_ LEAVEP to 1 | Go to 4 |
| 4 | Is the month of E10 = Sep | Set E_ LEAVEP to 2 | Go to 5 |
| 5 | Is the month of E10 = Oct | Set E_ LEAVEP to 3 | Go to 6 |
| 6 | Is the month of E10 = Nov | Set E_ LEAVEP to 4 | Go to 7 |
| 7 | Is the month of E10 = Dec | Set E_ LEAVEP to 5 | Go to 8 |
| 8 | Is the month of E10 = Jan | Set E_ LEAVEP to 6 | Go to 9 |
| 9 | Is the month of E10 = Feb | Set E_ LEAVEP to 7 | Go to 10 |
| 10 | Is the month of E10 = Mar | Set E_ LEAVEP to 8 | Go to 11 |
| 11 | Is the month of E10 = Apr | Set E_ LEAVEP to 9 | Go to 12 |
| 12 | Is the month of E10 = May | Set E_ LEAVEP to 10 | Go to 13 |
| 13 | Is the month of E10 = Jun | Set E_ LEAVEP to 11 | Go to 14 |
| 14 | Is the month of E10 = Jul | Set E_ LEAVEP to 12 | Go to 15 |
| 15 | Else | Set E_ LEAVEP to 50 | |
| Step | Condition | Action/Action if true | Action if false |
|---|
| 1 | Does E_LEAVEP contain a value | None | Set E_LEAVEP = -1 |
5. The following SPSS code illustrates how to derive A_LEAVEP, E_LEAVEP.
GET FILE=’……….Aims dataset’. DO IF XDATE.YEAR(E10)=current academic year. IF XDATE.MON(E10)=8 E_LEAVEP=1. IF XDATE.MON(E10)=9 E_LEAVEP=2. IF XDATE.MON(E10)=10 E_LEAVEP=3. IF XDATE.MON(E10)=11 E_LEAVEP=4. IF XDATE.MON(E10)=12 E_LEAVEP=5. ELSE IF XDATE.YEAR(E10)=current academic year+1. IF XDATE.MON(E10)=1 E_LEAVEP=6. IF XDATE.MON(E10)=2 E_LEAVEP=7. IF XDATE.MON(E10)=3 E_LEAVEP=8. IF XDATE.MON(E10)=4 E_LEAVEP=9. IF XDATE.MON(E10)=5 E_LEAVEP=10. IF XDATE.MON(E10)=6 E_LEAVEP=11. IF XDATE.MON(E10)=7 E_LEAVEP=12. END IF. IF MISSING(E10) E_LEAVEP=50. IF E10<date.DMY(1,8,current academic year) E_LEAVEP=-99. IF E10>DATE.DMY(31,7,current academic year+1) E_LEAVEP=99. VARIABLE LABELS E_LEAVEP "E_LEAVEP Period Left in" VALUE LABELS E_LEAVEP -99 "Before 1 August current academic year" 1 "Period 1" 2 "Period 2" 3 "Period 3" 4 "Period 4" 5 "Period 5" 6 "Period 6" 7 "Period 7" 8 "Period 8" 9 "Period 9" 10 "Period 10" 11 "Period 11" 12 "Period 12" 50 "Continuing" 99 "After 31 July current academic year". |
Date last modified: 19th January 2009