* I want to perform a logistic regression ten times for ten different variables without having to copy * and paste the syntax nine times. * Solution posted by rlevesque@videotron.ca to newsgroup on 2001/05/10. GET FILE='c:\\program files\\spss\\employee data.sav'. * Define macro to do the job. */////////////////////////. DEFINE !logist(dv=!TOKENS(1) /iv=!CMDEND) LOGISTIC REGRESSION VAR=!dv /METHOD=ENTER !iv /CRITERIA PIN(.05) POUT(.10) ITERATE(20) CUT(.5) . !ENDDEFINE. */////////////////////////. * Do logistic regression of gender using salary and educ. !logist dv=gender iv=salary educ. * Do logistic regression of minority using salary and jobcat. !logist dv=gender iv=salary educ.