If your variables imp90 - imp98 are in order, just specify
/TABLES imp90 to imp98 by gender2 ...
If they are not in order name them separately as in
/TABLES imp90 imp91...
-----Original Message-----
From: SPSSX(r) Discussion [mailto:
[hidden email]] On Behalf Of
Keval Khichadia
Sent: Friday, June 06, 2008 11:43 AM
To:
[hidden email]
Subject: loop function
Hi,
I would like to have this procedure run 8 times, once each for variables
(imp90 - imp98). Is there a loop or macro that can do this?
CROSSTABS
/TABLES=imp90 BY gender2 ageNew Ethnic2 CurEnr2 CurLoad2 CurrGPANew employ2
currres2 resclass2 disab2 choice2
/FORMAT= AVALUE TABLES
/CELLS= COUNT COLUMN
/COUNT ROUND CELL .
logistic regression imp90 with gender2 ageNew Ethnic2 CurEnr2 .
Thanks,
Keval
=======
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD