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.

752 IGRAPH<br />

REFLINE Subcommand<br />

The REFLINE subcommand inserts a reference line for the specified variable at the specified<br />

value. Optional keywords are:<br />

LABEL={ON|OFF} Display a label for the reference line. For variables with defined value<br />

labels, the value label for the specified value is displayed. If there is no<br />

defined value label for the specified value, the specified value is<br />

displayed.<br />

SPIKE={ON|OFF} Display spikes from the reference line to individual data points.<br />

Example<br />

IGRAPH<br />

/X1 = VAR(gender) TYPE = CATEGORICAL<br />

/Y = VAR(salary) TYPE = SCALE<br />

/BAR(MEAN)<br />

/REFLINE salary 30000 LABEL=ON.<br />

SPIKE Subcommand<br />

The SPIKE subcommand inserts spikes from individual data points to the specified location.<br />

Keywords for location include:<br />

X1 Display spikes to the X1 axis.<br />

X2 Display spikes to the X2 axis.<br />

Y Display spikes to the Y axis.<br />

CORNER Display spikes to the corner defined by the lowest displayed values of<br />

the X1, X2, and Y axes.<br />

ORIGIN Display spikes to the origin. The origin is the point defined by the 0<br />

values for the X1, X2, and Y axes.<br />

FLOOR Display spikes to the “floor” defined by the X1 and X2 axes.<br />

CENTROID Display spikes to the point defined by the mean values of the X1, X2,<br />

and Y variables. CENTROID=TOTAL displays spikes to the overall mean.<br />

CENTROID=MEFFECT displays spikes to subgroup means defined by<br />

color and/or style variables.<br />

Example:<br />

IGRAPH<br />

/X1 = VAR(salbegin) TYPE = SCALE<br />

/Y = VAR(salary) TYPE = SCALE<br />

/COLOR = VAR(gender) TYPE = CATEGORICAL<br />

/SPIKE CENTROID=MEFFECT.

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

Saved successfully!

Ooh no, something went wrong!