Eligible For Additional Learner Support 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 Sample Code The following pseudo code and SPSS code is provided to illustrate the Eligible for Additional Learner Support data definition.
L_ADDSUP
2 The following table shows the steps required to derive L_ADDSUP.
|
Step
|
Condition
|
Action if true
|
Action if false
|
|
1
|
Is L_MODE_B>=2
|
Go to 2
|
Go to 3
|
|
2
|
Is L31>170
|
Set L_ADDSUP to 1
|
Set L_ADDSUP to 0
|
|
3
|
Does L_MODE_B=1
|
Go to 4
|
Go to 5
|
|
4
|
Is L31>501
|
Set L_ADDSUP to 1
|
Set L_ADDSUP to 0
|
|
5
|
Does L31=0
|
Set L_ADDSUP to 0
|
|
3 The following SPSS code illustrates how to derive L_ADDSUP.
|
COMPUTE L_ADDSUP=0. IF L_MODE_B>=2 AND L31>170 L_ADDSUP=1. IF L_MODE_B=1 AND L31>501 L_ADDSUP=1. VARIABLE LABELS L_ADDSUP DV - 1/0 flag to indicate if the learner is eligible for learner support or not’. VALUE LABELS L_ADDSUP 0 ‘Not eligible for Additional Support’ 1 ‘Eligible for Additional Support’
|
Last Modified: 21 Dec 05