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.

4 Universals<br />

subcommand (MISSING) is not specified. If a default is not followed by **, it is in effect<br />

when the subcommand (or keyword) is specified by itself.<br />

Figure 1 <strong>Syntax</strong> diagram<br />

Independent samples:<br />

Keywords (in all upper case)<br />

T-TEST GROUPS=varname ({1,2** }) /VARIABLES=varlist<br />

{value }<br />

{value,value}<br />

User specification (in lower case)<br />

Default (in bold)<br />

[/MISSING={ANALYSIS**} [INCLUDE]]<br />

{LISTWISE }<br />

Alternatives (in aligned { })<br />

[/FORMAT={LABELS**}]<br />

{NOLABELS}<br />

Optional specification (in [ ])<br />

Paired samples:<br />

T-TEST PAIRS=varlist [WITH varlist [(PAIRED)]] [/varlist ...]<br />

Repeatable elements (with ...)<br />

[/MISSING={ANALYSIS**} [INCLUDE]]<br />

{LISTWISE }<br />

Parentheses (cannot be omitted)<br />

[/FORMAT={LABELS**}]<br />

{NOLABELS}<br />

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

• Parentheses, apostrophes, and quotation marks are required where indicated.<br />

• Elements enclosed in square brackets ([ ]) are optional. Wherever brackets would confuse<br />

the format, they are omitted. The command description explains which specifications are<br />

required and which are optional.<br />

• Braces ({ }) indicate a choice between elements. You can specify any one of the elements<br />

enclosed within the aligned braces.<br />

• Ellipses indicate that you can repeat an element in the specification. The specification<br />

T-TEST PAIRS=varlist [WITH varlist [(PAIRED)]] [/varlist ...]<br />

means that you can specify multiple variable lists with optional WITH variables and the<br />

keyword PAIRED in parentheses.<br />

• Most abbreviations are obvious; for example, varname stands for variable name and varlist<br />

stands for a variable list.<br />

• The command terminator is not shown in the syntax diagram.<br />

<strong>Command</strong> Specification<br />

Note<br />

Subgrouping (in italics)<br />

The following rules apply to all commands:<br />

• <strong>Command</strong>s begin with a keyword that is the name of the command and often have<br />

additional specifications, such as subcommands and user specifications. Refer to the<br />

discussion of each command to see which subcommands and additional specifications are<br />

required.<br />

• <strong>Command</strong>s and any command specifications can be entered in upper and lower case.<br />

<strong>Command</strong>s, subcommands, keywords, and variable names are translated to upper case

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

Saved successfully!

Ooh no, something went wrong!