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.

464 DESCRIPTIVES<br />

Example<br />

DESCRIPTIVES VARIABLES=ALL<br />

/SAVE.<br />

• SAVE creates a z-score variable for all variables in the working file. All z-score variables<br />

receive the default name.<br />

Example<br />

DESCRIPTIVES VARIABLES=NTCSAL NTCPUR (PURCHZ) NTCPRI (PRICEZ)<br />

/SAVE.<br />

• DESCRIPTIVES creates three z-score variables named ZNTCSAL (the default name),<br />

PURCHZ, and PRICEZ.<br />

Example<br />

DESCRIPTIVES VARIABLES=SALARY86 SALARY87 SALARY88<br />

/SAVE.<br />

• In this example, the default naming convention would produce duplicate names. Thus, the<br />

names of the three z-score variables are ZSALARY8, ZSC001, and ZSC002.<br />

STATISTICS Subcommand<br />

By default, DESCRIPTIVES displays the mean, standard deviation, minimum, and maximum.<br />

Use the STATISTICS subcommand to request other statistics.<br />

• When you use STATISTICS, DESCRIPTIVES displays only those statistics you request.<br />

• The keyword ALL obtains all statistics.<br />

• You can specify the keyword DEFAULT to obtain the default statistics without having to<br />

name MEAN, STDDEV, MIN, and MAX.<br />

• The median and mode, which are available in FREQUENCIES and EXAMINE, are not available<br />

in DESCRIPTIVES. These statistics require that values be sorted, and DESCRIPTIVES<br />

does not sort values (the SORT subcommand does not sort values, it simply lists variables<br />

in the order you request).<br />

• If you request a statistic that is not available, DESCRIPTIVES issues an error message and<br />

the command is not executed.<br />

MEAN Mean.<br />

SEMEAN Standard error of the mean.<br />

STDDEV Standard deviation.<br />

VARIANCE Variance.<br />

KURTOSIS Kurtosis and standard error of kurtosis.<br />

SKEWNESS Skewness and standard error of skewness.<br />

RANGE Range.<br />

MIN Minimum observed value.

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

Saved successfully!

Ooh no, something went wrong!