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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example<br />

FREQUENCIES 599<br />

• FREQUENCIES requests a Frequency table and a Statistics table showing all statistics for<br />

the categorical variable RACE.<br />

FREQUENCIES STATISTICS=ALL /HISTOGRAM<br />

/VARIABLES=SEX TVHOURS SCALE1 TO SCALE5<br />

/FORMAT=NOTABLE.<br />

• FREQUENCIES requests statistics and histograms for SEX, TVHOURS, and all variables<br />

between and including SCALE1 and SCALE5 in the working data file.<br />

• FORMAT suppresses the Frequency tables, which are not useful for continuous variables.<br />

VARIABLES Subcommand<br />

VARIABLES names the variables to be tabulated and is the only required subcommand. The<br />

actual keyword VARIABLES can be omitted.<br />

FORMAT Subcommand<br />

FORMAT controls various features of the output, including order of categories and suppression<br />

of tables.<br />

• The minimum specification is a single keyword.<br />

• By default, FREQUENCIES displays the Frequency table and sort categories in ascending<br />

order of values for numeric variables and in alphabetical order for string variables.<br />

Table Order<br />

AVALUE Sort categories in ascending order of values (numeric variables) or in alphabetical<br />

order (string variables). This is the default.<br />

DVALUE Sort categories in descending order of values (numeric variables) or in reverse<br />

alphabetical order (string variables). This is ignored when HISTOGRAM,<br />

NTILES, or PERCENTILES is requested.<br />

AFREQ Sort categories in ascending order of frequency. This is ignored when<br />

HISTOGRAM, NTILES, or PERCENTILES is requested.<br />

DFREQ Sort categories in descending order of frequency. This is ignored when<br />

HISTOGRAM, NTILES, or PERCENTILES is requested.<br />

Table Suppression<br />

LIMIT(n) Suppress frequency tables with more than n categories. The number of missing<br />

and valid cases and requested statistics are displayed for suppressed tables.

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

Saved successfully!

Ooh no, something went wrong!