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.

PROCEDURE OUTPUT<br />

PROCEDURE OUTPUT OUTFILE=file<br />

Example<br />

PROCEDURE OUTPUT OUTFILE=CELLDATA.<br />

CROSSTABS VARIABLES=FEAR SEX (1,2)<br />

/TABLES=FEAR BY SEX<br />

/WRITE=ALL.<br />

Overview<br />

PROCEDURE OUTPUT specifies the files to which CROSSTABS and SURVIVAL (included in<br />

the SPSS Advanced Models option) can write procedure output. PROCEDURE OUTPUT has<br />

no other applications.<br />

Basic Specification<br />

The only specification is OUTFILE and the file specification. PROCEDURE OUTPUT must<br />

precede the command to which it applies.<br />

Operations<br />

Example<br />

<strong>Command</strong>s with the WRITE subcommand or keyword write to the output file specified on<br />

the most recent PROCEDURE OUTPUT command. If only one output file has been specified,<br />

the output from the last such procedure overwrites all previous ones.<br />

PROCEDURE OUTPUT OUTFILE=CELLDATA.<br />

CROSSTABS VARIABLES=FEAR SEX (1,2)<br />

/TABLES=FEAR BY SEX<br />

/WRITE=ALL.<br />

• PROCEDURE OUTPUT precedes CROSSTABS and specifies CELLDATA as the file to<br />

receive the cell frequencies.<br />

• The WRITE subcommand on CROSSTABS is required for writing cell frequencies to a<br />

procedure output file.<br />

1273

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

Saved successfully!

Ooh no, something went wrong!