08.04.2017 Views

syntaxreference

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EMMEANS Subcommand . . . . . . . . . 2028<br />

SAVE Subcommand . . . . . . . . . . . 2029<br />

OUTFILE Subcommand . . . . . . . . . 2029<br />

DESIGN Subcommand . . . . . . . . . . 2030<br />

UPDATE . . . . . . . . . . . . . 2031<br />

Overview . . . . . . . . . . . . . . 2031<br />

Examples . . . . . . . . . . . . . . 2033<br />

FILE Subcommand . . . . . . . . . . . 2033<br />

Text Data Files . . . . . . . . . . . 2034<br />

BY Subcommand . . . . . . . . . . . . 2034<br />

RENAME Subcommand . . . . . . . . . 2034<br />

DROP and KEEP Subcommands . . . . . . 2035<br />

IN Subcommand . . . . . . . . . . . . 2035<br />

MAP Subcommand . . . . . . . . . . . 2036<br />

USE . . . . . . . . . . . . . . . 2037<br />

Overview . . . . . . . . . . . . . . 2037<br />

Syntax Rules . . . . . . . . . . . . . 2037<br />

DATE Specifications . . . . . . . . . . 2038<br />

Case Specifications . . . . . . . . . . 2038<br />

Keywords FIRST and LAST . . . . . . . 2038<br />

PERMANENT Subcommand . . . . . . . . 2038<br />

Examples . . . . . . . . . . . . . . 2038<br />

VALIDATEDATA . . . . . . . . . . 2039<br />

Overview . . . . . . . . . . . . . . 2039<br />

Examples . . . . . . . . . . . . . . 2041<br />

Variable Lists . . . . . . . . . . . . . 2042<br />

VARCHECKS Subcommand . . . . . . . . 2043<br />

IDCHECKS Subcommand . . . . . . . . . 2044<br />

CASECHECKS Subcommand. . . . . . . . 2044<br />

RULESUMMARIES Subcommand . . . . . . 2044<br />

CASEREPORT Subcommand . . . . . . . . 2045<br />

SAVE Subcommand . . . . . . . . . . . 2045<br />

Defining Validation Rules . . . . . . . . . 2046<br />

Single-Variable Validation Rules . . . . . . 2046<br />

Cross-Variable Validation Rules . . . . . . 2047<br />

VALUE LABELS . . . . . . . . . . 2049<br />

Overview . . . . . . . . . . . . . . 2049<br />

Examples . . . . . . . . . . . . . . 2050<br />

VARCOMP . . . . . . . . . . . . 2053<br />

Overview . . . . . . . . . . . . . . 2053<br />

Example. . . . . . . . . . . . . . . 2054<br />

Variable List . . . . . . . . . . . . . 2054<br />

RANDOM Subcommand . . . . . . . . . 2054<br />

METHOD Subcommand . . . . . . . . . 2055<br />

INTERCEPT Subcommand . . . . . . . . 2055<br />

MISSING Subcommand . . . . . . . . . 2055<br />

REGWGT Subcommand . . . . . . . . . 2056<br />

CRITERIA Subcommand . . . . . . . . . 2056<br />

PRINT Subcommand . . . . . . . . . . 2056<br />

OUTFILE Subcommand . . . . . . . . . 2057<br />

DESIGN Subcommand . . . . . . . . . . 2057<br />

VARIABLE ALIGNMENT . . . . . . 2059<br />

Overview . . . . . . . . . . . . . . 2059<br />

VARIABLE ATTRIBUTE . . . . . . . 2061<br />

Overview . . . . . . . . . . . . . . 2061<br />

Example. . . . . . . . . . . . . . . 2062<br />

VARIABLE LABELS . . . . . . . . 2063<br />

Overview . . . . . . . . . . . . . . 2063<br />

Examples . . . . . . . . . . . . . . 2064<br />

VARIABLE LEVEL . . . . . . . . . 2065<br />

Overview . . . . . . . . . . . . . . 2065<br />

VARIABLE ROLE . . . . . . . . . 2067<br />

Overview . . . . . . . . . . . . . . 2067<br />

VARIABLE WIDTH . . . . . . . . . 2069<br />

Overview . . . . . . . . . . . . . . 2069<br />

VARSTOCASES . . . . . . . . . . 2071<br />

Overview . . . . . . . . . . . . . . 2071<br />

Example. . . . . . . . . . . . . . . 2072<br />

MAKE Subcommand . . . . . . . . . . 2073<br />

ID Subcommand . . . . . . . . . . . . 2073<br />

INDEX Subcommand . . . . . . . . . . 2073<br />

Simple Numeric Index . . . . . . . . . 2073<br />

Variable Name Index . . . . . . . . . 2074<br />

Multiple Numeric Indices . . . . . . . . 2074<br />

NULL Subcommand . . . . . . . . . . 2075<br />

COUNT Subcommand . . . . . . . . . . 2075<br />

DROP and KEEP Subcommands . . . . . . 2075<br />

VECTOR . . . . . . . . . . . . . 2077<br />

Overview . . . . . . . . . . . . . . 2077<br />

Examples . . . . . . . . . . . . . . 2078<br />

VECTOR: Short Form . . . . . . . . . . 2079<br />

VECTOR outside a Loop Structure . . . . . . 2080<br />

VERIFY . . . . . . . . . . . . . 2083<br />

Overview . . . . . . . . . . . . . . 2083<br />

VARIABLES Subcommand . . . . . . . . 2083<br />

Examples . . . . . . . . . . . . . . 2084<br />

WEIGHT . . . . . . . . . . . . . 2085<br />

Overview . . . . . . . . . . . . . . 2085<br />

Examples . . . . . . . . . . . . . . 2086<br />

WLS. . . . . . . . . . . . . . . 2087<br />

Overview . . . . . . . . . . . . . . 2087<br />

Example. . . . . . . . . . . . . . . 2088<br />

VARIABLES Subcommand . . . . . . . . 2089<br />

SOURCE Subcommand. . . . . . . . . . 2089<br />

DELTA Subcommand . . . . . . . . . . 2089<br />

WEIGHT Subcommand . . . . . . . . . 2090<br />

CONSTANT and NOCONSTANT Subcommands 2090<br />

SAVE Subcommand . . . . . . . . . . . 2090<br />

PRINT Subcommand . . . . . . . . . . 2090<br />

APPLY Subcommand . . . . . . . . . . 2090<br />

xxx<br />

IBM SPSS Statistics 23 Command Syntax Reference

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

Saved successfully!

Ooh no, something went wrong!