Record Order (SURVIVAL command)
The SURVIVAL
output file contains records for each of the life tables specified
on the TABLE
subcommand. All
records for a given table are produced together in sequence. The records
for the life tables are produced in the same order as the tables themselves.
All life tables for the first survival variable are written first.
The values of the first- and second-order control variables rotate,
with the values of the first-order controls changing more rapidly.
Example
PROCEDURE OUTPUT OUTFILE = SURVTBL.
SURVIVAL TABLE = MOSFREE BY TREATMNT(1,3)
/STATUS = PRISON (1) FOR MOSFREE
/INTERVAL = THRU 24 BY 3
/WRITE = BOTH.
-
WRITE
generates a procedure output file called SURVTBL, containing life tables, variable names and labels, and value labels stored as record types 10, 20, 30, 31, and 40.