27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1558 SURVIVAL<br />

• Record type 31 is a continuation of record type 30.<br />

• As many type-30 and type-31 record pairs are output for a table as it has lines (this number<br />

is noted in columns 57–60 of the type-10 record for the table).<br />

Table 5 Record type 40, produced by both keywords TABLES and BOTH<br />

Columns Content Format<br />

1–2 Record type (40) F2.0<br />

• Type-40 records indicate the completion of the series of records for one life table.<br />

Record Order<br />

The SURVIVAL output file contains records for each of the life tables specified on the TABLES<br />

subcommand. All records for a given table are produced together in sequence. The records<br />

for the life tables are produced in the same order as the tables themselves. All life tables for<br />

the first survival variable are written first. The values of the first- and second-order control<br />

variables rotate, with the values of the first-order controls changing more rapidly.<br />

Example<br />

PROCEDURE OUTPUT OUTFILE = SURVTBL.<br />

SURVIVAL TABLES = MOSFREE BY TREATMNT(1,3)<br />

/STATUS = PRISON (1) FOR MOSFREE<br />

/INTERVAL = THRU 24 BY 3<br />

/WRITE = BOTH.<br />

• WRITE generates a procedure output file called SURVTBL, containing life tables, variable<br />

names and labels, and value labels stored as record types 10, 20, 30, 31, and 40.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!