variable list. If a character
variable is included in ;
your data list it should be followed
by a $ and a space, ;
then the name of the next variable.
All character ;
variables will be ignored in the
data check program. ;
All variable names should be TYPED
IN UPPER CASE. ;
;
4. You will need to change the lines of
SAS code after the ;
data limits statement to correspond
to the variables ;
and ranges for each numeric variable
in main dataset. ;
All variable names should be TYPED
IN UPPER CASE. Do ;
not include CASEID in the list of
variables after ;
the data limits
statement.
;
;
***;
options pagesize=65;
data main;
infile 'a:main.dat';
EDIT THE NEXT LINE (see 2.
above) ;
input CASEID 1–3 CLASS 4 SET 5 ATTB1 6
ATTB2 7 ATTB3 8 ATTB4 9
SELFC1 10 SELFC2 11 SELFC3 12
SELFC4 13 SCORE 14–15;
data limits;
EDIT THE NEXT FEW LINES (see 3.
above) ;
input vname $ min max;
cards;
CLASS 1 9
SET 1 6
ATTB1 1 5
ATTB2 1 5
ATTB3 1 5
ATTB4 1 5
SELFC1 1 5
SELFC2 1 5
Appendix 351