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.

600 FREQUENCIES<br />

NOTABLE Suppress all frequency tables. The number of missing and valid cases are<br />

displayed for suppressed tables. NOTABLE overrides LIMIT.<br />

BARCHART Subcommand<br />

BARCHART produces a bar chart for each variable named on the VARIABLES subcommand.<br />

By default, the horizontal axis for each bar chart is scaled in frequencies, and the interval<br />

width is determined by the largest frequency count for the variable being plotted. Bar charts<br />

are labeled with value labels or with the value if no label is defined.<br />

• The minimum specification is the BARCHART keyword, which generates default bar charts.<br />

• BARCHART cannot be used with HISTOGRAM.<br />

MIN(n) Lower bound below which values are not plotted.<br />

MAX(n) Upper bound above which values are not plotted.<br />

FREQ(n) Vertical axis scaled in frequencies, where optional n is the maximum. If n is<br />

not specified or if it is too small, FREQUENCIES chooses 5, 10, 20, 50, 100,<br />

200, 500, 1000, 2000, and so forth, depending on the largest category. This<br />

is the default.<br />

PERCENT(n) Vertical axis scaled in percentages, where optional n is the maximum. If n is<br />

not specified or if it is too small, FREQUENCIES chooses 5, 10, 25, 50, or<br />

100, depending on the frequency count for the largest category.<br />

Example<br />

FREQUENCIES VAR=RACE /BARCHART.<br />

• FREQUENCIES produces a frequency table and the default bar chart for variable RACE.<br />

Example<br />

FREQUENCIES VAR=V1 V2 /BAR=MAX(10).<br />

• FREQUENCIES produces a frequency table and bar chart with values through 10 for each<br />

of variables V1 and V2.<br />

PIECHART Subcommand<br />

PIECHART produces a pie chart for each variable named on the VARIABLES subcommand. By<br />

default, one slice corresponds to each category defined by the variable with one slice representing<br />

all missing values. Pie charts are labeled with value labels or with the value if no label<br />

is defined.<br />

• The minimum specification is the PIECHART keyword, which generates default pie charts.<br />

• PIECHART can be requested together with either BARCHART or HISTOGRAM.<br />

• FREQ and PERCENT are mutually exclusive. If both are specified, only the first specification<br />

is in effect.

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

Saved successfully!

Ooh no, something went wrong!