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.

LIST<br />

LIST [[VARIABLES=]{ALL** }] [/FORMAT=[{WRAP**}] [{UNNUMBERED**}]]<br />

{varlist} {SINGLE} {NUMBERED }<br />

[/CASES=[FROM {1**}] [TO {eof**}] [BY {1**}]]<br />

{n } {n } {n }<br />

**Default if the subcommand is omitted.<br />

Example<br />

LIST VARIABLES=V1 V2 /CASES=FROM 10 TO 100 BY 2.<br />

Overview<br />

Options<br />

LIST displays case values for variables in the working data file. The output is similar to the<br />

output produced by the PRINT command. However, LIST is a procedure and reads data,<br />

whereas PRINT is a transformation and requires a procedure (or the EXECUTE command) to<br />

execute it.<br />

Selecting and Ordering Variables. You can specify a list of variables to be listed using the<br />

VARIABLES subcommand.<br />

Format. You can limit each case listing to a single line, and you can display the case number<br />

for each listed case with the FORMAT subcommand.<br />

Selecting Cases. You can limit the listing to a particular sequence of cases using the CASES<br />

subcommand.<br />

Basic Specification<br />

• The basic specification is simply LIST, which displays the values for all variables in the<br />

working data file.<br />

• By default, cases wrap to multiple lines if all the values do not fit within the page width<br />

(the page width is determined by the SET WIDTH command). Case numbers are not<br />

displayed for the listed cases.<br />

Subcommand Order<br />

All subcommands are optional and can be named in any order.<br />

798

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

Saved successfully!

Ooh no, something went wrong!