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.

ERRORBAR Subcommand<br />

GRAPH 707<br />

ERRORBAR creates either a simple or a clustered error bar chart, depending on the variable<br />

specification on the subcommand. A simple error bar chart is defined by one numeric variable<br />

with or without a BY variable or a variable list. A clustered error bar chart is defined by<br />

one numeric variable with two BY variables or a variable list with a BY variable (see Figure<br />

40 to Figure 43).<br />

Error bar charts can display confidence intervals, standard deviations, or standard errors of<br />

the mean. To specify the statistics to be displayed, one of the following keywords is required:<br />

CI value Display confidence intervals for mean. You can specify a confidence level<br />

between 50 and 99.9. The default is 95.<br />

STERROR n Display standard errors of mean. You can specify any positive number for n.<br />

The default is 2.<br />

STDDEV n Display standard deviations. You can specify any positive number for n. The<br />

default is 2.<br />

Figure 40 ERRORBAR=SALNOW BY SEXRACE<br />

Specification: var by var<br />

Legend title: none<br />

Legend labels: none<br />

y-axis title: display + var label<br />

y-axis labels: value scale<br />

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

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

CI(95) is the default. Error bars can also display standard errors of the mean or standard deviations<br />

if you specify the appropriate keyword in the parentheses.<br />

Figure 41 ERRORBAR=FRINGE SALBEG SALNOW<br />

Specification: varlist<br />

Legend title: none<br />

Legend labels: none<br />

y-axis title: displayed statistics<br />

y-axis labels: value scale<br />

x-axis title: none<br />

x-axis labels: var labels<br />

CI(95) is the default. Error bars can also display standard errors of the mean or standard<br />

deviations if you specify the appropriate keyword in the parentheses. Numbers of valid cases<br />

for each variable are displayed.

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

Saved successfully!

Ooh no, something went wrong!