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.

Figure 49 /SCATTERPLOT(XYZ)=JOBCAT WITH SALARY WITH EDLEVEL BY SEX BY ID (NAME)<br />

HISTOGRAM Subcommand<br />

GRAPH 711<br />

Specification:<br />

xvar WITH yvar WITH zvar [BY var] [BY var(NAME)]<br />

Legend title: 1st BY var label<br />

Legend labels: 1st BY var value labels<br />

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

x-axis title: xvar label<br />

y-axis title: yvar label<br />

z-axis title: zvar label<br />

*3-D scatterplots allow both marker variable and label variable specifications.<br />

HISTOGRAM creates a histogram (see Figure 50 and Figure 51).<br />

• Only one variable can be specified on this subcommand.<br />

• GRAPH divides the values of the variable into several evenly spaced intervals and produces<br />

a bar chart showing the number of times the values for the variable fall within each interval.<br />

• You can request a normal distribution line by specifying the keyword NORMAL in parentheses<br />

(see Figure 51).<br />

Figure 50 /HISTOGRAM=RATIO<br />

Specification: var<br />

y-axis title: none<br />

y-axis label: number of valid cases<br />

x-axis title: var label<br />

x-axis label: scaled values<br />

The standard deviation, mean, and number of valid cases are displayed.

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

Saved successfully!

Ooh no, something went wrong!