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.

LOGISTIC REGRESSION 815<br />

• Assigned variable names must be unique in the working data file. Scratch or system variable<br />

names (that is, names that begin with # or $) cannot be used.<br />

• A temporary variable can be saved only once on the same SAVE subcommand.<br />

Example<br />

LOGISTIC REGRESSION PROMOTED WITH JOBTIME AGE<br />

/SAVE PRED (PREDPRO) DFBETA (DF).<br />

• A logistic regression analysis of PROMOTED on the independent variables JOBTIME and<br />

AGE is performed.<br />

• SAVE adds four variables to the working data file: one variable named PREDPRO,<br />

containing the predicted value from the specified model for each case, and three variables<br />

named DF0, DF1, and DF2, containing, respectively, the DFBETA values for each case of<br />

the constant, the independent variable JOBTIME, and the independent variable AGE.<br />

EXTERNAL Subcommand<br />

EXTERNAL indicates that the data for each split-file group should be held in an external<br />

scratch file during processing. This can help conserve memory resources when running complex<br />

analyses or analyses with large data sets.<br />

• The keyword EXTERNAL is the only specification.<br />

• Specifying EXTERNAL may result in slightly longer processing time.<br />

• If EXTERNAL is not specified, all data are held internally and no scratch file is written.<br />

<strong>Reference</strong>s<br />

Agresti, A. 1990. Categorical data analysis. New York: John Wiley and Sons.<br />

Aldrich, J. H., and F. D. Nelson. 1984. Linear probability, logit, and probit models. Beverly<br />

Hills, Calif.: Sage Publications.<br />

Finn, J. D. 1974. A general model for multivariate analysis. New York: Holt, Rinehart and<br />

Winston.<br />

Fox, J. 1984. Linear statistical models and related methods: With applications to social<br />

research. New York: John Wiley and Sons.<br />

Hosmer, D. W., and S. Lemeshow. 1989. Applied logistic regression. New York: John Wiley<br />

and Sons.<br />

Kirk, R. E. 1982. Experimental design. 2nd ed. Monterey, Calif.: Brooks/Cole.<br />

McCullagh, P., and J. A. Nelder. 1989. Generalized linear models. 2nd ed. London:<br />

Chapman and Hall.

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

Saved successfully!

Ooh no, something went wrong!