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.

598 FREQUENCIES<br />

STATISTICS subcommand: mean, median, mode, standard deviation, variance, skewness,<br />

kurtosis, and sum.<br />

Plots. Histograms can be specified for numeric variables on the HISTOGRAM subcommand.<br />

Bar charts can be specified for numeric or string variables on the BARCHART subcommand.<br />

Input Data. On the GROUPED subcommand, you can indicate whether the input data are<br />

grouped (or collapsed) so that a better estimate can be made of percentiles.<br />

Basic Specification<br />

The basic specification is the VARIABLES subcommand and the name of at least one variable.<br />

By default, FREQUENCIES produces a Frequency table.<br />

Subcommand Order<br />

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

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

• You can specify multiple NTILES subcommands.<br />

• BARCHART and HISTOGRAM are mutually exclusive.<br />

• You can specify numeric variables (with or without decimal values) or string variables.<br />

Only the short-string portion of long string variables are tabulated.<br />

• Keyword ALL can be used on VARIABLES to refer to all user-defined variables in the<br />

working data file.<br />

Operations<br />

• Variables are tabulated in the order they are mentioned on the VARIABLES subcommand.<br />

• If a requested ntile or percentile cannot be calculated, a period (.) is displayed.<br />

• FREQUENCIES dynamically builds the table, setting up one cell for each unique value<br />

encountered in the data.<br />

Limitations<br />

Example<br />

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

• Maximum of 32,767 observed values over all variables.<br />

FREQUENCIES VAR=RACE /STATISTICS=ALL.

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

Saved successfully!

Ooh no, something went wrong!