Franchised Aim 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 pseudo code and SPSS code is provided to illustrate the Franchised Aim data definition.
L_FRANCH
2 The following table shows the steps required to derive L_FRANCH.
Step | Condition | Action if true | Action if false |
1 | Is A_LIVE_B>1 | Go to 2 | |
2 | Do any A21<>99 | Set L_FRANCH to 1 | Set L_FRANCH to 0 |
3 The following SPSS code illustrates how to derive L_FRANCH.
GET FILE ‘……….AIMS datasert’. COMPUTE A_FRANCH=0. IF A21<>99 A_FRANCH=1. AGGREGATE OUTFILE * /BREAK=L01 L03 /L_FRANCH=MAX(A_FRANCH). |
Last Modified: 21 Dec 05