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.

1084 NPAR TESTS<br />

Options<br />

Statistical Display. In addition to the tests, you can request univariate statistics, quartiles, and<br />

counts for all variables specified on the command. You can also control the pairing of<br />

variables in tests for two related samples.<br />

Random Sampling. NPAR TESTS must store cases in memory when computing tests that use<br />

ranks. You can use random sampling when there is not enough space to store all cases.<br />

Basic Specification<br />

The basic specification is a single test subcommand and a list of variables to be tested. Some<br />

tests require additional specifications. CHISQUARE has an optional subcommand.<br />

Subcommand Order<br />

Subcommands can be used in any order.<br />

<strong>Syntax</strong> Rules<br />

• The STATISTICS, SAMPLE, and MISSING subcommands are optional. Each can be specified<br />

only once per NPAR TESTS command.<br />

• You can request any or all tests, and you can specify a test subcommand more than once<br />

on a single NPAR TESTS command.<br />

• If you specify a variable more than once on a test subcommand, only the first is used.<br />

• Keyword ALL in any variable list refers to all user-defined variables in the working data<br />

file.<br />

• Keyword WITH controls pairing of variables in two-related-samples tests.<br />

• Keyword BY introduces the grouping variable in two- and k-independent-samples tests.<br />

• Keyword PAIRED can be used with keyword WITH on the MCNEMAR, SIGN, and WILCOXON<br />

subcommands to obtain sequential pairing of variables for two related samples.<br />

Operations<br />

• If a string variable is specified on any subcommand, NPAR TESTS will stop executing.<br />

• When ALL is used, requests for tests of variables with themselves are ignored and a<br />

warning is displayed.<br />

Limitations<br />

• Maximum 100 subcommands.<br />

• Maximum 500 variables total per NPAR TESTS command.<br />

• Maximum 200 values for subcommand CHISQUARE.

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

Saved successfully!

Ooh no, something went wrong!