Format (SURVIVAL command)
WRITE
writes
five types of records. The keyword TABLES
writes record types 30, 31, and 40. The keyword BOTH
writes record types 10, 20, 30, 31,
and 40. The format of each record type is described in the following
tables.
Columns | Content | Format |
---|---|---|
1–2 | Record type (10) | F2.0 |
3–7 | Table number | F5.0 |
8-47 | Variable label of survival variable | A40 |
48 | Number of BY ’s (0, 1, or 2) |
F1.0 |
49-52 | Number of rows in current survival table | F4.0 |
53-116 | Name of survival variable | A64 |
- One type-10 record is produced for each life table.
- Column 48 specifies the number of orders of control variables (0, 1, or 2) that have been applied to the life table.
- Columns 49-52 specify the number of rows in the life table. This number is the number of
intervals in the analysis that show subjects entering; intervals in which no subjects enter are not
noted in the life tables.
Table 2. Record type 20, produced by keyword BOTH Columns Content Format 1–2 Record type (20) F2.0 3–7 Table number F5.0 8-47 Variable label of control variable A40 48-52 Value of control variable F5.0 53-72 Value label for this value A20 73-136 Name of control variable A64 - One type-20 record is produced for each control variable in each life table.
- If only first-order controls have been placed in
the survival analysis, one type-20 record will be produced for each
table. If second-order controls have also been applied, two type-20
records will be produced per table.
Table 3. Record type 30, produced by both keywords TABLES and BOTH Columns Content Format 1–2 Record type (30) F2.0 3–7 Table number F5.0 8–13 Beginning of interval F6.2 14–21 Number entering interval F8.2 22–29 Number withdrawn in interval F8.2 30–37 Number exposed to risk F8.2 38–45 Number of terminal events F8.2 - Information on record type 30 continues on record
type 31. Each pair of type-30 and type-31 records contains the information
from one line of the life table.
Table 4. Record type 31, continuation of record type 30 Columns Content Format 1–2 Record type (31) F2.0 3–7 Table number F5.0 8–15 Proportion terminating F8.6 16–23 Proportion surviving F8.6 24–31 Cumulative proportion surviving F8.6 32–39 Probability density F8.6 40–47 Hazard rate F8.6 48–54 S.E. of cumulative proportion surviving F7.4 55–61 S.E. of probability density F7.4 62–68 S.E. of hazard rate F7.4 - Record type 31 is a continuation of record type 30.
- As many type-30 and type-31 record pairs are output
for a table as it has lines (this number is noted in columns 57–60
of the type-10 record for the table).
Table 5. Record type 40, produced by both keywords TABLES and BOTH Columns Content Format 1–2 Record type (40) F2.0 - Type-40 records indicate the completion of the series of records for one life table.