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.

1372 REGRESSION: Residuals<br />

are RESID, DRESID, SRESID, and SDRESID. The specification of any temporary<br />

variable other than these will result in an error. When requested, RESID<br />

is standardized and DRESID is Studentized in the output.<br />

tempvars Display the values of these variables next to the casewise list entry for each<br />

case. The default variables are DEPENDENT (the dependent variable), PRED,<br />

and RESID. Any of the other temporary variables can be specified. If an ID<br />

variable is specified on RESIDUALS, the ID variable is also listed.<br />

Example<br />

/CASEWISE=DEFAULT ALL SRE MAH COOK SDR<br />

• This example requests a Casewise Diagnostics table of the standardized residuals for all<br />

cases.<br />

• ZRESID, the dependent variable, and the temporary variables PRED, RESID, SRESID,<br />

MAHAL, COOK, and SDRESID are for all cases.<br />

SCATTERPLOT Subcommand<br />

SCATTERPLOT names pairs of variables for scatterplots.<br />

• The minimum specification for SCATTERPLOT is a pair of variables in parentheses. There<br />

are no default specifications.<br />

• You can specify as many pairs of variables in parentheses as you want.<br />

• The first variable named in each set of parentheses is plotted along the vertical axis, and<br />

the second variable is plotted along the horizontal axis.<br />

• Plotting symbols are used to represent multiple points occurring at the same position.<br />

• You can specify any variable named on the VARIABLES subcommand.<br />

• You can specify PRED, RESID, ZPRED, ZRESID, DRESID, ADJPRED, SRESID, SDRESID,<br />

SEPRED, MAHAL, COOK, and LEVER. The specification of any other temporary variables<br />

will result in an error.<br />

• Specify an asterisk before temporary variable names to distinguish them from userdefined<br />

variables. For example, use *PRED to specify PRED.<br />

Example<br />

/SCATTERPLOT (*RES,*PRE)(*RES,SAVINGS)<br />

• This example specifies two scatterplots: residuals against predicted values and residuals<br />

against the values of the variable SAVINGS.<br />

PARTIALPLOT Subcommand<br />

PARTIALPLOT requests partial regression plots. Partial regression plots are scatterplots of the<br />

residuals of the dependent variable and an independent variable when both of these variables<br />

are regressed on the rest of the independent variables.

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

Saved successfully!

Ooh no, something went wrong!