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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1556 SURVIVAL<br />

WRITE Subcommand<br />

Format<br />

WRITE writes data in the survival tables to a file. This file can be used for further analyses or<br />

to produce graphics displays.<br />

• When WRITE is omitted, the default is NONE. No output file is created.<br />

• When WRITE is used, a PROCEDURE OUTPUT command must precede the SURVIVAL<br />

command. The OUTFILE subcommand on PROCEDURE OUTPUT specifies the output file.<br />

• When WRITE is specified without a keyword, the default is TABLES.<br />

NONE Do not write procedure output to a file. This is the default when WRITE is omitted.<br />

TABLES Write survival-table data records. All survival-table statistics are written to a file.<br />

BOTH Write out survival-table data and label records. Variable names, variable labels,<br />

and value labels are written out along with the survival table statistics.<br />

WRITE writes five types of records. The keyword TABLES writes record types 30, 31, and 40.<br />

The keyword BOTH writes record types 10, 20, 30, 31, and 40. The format of each record<br />

type is described in Table 1 through Table 5.<br />

Table 1 Record type 10, produced only by keyword BOTH<br />

Columns Content Format<br />

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

3–7 Table number F5.0<br />

8–15 Name of survival variable A8<br />

16–55 Variable label of survival variable A40<br />

56 Number of BY’s (0, 1, or 2) F1.0<br />

57–60 Number of rows in current survival table F4.0<br />

• One type-10 record is produced for each life table.<br />

• Column 56 specifies the number of orders of control variables (0, 1, or 2) that have been<br />

applied to the life table.<br />

• Columns 57–60 specify the number of rows in the life table. This number is the number<br />

of intervals in the analysis that show subjects entering; intervals in which no subjects<br />

enter are not noted in the life tables.

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

Saved successfully!

Ooh no, something went wrong!