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.

GRAPH 695<br />

Figure 9 /BAR(STACKED)=COUNT BY JOBCAT BY SEX<br />

Specification: count_function BY var1 BY var2<br />

or: sum_function(var) BY var1 BY var2<br />

Legend title: 2nd BY var label<br />

Legend labels: 2nd BY var value labels<br />

y-axis title: fn name [+fn var label]<br />

y-axis labels: fn value scale<br />

x-axis title: 1st BY var label<br />

x-axis labels: 1st BY var value labels<br />

Each bar represents one subcategory defined by the two category variables. The bars are<br />

stacked within each category defined by the first category variable.<br />

Figure 10 /BAR(STACKED)=SUM(THEFT AUTO BURGLARY) BY YEAR<br />

Specification: sum_function (varlist) BY var<br />

Legend title: none<br />

Legend labels: fn var labels<br />

y-axis title: fn name<br />

y-axis labels: fn value scale<br />

x-axis title: BY var label<br />

x-axis labels: BY var value labels<br />

Each bar represents the function value of one variable broken down into categories. Bars<br />

within each category are stacked.<br />

Figure 11 /BAR(STACKED)=VALUE(SALNOW FRINGE) BY ID<br />

Specification: value_function(varlist)[BY var]<br />

Legend title: none<br />

Legend labels: var labels<br />

y-axis title: fn name<br />

y-axis labels: fn value scale<br />

x-axis title: BY var label<br />

x-axis labels: BY var value labels<br />

Each bar shows the value of each variable for the indicated case. If no BY variable is specified,<br />

the x axis is labeled by case numbers and its title is Case Number.

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

Saved successfully!

Ooh no, something went wrong!