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.

Universals<br />

This part of the SPSS <strong>Syntax</strong> <strong>Reference</strong> Guide discusses general topics pertinent to using<br />

command syntax. The topics are divided into five sections:<br />

• <strong>Command</strong>s explains command syntax, including command specification, command order,<br />

and running commands in different modes. In this section, you will learn how to<br />

read syntax charts, which summarize command syntax in diagrams and provide an easy<br />

reference. Discussions of individual commands are found in an alphabetical reference in<br />

the next part of this manual.<br />

• Files discusses different types of files used by the program. Terms frequently mentioned<br />

in this manual are defined. This section provides an overview of how files are handled.<br />

• Variables contains important information on general rules and conventions concerning<br />

variables and variable definition. In this section, you will find detailed information on<br />

variable formats.<br />

• Transformation Expressions describes expressions that can be used in data transformation.<br />

Functions and operators are defined and illustrated. In this section, you will find a<br />

complete list of available functions and how to use them.<br />

• Date and Time deals with functions and formats used with date and time expressions. In<br />

this section, you will find ways to read and convert date and time, use them in analysis,<br />

and display them in output.<br />

<strong>Command</strong>s<br />

<strong>Command</strong>s are the instructions that you give the program to initiate an action. For the program<br />

to interpret your commands correctly, you must follow certain rules.<br />

<strong>Syntax</strong> Diagrams<br />

Each command described in this manual includes a syntax diagram that shows all the subcommands,<br />

keywords, and specifications allowed for that command. By recognizing symbols<br />

and different type fonts, you can use the syntax diagram as a quick reference for any<br />

command. Figure 1 is an example.<br />

• Lines of text in italics indicate limitation or operation mode of the command.<br />

• Elements shown in upper case are keywords defined by SPSS to identify commands,<br />

subcommands, functions, operators, and other specifications. In Figure 1, T-TEST is the<br />

command and GROUPS is a subcommand.<br />

• Elements in lower case describe specifications you supply. For example, varlist indicates<br />

that you need to supply a list of variables.<br />

• Elements in bold are defaults. SPSS supports two types of defaults. When the default is<br />

followed by **, as ANALYSIS** is in Figure 1, the default (ANALYSIS) is in effect if the<br />

3

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

Saved successfully!

Ooh no, something went wrong!